SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:guides:xorg-xvesa [2010/06/20 18:44]
seawolf added modesetting to intel section
en:guides:xorg-xvesa [2010/08/22 23:20]
linea
Line 71: Line 71:
 Some users may need to add the "​intel_agp"​ module to the xorg.conf file: Some users may need to add the "​intel_agp"​ module to the xorg.conf file:
  
-<code>+<file>
 Section "​Module"​ Section "​Module"​
         ...         ...
Line 77: Line 77:
  ...  ...
 EndSection EndSection
-</code>+</file>
  
 for the driver to work. for the driver to work.
Line 92: Line 92:
   *  //​i810.modeset=1//​   *  //​i810.modeset=1//​
   *  //​i915.modeset=1//​   *  //​i915.modeset=1//​
- 
  
 === Trident cards === === Trident cards ===
Line 121: Line 120:
 <​code>#​ nvidia-xconfig</​code>​  <​code>#​ nvidia-xconfig</​code>​
 To test if rendering is working To test if rendering is working
-<​code>​glxinfo | grep render</​code>​+<​code>​glxinfo | grep render</​code>​
 To change nvidia settings  To change nvidia settings
 <​code>#​ nvidia-settings</​code>​ <​code>#​ nvidia-settings</​code>​
  
 For no logo at bootup, add the following to xorg.conf For no logo at bootup, add the following to xorg.conf
-<code>Option "​NoLogo"​ "​True"​ +<file>Option "​NoLogo"​ "​True"​ 
-</code>+</file>
  
 **To setup free nvidia manually:** **To setup free nvidia manually:**
Line 146: Line 145:
  
 For free ati drivers (preferred),​ do: For free ati drivers (preferred),​ do:
-<​code>​tazpkg get-install linux-agp +<​code>​tazpkg get-install linux-agp 
-tazpkg get-install linux-drm +tazpkg get-install linux-drm 
-tazhw setup ati</​code>​+tazhw setup ati</​code>​
  
 - but perhaps this is not enough - check /​var/​log/​Xorg.0.log to see if other modules must be loaded: See **DRI / DRM Problem** ​ - but perhaps this is not enough - check /​var/​log/​Xorg.0.log to see if other modules must be loaded: See **DRI / DRM Problem** ​
  
 For non-free ati catalyst drivers (known to be not so good), do: For non-free ati catalyst drivers (known to be not so good), do:
-<​code>​ tazhw setup ati --non-free </​code>​+<​code>​tazhw setup ati --non-free </​code>​
  
 **To setup free ati manually:** **To setup free ati manually:**
Line 172: Line 171:
 === Modifying the Xorg Configuration === === Modifying the Xorg Configuration ===
  
-Normally Xorg will start successfully,​ but perhaps not with the correct resolution. See the tips at the end of this page or sometimes search the net for the xorg.conf for your card and your monitor - or use another LiveCD and copy the working ​conf file to SliTaz.+Normally Xorg will start successfully,​ but perhaps not with the correct resolution. See the tips at the end of this page or sometimes search the Internet ​for the xorg.conf for your card and your monitor - or use another LiveCD and copy the working ​configuration ​file to SliTaz.
  
  
 ===== Configuring X ===== ===== Configuring X =====
  
-This is how we can get a 1024x768 resolution: if your display is stuck at low resolutionsay 800x600just add edit "​Modes"​ in step 2b below.+While X will do it's bets to auto-configure itself for your graphics card set-up, sometimes it needs tweak. Its configuration file///​etc/​X11/​xorg.conf//​is the place to customise the configuration. The best example of this is switching drivers or adding resolutions it doesn'​t detect.
  
-I edited the following sections in xorg.conf (/​etc/​X11/​xorg.conf):​ 
  
-1Include HorizSync and VertRefresh ​ in section "Monitor" +=== Adding Resolutions === 
-<code>+1Include ​//HorizSync// and //VertRefresh// (refresh timings) ​in the //Monitor// section: 
 + 
 +<file>
 Section "​Monitor"​ Section "​Monitor"​
  Identifier ​  "​Monitor0"​  Identifier ​  "​Monitor0"​
Line 190: Line 190:
  VertRefresh ​ 60  VertRefresh ​ 60
 EndSection EndSection
-</code> +</file>
- +
-2a) In Section "​Screen";​ added Default Depth+
  
-<code>+2. Include a //​DefaultDepth//​ in the //Screen// section: 
 +  
 +<file>
 Section "​Screen"​ Section "​Screen"​
  Identifier "​Screen0"​  Identifier "​Screen0"​
  Device ​    "​Card0"​  Device ​    "​Card0"​
  Monitor ​   "​Monitor0"​  Monitor ​   "​Monitor0"​
- DefaultDepth 24 +** DefaultDepth 24 ** 
-</code>+</file> 
 + 
 +3. Add an extra //Mode// to the line in the //Display// sub-section:​
  
-2b) In Sub-section Display: added "​Modes"​ +<file>
-<code>+
    ​SubSection "​Display"​    ​SubSection "​Display"​
  Viewport ​  0 0  Viewport ​  0 0
