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/07/08 17:14]
127.0.0.1 external edit
Line 92: Line 92:
   *  //​i810.modeset=1//​   *  //​i810.modeset=1//​
   *  //​i915.modeset=1//​   *  //​i915.modeset=1//​
- 
  
 === Trident cards === === Trident cards ===
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 === 
 +1Include ​//HorizSync// and //VertRefresh// (refresh timings) ​in the //Monitor// section: 
 <​code>​ <​code>​
 Section "​Monitor"​ Section "​Monitor"​
Line 192: Line 192:
 </​code>​ </​code>​
  
-2a) In Section "Screen"; added Default Depth +2. Include a //​DefaultDepth//​ in the //Screen// section: 
 + 
 <​code>​ <​code>​
 Section "​Screen"​ Section "​Screen"​
Line 199: Line 199:
  Device ​    "​Card0"​  Device ​    "​Card0"​
  Monitor ​   "​Monitor0"​  Monitor ​   "​Monitor0"​
- DefaultDepth 24+** DefaultDepth 24 **
 </​code>​ </​code>​
  
-2b) In Sub-section ​Displayadded "​Modes"​+3. Add an extra //Mode// to the line in the //Display// sub-section: 
 <​code>​ <​code>​
    ​SubSection "​Display"​    ​SubSection "​Display"​
Line 211: Line 212:
 </​code>​ </​code>​
  
-3) Also, added default ​Slitaz ​Font path in Section ​Files+4. Also, add the default Font paths in the //Files// section: 
 <​code>​ <​code>​
 Section "​Files"​ Section "​Files"​
Line 225: Line 227:
 </​code>​ </​code>​
  
-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: 
 + 
 +<​code>​ 
 +Section "​DRI"​ 
 +        Mode 0666 
 +EndSection 
 +</​code>​ 
 + 
 + 
 +<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>​
  
-===== XVesa ISO (TinyX) ===== 
  
-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]]+=== Restarting Xorg ===
  
-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:+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) ===== 
 + 
 +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. 
 + 
 +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 my Intel Atom Board:+ 
 +Here's a selection of resolutions for an example ​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