Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:xorg-xvesa [2010/06/20 16:25] – cleaned intro seawolf | en:guides:xorg-xvesa [2010/09/12 13:49] (current) – linea | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Xorg & XVesa ====== | ====== Xorg & XVesa ====== | ||
| - | By default, SliTaz v3 uses Xorg 7.4 with the // | + | By default, SliTaz v3 uses Xorg 7.4 with the // |
| * check that you have enough RAM to run the default ISO. If not, use the [[http:// | * check that you have enough RAM to run the default ISO. If not, use the [[http:// | ||
| Line 23: | Line 23: | ||
| ===== Using Xorg & Vendor-Specific Drivers ===== | ===== Using Xorg & Vendor-Specific Drivers ===== | ||
| - | When you are using SliTaz as your daily OS, it's recommended to setup your default xorg video driver. You will get a much better | + | When you are using SliTaz as your main system, it's recommended to use Xorg over XVesa. You will get a much better |
| - | **If you have a AGP-Videocard** | ||
| - | Check with " | + | === AGP Cards === |
| + | |||
| + | All AGP video cards need extra kernel modules to function under Xorg. Check if you have an AGP video card with //lspci//; if so, install the necessary modules in the // | ||
| < | < | ||
| # tazpkg get-install linux-agp | # tazpkg get-install linux-agp | ||
| - | </ | + | </ |
| + | |||
| + | Load the modules | ||
| < | < | ||
| - | Then normally, you just run as root: | + | You can now use the SliTaz X configuration tool to detect your settings: |
| + | |||
| + | < | ||
| - | < | + | Select the appropriate driver for your video card from the list. |
| - | - but sometimes this is not enough. | ||
| - | **DRI / DRM Problem** | + | === DRI / DRM Problem |
| - | [[http:// | + | Sometimes, the auto-detection is not enough. Cards that require |
| < | < | ||
| Line 50: | Line 56: | ||
| # addgroup tux video | # addgroup tux video | ||
| </ | </ | ||
| - | The module | + | |
| + | The //drm// module | ||
| < | < | ||
| - | **Load | + | <note tip> |
| - | Please note that all modules, which are loaded by tazhw and yourself to make your changes permanent, have to be added to the SliTaz Control Box under Initialization in "Load modules" | ||
| - | **Change your xorg.conf** | + | === Intel cards === |
| - | Normally X will start, 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. | + | The xorg-xf86-video-vesa 2.0.0 driver has a lot of trouble with Intel chips. For example, on a 82945GM chipset it does not display 1280x1024 |
| - | **Restart | + | Use " |
| - | Use the normal shutdown button and select on SliTaz Desktop logout | + | Some users may need to add the " |
| - | Check the / | + | < |
| - | < | + | Section " |
| + | | ||
| + | Load " | ||
| + | ... | ||
| + | EndSection | ||
| + | </file> | ||
| + | for the driver to work. | ||
| - | === Intel cards === | + | Depending on the hardware, the // |
| - | The xorg-xf86-video-vesa 2.0.0 driver has a lot of trouble with intel chips - e.g. on my 82945GM Chipset it does not display 1280x1024 and 1024x768, but 1600x1200 is not a problem. | + | * // |
| + | * //i810.modeset=0// | ||
| + | * //i915.modeset=0// | ||
| - | Use " | + | If mode-setting is off by default and should instead be turned on, append one of the following: |
| - | Some users may need to add the " | + | * //modeset// |
| - | < | + | |
| - | ... | + | |
| - | Load " | + | |
| - | EndSection< | + | |
| - | for the driver to work. | + | |
| === Trident cards === | === Trident cards === | ||
| Line 86: | Line 97: | ||
| Use " | Use " | ||
| < | < | ||
| + | |||
| === nVidia cards === | === nVidia cards === | ||
| - | Slitaz provides automatic configuration for nvidia cards. | ||
| - | For free nvidia drivers, do: | ||
| - | < | ||
| - | For non-free nvidia | + | SliTaz provides automatic configuration for nVidia cards. There are two drivers |
| - | < | + | \\ |
| - | **To setup non-free nvidia manually:** | + | == Free Driver (nv) == |
| - | First download: mesa mesa-demos linux-agp | + | To set-up the free nVidia drivers, use the SliTaz Hardware Configuration tool: |
| - | < | + | < |
| + | |||
| + | Alternatively, | ||
| + | * Download the following packages: | ||
| + | * | ||
| + | < | ||
| # tazpkg get-install mesa | # tazpkg get-install mesa | ||
| # tazpkg get-install mesa-demos | # tazpkg get-install mesa-demos | ||
| # tazpkg get-install linux-agp</ | # tazpkg get-install linux-agp</ | ||
| - | Load modules | + | |
| + | * Load the kernel | ||
| < | < | ||
| - | To configure nvidia automatically | ||
| - | < | ||
| - | To test if rendering is working | ||
| - | < | ||
| - | To change nvidia settings | ||
| - | < | ||
| - | For no logo at bootup, add the following to xorg.conf | + | * Replace |
| - | < | + | < |
| </ | </ | ||
| - | **To setup free nvidia | + | == Non-Free Driver (nvidia) == |
| - | First download: mesa mesa-demos linux-agp | + | To set-up the non-free nVidia drivers, use the SliTaz Hardware Configuration tool with the // |
| - | < | + | < |
| + | |||
| + | Alternatively, | ||
| + | * Download the following packages: | ||
| + | * | ||
| + | < | ||
| # tazpkg get-install mesa | # tazpkg get-install mesa | ||
| # tazpkg get-install mesa-demos | # tazpkg get-install mesa-demos | ||
| # tazpkg get-install linux-agp</ | # tazpkg get-install linux-agp</ | ||
| - | Load modules | + | |
| + | * Load the kernel | ||
| < | < | ||
| - | Replace vesa with nv | + | |
| - | < | + | * Attempt to configure the card with nVidia' |
| - | </code> | + | < |
| + | * To test if rendering is working, | ||
| + | < | ||
| + | * To change nVidia' | ||
| + | < | ||
| + | |||
| + | == Hiding the Logo == | ||
| + | To hide the nVidia logo when the system boots, add the following to /// | ||
| + | < | ||
| === ATI cards === | === ATI cards === | ||
| - | For free ati drivers | + | SliTaz provides automatic configuration for ATI cards. There are two drivers |
| - | < | + | \\ |
| - | tazpkg get-install linux-drm | + | |
| - | tazhw setup ati</code> | + | |
| - | - but perhaps this is not enough - check / | + | == Free Driver (radeon) == |
| - | For non-free ati catalyst | + | To set-up the free ATI drivers, |
| - | < | + | |
| - | **To setup free ati manually:** | + | < |
| + | # tazpkg get-install linux-drm | ||
| + | # tazhw setup ati</ | ||
| - | First download: xorg-xf86-video-ati mesa-dri-ati mesa-demos linux-agp | + | - but perhaps this is not enough - check / |
| + | |||
| + | Alternatively, | ||
| + | * Download the following packages: | ||
| + | * | ||
| < | < | ||
| # tazpkg get-install mesa-dri-ati | # tazpkg get-install mesa-dri-ati | ||
| Line 148: | Line 175: | ||
| # tazpkg get-install linux-agp | # tazpkg get-install linux-agp | ||
| # tazpkg get-install linux-drm</ | # tazpkg get-install linux-drm</ | ||
| - | Load modules | + | |
| + | * Load the kernel | ||
| < | < | ||
| - | The free ati driver | + | |
| - | < | + | * To install the free ATI driver radeon, replace |
| - | </ | + | < |
| + | |||
| + | |||
| + | == Non-Free Driver (catalyst) == | ||
| + | |||
| + | To set-up the non-free ATI drivers, use the SliTaz Hardware Configuration tool with the // | ||
| + | < | ||
| + | |||
| + | |||
| + | === Modifying the Xorg Configuration === | ||
| + | |||
| + | Normally Xorg will start successfully, | ||
| ===== Configuring X ===== | ===== Configuring X ===== | ||
| - | This is how we can get a 1024x768 resolution: if your display is stuck at a low resolution, say 800x600, just add edit " | + | While X will do it's bets to auto-configure itself for your graphics card set-up, sometimes it needs a tweak. Its configuration file, /// |
| - | I edited the following sections in xorg.conf (/ | ||
| - | 1) Include HorizSync and VertRefresh | + | === Adding Resolutions === |
| - | <code> | + | 1. Include |
| + | |||
| + | <file> | ||
| Section " | Section " | ||
| Identifier | Identifier | ||
| Line 169: | Line 210: | ||
| VertRefresh | VertRefresh | ||
| EndSection | EndSection | ||
| - | </code> | + | </file> |
| - | + | ||
| - | 2a) In Section " | + | |
| - | <code> | + | 2. Include a // |
| + | |||
| + | <file> | ||
| Section " | Section " | ||
| Identifier " | Identifier " | ||
| Device | Device | ||
| Monitor | Monitor | ||
| - | DefaultDepth 24 | + | ** DefaultDepth 24 ** |
| - | </code> | + | </file> |
| - | 2b) In Sub-section | + | 3. Add an extra //Mode// to the line in the //Display// sub-section: |
| - | <code> | + | |
| + | <file> | ||
| | | ||
| Viewport | Viewport | ||
| Line 188: | Line 230: | ||
| Modes " | Modes " | ||
| EndSubSection | EndSubSection | ||
| - | </code> | + | </file> |
| - | 3) Also, added default | + | 4. Also, add the default Font paths in the //Files// section: |
| - | <code> | + | |
| + | <file> | ||
| Section " | Section " | ||
| ModulePath | ModulePath | ||
| Line 202: | Line 245: | ||
| FontPath | FontPath | ||
| EndSection | EndSection | ||
| - | </code> | + | </file> |
| - | You can use xrandr to identify your monitor(s) | + | * 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: |
| + | |||
| + | < | ||
| + | Section " | ||
| + | Mode 0666 | ||
| + | EndSection | ||
| + | </ | ||
| + | |||
| + | |||
| + | <note tip>You can use xrandr to identify your monitor(s). This utility is in the //xorg-xrandr// package: | ||
| < | < | ||
| + | See the [[http:// | ||
| + | </ | ||
| + | |||
| + | |||
| + | === 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:// |
| - | You can download the slitaz-3.0-xvesa.iso here: [[http:// | + | 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: | + | < |
| - | < | + | Here's a selection of resolutions for an example |
| - | Here's a selection of resolutions for my Intel Atom Board: | + | |
| < | < | ||
| Line 227: | Line 288: | ||
| 0x0115: 800x600x24 TrueColor [8: | 0x0115: 800x600x24 TrueColor [8: | ||
| - | 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 | + | If X does not start with the default SliTaz |
| Line 240: | Line 301: | ||
| |Problems| add a [[http:// | |Problems| add a [[http:// | ||
| |::: | OR add a [[http:// | |::: | OR add a [[http:// | ||
| - | |How to Improve| | + | |How to Improve| |
| - | |::: | More details or references | + | |::: | More details |
| \\ | \\ | ||
| ---- | ---- | ||