Line 209: Line 210:
  Modes   "​1024x768"​ "​800x600"​  Modes   "​1024x768"​ "​800x600"​
  EndSubSection  EndSubSection
-</code>+</file> 
 + 
 +4. Also, add the default Font paths in the //Files// section:
  
-3) Also, added default Slitaz Font path in Section Files +<file>
-<code>+
 Section "​Files"​ Section "​Files"​
  ModulePath ​  "/​usr/​lib/​X11/​modules"​  ModulePath ​  "/​usr/​lib/​X11/​modules"​
Line 223: Line 225:
  FontPath ​    "/​usr/​share/​fonts/​truetype/​ttf-dejavu"​  FontPath ​    "/​usr/​share/​fonts/​truetype/​ttf-dejavu"​
 EndSection EndSection
-</code>+</file>
  
-You can use xrandr to identify your monitor(s) ​[[http://wiki.debian.org/XStrikeForce/HowToRandR12|Debian RandR 1.2 Wiki]]+  *  If you have DRI/DRM enabled, it may be easier to change its permission so all users can use it, rather than adding each to the //video// group. Append the following section: 
 + 
 +<​file>​ 
 +Section "​DRI"​ 
 +        Mode 0666 
 +EndSection 
 +</​file>​ 
 + 
 + 
 +<note tip>You can use xrandr to identify your monitor(s). This utility is in the //xorg-xrandr// package:
  
 <​code>#​ tazpkg get-install xorg-xrandr</​code>​ <​code>#​ tazpkg get-install xorg-xrandr</​code>​
  
 +See the [[http://​wiki.debian.org/​XStrikeForce/​HowToRandR12|Debian RandR 1.2 Wiki]] for more information.
 +</​note>​
 +
 +
 +=== Restarting Xorg ===
 +
 +For changes to take effect, you need to restart Xorg. This can be done by logging out of your session and back in again. Choose //Logout// from the Menu and select the //Logout X session// button. If you see the Slim log-in manager, Xorg has restarted successfully!
 +
 +
 +===== Using XVesa and Generic Drivers (TinyX) =====
  
-===== XVesa ISO (TinyX) =====+The [[http://​mirror.slitaz.org/​iso/​3.0/​flavors/​slitaz-3.0-xvesa.iso|SliTaz-3.0-xvesa.iso]] uses the XVesa system instead of Xorg, which offers a more generic driver at the cost of performance. It boots on nearly all computers and laptops, but can only display a 4:3 resolution.
  
-You can download the slitaz-3.0-xvesa.iso here[[http://​mirror.slitaz.org/​iso/​3.0/​flavors/​slitaz-3.0-xvesa.iso|SliTaz-3.0-xvesa.iso]]+To find out which resolutions are possible with your card, type:
  
-It boots on nearly all computers and laptops, but you can only display a 4:3 resolution. To find out which resolutions are possible with your card, type:+<​code>#​ Xvesa -listmodes</​code> ​
  
-<​code>​Xvesa -listmodes</​code>​  +Here's a selection of resolutions for an example ​Intel Atom Board:
-Here's a selection of resolutions for my Intel Atom Board:+
  
 <​code>​VBE version 3.0 (Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS) <​code>​VBE version 3.0 (Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS)
Line 248: Line 268:
 0x0115: 800x600x24 TrueColor [8:​8:​8:​8]</​code>​ 0x0115: 800x600x24 TrueColor [8:​8:​8:​8]</​code>​
  
-So widescreen resolutions cannot be displayed with the slitaz-3.0-xvesa.iso.+This output shows widescreen resolutions cannot be displayed with XVesa.
  
-If X does not start with the default SliTaz.iso (falls back to slim), you could use the xvesa.iso ​to install your default ​xorg driver. ​Because when you are asked for your resolution at boot, you can scroll down the window and find the possibility ​to install your xorg.driver before ​is started. ​But don't use "​tazx"​ and "tazhw setup ati or nv" on the xvesa.iso ​to install your xorg driverbecause you will end up with a black screen.+If X does not start with the default SliTaz ​ISO, you could use the XVesa ISO to install your default ​Xorg driver. ​When you are asked for your resolution at boot-time, scroll down the window and find the option ​to install your Xorg driver ​//before// XVesa is started. ​However, ​don't use "​tazx"​ and "tazhw setup ati or nv" on the XVesa ISO to install your Xorg driver because you will end up with a blank and confused ​screen!
  
  
Line 261: Line 281:
 |Problems| add a [[http://​forum.slitaz.org|forum post link]]| |Problems| add a [[http://​forum.slitaz.org|forum post link]]|
 |:::     | OR add a [[http://​labs.slitaz.org/​issues |lab issue tracker link ]]| |:::     | OR add a [[http://​labs.slitaz.org/​issues |lab issue tracker link ]]|
-|How to Improve| ​How about other xorg-cards? | +|How to Improve| ​Extra config. for other cards? | 
-|::: | More details or references ​on Xorg.conf  |+|::: | More details ​on or references ​to xorg.conf  |
  
 \\ \\
 ---- ----
 +
 
en/guides/xorg-xvesa.txt · Last modified: 2010/09/12 15:49 by linea