SliTaz GNU/Linux official and community documentation wiki.
.png
Translations of this page:

This is an old revision of the document!


The # sign means that you do this command as root on your console.

The default Slitaz-3.0.iso uses xorg 7.4 with the xorg-xf86-video-vesa 2.0.0 driver. This xvesa-driver can cause quite a few problems - it can result in a very low resolution or X does not start at all (falls back to slim or to the console). There are however some more possibilities:

Note: In Xorg versions up to 7.3, the Ctrl+Alt+Backspace key combination could be used to quit the X server. To enable it in version 7.4 and later, you can type the following command from any X terminal emulator:

setxkbmap -option terminate:ctrl_alt_bksp

Good introductions to Xorg Configuration: The FreeBSD Handbook and X Configuration from Ubuntu

slitaz-xvesa.iso with tinyX Server

You can download the slitaz-3.0-xvesa.iso here: SliTaz-3.0-xvesa.iso

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:

Xvesa -listmodes

Here's a selection of resolutions for my Intel Atom Board:

VBE version 3.0 (Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS)
DAC is switchable, controller is VGA compatible, RAMDAC causes snow
Total memory: 7872 kilobytes
0x015A: 1600x1200x24 TrueColor [8:8:8:8]
0x011B: 1280x1024x24 TrueColor [8:8:8:8]
0x0118: 1024x768x24 TrueColor [8:8:8:8]
0x0112: 640x480x24 TrueColor [8:8:8:8]
0x0115: 800x600x24 TrueColor [8:8:8:8]

So widescreen resolutions cannot be displayed with the slitaz-3.0-xvesa.iso.

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 X is started. But 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 black screen.

Xorg Video Driver

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 picture than using the xvesa driver or tinyX.

If you have a AGP-Videocard

Check with “lspci” - if you find AGP, you should do this first:

# tazpkg get-install linux-agp

Then load the modules:

# tazhw detect-pci

Then normally, you just run as root:

# tazx

And install your video driver from the list.

- but sometimes this is not enough.

DRI / DRM Problem

DRI / DRM - SliTaz 3.0 has a file in a wrong place - /dev/dri should be a directory and not a file. And to get DRI working: we have to add tux to the group video:

# tazpkg get-install linux-drm
# tazpkg get-install mesa-demos (for glxinfo and glxgears)
# rm /dev/dri
# mkdir /dev/dri/
# addgroup tux video

The module drm is not loaded by tazhw, you have to do it manually:

# modprobe drm

Load modules persistently

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

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.

Restart X

Use the normal shutdown button and select on SliTaz Desktop logout the button Logout X session.

check /var/log/Xorg.0.log to see if you dont get essential (WW)- warnings or (EE) - errors. When you installed mesa-demos you can test if rendering is working

glxinfo | grep render

intel-video cards

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 1280×1024 and 1024×768, but 1600×1200 is not a problem.

Use “tazx” to select the intel driver, then “tazhw detect-pci”, solve the dri problem and load drm and restart X - normally that's it (perhaps you must change your xorg.conf).

Some users may need to add the “intel_agp” module to the xorg.conf file:

Section "Module"
        ...
	Load  "intel_agp"
EndSection

for the driver to work.

trident-video cards

Use “tazx” to select the trident driver, install mesa-dri-trident

# tazpkg get-install mesa-dri-trident

and restart X

nvidia cards

Slitaz provides automatic configuration for nvidia cards. For free nvidia drivers, do:

# tazhw setup nvidia 

For non-free nvidia drivers (supplied by NVIDIA), do:

# tazhw setup nvidia --non-free 

To setup non-free nvidia manually:

First download: mesa mesa-demos linux-agp nvidia

# tazpkg get-install nvidia
# tazpkg get-install mesa
# tazpkg get-install mesa-demos
# tazpkg get-install linux-agp

Load modules

# tazhw detect-pci

To configure nvidia automatically

# nvidia-xconfig

To test if rendering is working

glxinfo | grep render

To change nvidia settings

# nvidia-settings

For no logo at bootup, add the following to xorg.conf

Option "NoLogo" "True"

To setup free nvidia manually:

First download: mesa mesa-demos linux-agp xorg-xf86-video-nv

# tazpkg get-install xorg-xf86-video-nv
# tazpkg get-install mesa
# tazpkg get-install mesa-demos
# tazpkg get-install linux-agp

Load modules

# tazhw detect-pci

Replace vesa with nv

# sed -i 's/vesa/nv/' /etc/X11/xorg.conf

ati cards

For free ati drivers (preferred), do:

tazpkg get-install linux-agp
tazpkg get-install linux-drm
tazhw setup ati

- 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:

 tazhw setup ati --non-free 

To setup free ati manually:

First download: xorg-xf86-video-ati mesa-dri-ati mesa-demos linux-agp

# tazpkg get-install xorg-xf86-video-ati
# tazpkg get-install mesa-dri-ati
# tazpkg get-install mesa-demos
# tazpkg get-install linux-agp
# tazpkg get-install linux-drm

Load modules

# tazhw detect-pci

The free ati driver is called radeon, replace vesa with radeon

# sed -i 's/vesa/radeon/' /etc/X11/xorg.conf

Edit Xorg.conf manually

This is how we can get a 1024×768 resolution: if your display is stuck at a low resolution, say 800×600, just add edit “Modes” in step 2b below.

I edited the following sections in xorg.conf (/etc/X11/xorg.conf):

1) Include HorizSync and VertRefresh in section “Monitor”

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName	 "Monitor Model"
	HorizSync	 28-64
	VertRefresh  60
EndSection

2a) In Section “Screen”; added Default Depth

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24

2b) In Sub-section Display: added “Modes”

   SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes 	  "1024x768" "800x600"
	EndSubSection

3) Also, added default Slitaz Font path in Section Files

Section "Files"
	ModulePath   "/usr/lib/X11/modules"
	FontPath     "/usr/share/fonts/X11/misc/"
	FontPath     "/usr/share/fonts/X11/TTF/"
	FontPath     "/usr/share/fonts/X11/OTF"
	FontPath     "/usr/share/fonts/X11/Type1/"
	FontPath     "/usr/share/fonts/X11/100dpi/"
	FontPath     "/usr/share/fonts/X11/75dpi/"
	FontPath     "/usr/share/fonts/truetype/ttf-dejavu"
EndSection

You can use xrandr to identify your monitor(s) Debian RandR 1.2 Wiki

# tazpkg get-install xorg-xrandr


Page Review Section
Quality Good
Review Minor Updates
Priority Medium
Problems add a forum post link
OR add a lab issue tracker link
How to Improve How about other xorg-cards?
More details or references on Xorg.conf



 
en/guides/xorg-xvesa.1273563494.txt.gz · Last modified: 2010/07/08 17:16 (external edit)