Revision 1 of 2026-11-25 20:31 UTC by tux, the current one. Current version - History

Graphics SliTaz 5.1

Which graphics chips work on SliTaz 5.1, how the X driver is chosen, and what to do when the desktop does not show up. The Handbook says the essentials in Screen, keyboard layout and Xorg; the files of /etc/X11 are explained in Xorg.

Two drivers, and no 3D

The picture goes through two drivers:

SliTaz 5.1 has no OpenGL hardware acceleration: the desktop and videos are drawn without it, but 3D games and effects run in software, slowly. It is a known issue of 5.1, due to its old Xorg.

How the X driver is chosen

Each time the login manager starts, tazx video looks at the hardware and writes /etc/X11/xorg.conf.d/20-Video.conf:

See what was chosen, and which driver the kernel uses, as a normal user:

$ cat /etc/X11/xorg.conf.d/20-Video.conf
$ trame hardware summary
$ grep -E 'modeset\(0\)|FBDEV\(0\)|VESA\(0\)' /var/log/Xorg.0.log | head

The Graphics line of trame hardware summary names the chip and its kernel driver between brackets.

Choosing another driver

tazx video leaves the file alone when its first line is not the # Generated by tazx video at boot it writes, or when another file has a Device section. To force fbdev, for example, replace the content of 20-Video.conf, as root:

# Forced by hand: fbdev
Section "Device"
	Identifier "Video0"
	Driver "fbdev"
EndSection

Delete the file to go back to the automatic choice. Other X drivers are packaged (xorg-xf86-video-intel, -ati, -nouveau and older ones), from the time of Xorg 1.12; tazx video never chooses them and they were not tested on 5.1.

Intel

i915 drives Intel graphics from the GMA chips of the 2000s to the Iris Xe of recent laptops and the Arc A-series cards, with modesetting in X. Install firmware-i915 when the kernel says it misses a file (power saving of the screen, and the Arc cards, which need it):

$ dmesg | grep -i -E 'i915.*firmware|i915/'
# spk-add firmware-i915

The newest chips that only the xe driver knows (Intel Lunar Lake, Arc B-series) have no kernel driver on 5.1: X runs on fbdev, at the resolution the firmware set.

AMD

On a machine with an AMD chip and a black screen after the boot menu, boot with nomodeset (see below), install the firmware, reboot:

# spk-add firmware-amdgpu

NVIDIA

nouveau, the free driver, gives a picture on most GeForce cards, with modesetting in X. No SliTaz package has the NVIDIA firmware files that nouveau loads for the recent generations: on those cards the display can stay basic, or nouveau can fail. Then keep it off with the boot option nouveau.modeset=0: X runs on fbdev (UEFI) or vesa (BIOS).

There is no NVIDIA proprietary driver for SliTaz 5.1: the current ones need a newer Xorg than 1.12.4. The nvidia-173xx package of the i486 mirror is made for the Linux 3.16 kernel of Core Retro only.

Optimus and hybrid graphics

Many laptops have two chips: an Intel or AMD one built into the processor, which drives the screen, and an NVIDIA or AMD card for 3D. Xorg 1.12 cannot hand work over from one to the other (no PRIME): on SliTaz 5.1 the built-in chip does everything and the second card stays unused. tazx video names the card the firmware booted on in kmsdev, which is the built-in one.

When X still does not start on such a laptop ("Screen(s) found, but none have a usable configuration" in /var/log/Xorg.0.log), keep nouveau off with nouveau.modeset=0. Without nouveau, the NVIDIA chip may also stay powered and use more battery.

Boot options

At the boot menu, edit the entry and add the option at the end of the kernel line: in GRUB (installed systems, x86_64 ISOs), press e and go to the line that starts with linux; in the ISOLINUX menu of the i486 ISOs, press Tab. Useful options:

On an installed system, to keep an option, add it to the linux lines of /boot/grub/grub.cfg. A kernel upgrade keeps the options there.

Troubleshooting

Black screen after the boot menu: boot with nomodeset. If the desktop comes, the kernel driver is the problem: often a missing firmware, see dmesg | grep -i firmware.

The desktop does not start, a text login shows up: read the end of the X log and the messages of the login manager:

$ grep -E '\(EE\)' /var/log/Xorg.0.log
$ tail /var/log/lxtaz-dm.log

The Handbook explains how to repair a desktop that no longer starts with reprise.

Wrong resolution: with fbdev or vesa the choice is limited to what the firmware offers. With modesetting, set it with trame display, see the Handbook.