The following instructions are for modern AMD GPU chipsets covered by the radeon driver.
- Run the setup-xorg-base script.
- Install the Xorg AMD video drivers:
- For newer devices, use:
- Enable #Kernel Modesetting (KMS). Specifically, the
fbconmodule is necessary, or leaving Xorg (via
Ctrl+Alt+F1or quitting) will result in a black screen until the machine is power cycled. If you have already launch Xorg and don't want to experience this effect, you can
modprobe fbconwhile Xorg is running.
Kernel Modesetting (KMS)
To enable KMS at boot:
- Add the
fbconmodules to /etc/modules:
- Enable the
kmsfeature in the
mkinitfsconfiguration by adding it to the features variable, e.g.,
- Reboot to test the configuration.
Fixing MESA-LOADER errors
This material is obsolete ...
Alpine no longer ships with the linux-hardened kernel (Discuss)
The linux-hardened kernel package places restrictions on sysfs and will prevent the MESA-LOADER from working as a normal user even if added to the video group.
Either switch to the linux-vanilla package or apply the grsec_sysfs_restrict=0 kernel parameter to allow normal users to access hardware acceleration on the desktop.
Fixing a frozen X11 when invoking startx
You may need to set the AccelMethod to exa not glamor which is the default for the driver.