<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Job</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Job"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Job"/>
	<updated>2026-04-29T21:19:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Radeon_Video&amp;diff=18571</id>
		<title>Radeon Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Radeon_Video&amp;diff=18571"/>
		<updated>2021-01-15T09:34:02Z</updated>

		<summary type="html">&lt;p&gt;Job: Undo revision 18570 by Job (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
The following instructions are for modern AMD GPU chipsets covered by the radeon driver.&lt;br /&gt;
&lt;br /&gt;
== Setup Xorg/udev ==&lt;br /&gt;
&lt;br /&gt;
# Run the &amp;lt;code&amp;gt;[[Alpine setup scripts#setup-xorg-base|setup-xorg-base]]&amp;lt;/code&amp;gt; script.&lt;br /&gt;
# Install the Xorg AMD video drivers: {{Cmd|# apk add xf86-video-ati}}&lt;br /&gt;
# For newer devices, use: {{Cmd|# apk add xf86-video-amdgpu}}&lt;br /&gt;
# Install the AMD firmware files if they are not already installed: {{Cmd|# apk add linux-firmware-amdgpu}}&lt;br /&gt;
# Enable [[#Kernel Modesetting (KMS)]]. Specifically, the &amp;lt;code&amp;gt;fbcon&amp;lt;/code&amp;gt; module is necessary, or leaving Xorg (via &amp;lt;code&amp;gt;Ctrl+Alt+F1&amp;lt;/code&amp;gt; or quitting) will result in a black screen until the machine is power cycled. If you have already launch Xorg and don&#039;t want to experience this effect, you can &amp;lt;code&amp;gt;modprobe fbcon&amp;lt;/code&amp;gt; while Xorg is running.&lt;br /&gt;
&lt;br /&gt;
== Kernel Modesetting (KMS) ==&lt;br /&gt;
&lt;br /&gt;
To enable [[KMS]] at boot:&lt;br /&gt;
# Add the &amp;lt;code&amp;gt;radeon&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;amdgpu&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;fbcon&amp;lt;/code&amp;gt; modules to {{Path|/etc/modules}}: {{Cmd|$ echo radeon &amp;gt;&amp;gt; /etc/modules&amp;lt;br /&amp;gt;$ echo fbcon &amp;gt;&amp;gt; /etc/modules}} or {{Cmd|$ echo amdgpu &amp;gt;&amp;gt; /etc/modules&amp;lt;br /&amp;gt;$ echo fbcon &amp;gt;&amp;gt; /etc/modules}}&lt;br /&gt;
# Install &amp;lt;code&amp;gt;mkinitfs&amp;lt;/code&amp;gt;: {{Cmd|apk add mkinitfs}}&lt;br /&gt;
# Enable the &amp;lt;code&amp;gt;kms&amp;lt;/code&amp;gt; feature in the &amp;lt;code&amp;gt;mkinitfs&amp;lt;/code&amp;gt; configuration by adding it to the &amp;lt;var&amp;gt;features&amp;lt;/var&amp;gt; variable, e.g., {{cat|/etc/mkinitfs/mkinitfs.conf|features{{=}}&amp;quot;keymap cryptsetup kms ata base ide scsi usb virtio ext4&amp;quot;}}&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mkinitfs&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Reboot to test the configuration.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Fixing MESA-LOADER errors===&lt;br /&gt;
{{Obsolete|Alpine no longer ships with the &#039;&#039;linux-hardened&#039;&#039; kernel}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;linux-hardened&#039;&#039; 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.&lt;br /&gt;
&lt;br /&gt;
See https://bugs.alpinelinux.org/issues/7265&lt;br /&gt;
&lt;br /&gt;
Either switch to the &#039;&#039;linux-vanilla&#039;&#039; package or apply the &#039;&#039;&#039;grsec_sysfs_restrict=0&#039;&#039;&#039; kernel parameter to allow normal users to access hardware acceleration on the desktop.&lt;br /&gt;
&lt;br /&gt;
=== Fixing a frozen X11 when invoking startx ===&lt;br /&gt;
&lt;br /&gt;
You may need to set the AccelMethod to exa not glamor which is the default for the driver.&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/X11/xorg.conf|&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Option      &amp;quot;AccelMethod&amp;quot;        	&amp;quot;exa&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
	BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
  EndSection}}&lt;br /&gt;
 &lt;br /&gt;
= =&lt;br /&gt;
* [https://wiki.archlinux.org/index.php/ATI archlinux.org / ATI]&lt;br /&gt;
* [https://wiki.archlinux.org/index.php/Xorg archlinux.org / Xorg]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;/div&gt;</summary>
		<author><name>Job</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Radeon_Video&amp;diff=18570</id>
		<title>Radeon Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Radeon_Video&amp;diff=18570"/>
		<updated>2021-01-14T21:17:56Z</updated>

		<summary type="html">&lt;p&gt;Job: Installing the package `linux-firmware-amdgpu` removes all the other drivers.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
The following instructions are for modern AMD GPU chipsets covered by the radeon driver.&lt;br /&gt;
&lt;br /&gt;
== Setup Xorg/udev ==&lt;br /&gt;
&lt;br /&gt;
# Run the &amp;lt;code&amp;gt;[[Alpine setup scripts#setup-xorg-base|setup-xorg-base]]&amp;lt;/code&amp;gt; script.&lt;br /&gt;
# Install the Xorg AMD video drivers: {{Cmd|# apk add xf86-video-ati}}&lt;br /&gt;
# For newer devices, use: {{Cmd|# apk add xf86-video-amdgpu}}&lt;br /&gt;
# Enable [[#Kernel Modesetting (KMS)]]. Specifically, the &amp;lt;code&amp;gt;fbcon&amp;lt;/code&amp;gt; module is necessary, or leaving Xorg (via &amp;lt;code&amp;gt;Ctrl+Alt+F1&amp;lt;/code&amp;gt; or quitting) will result in a black screen until the machine is power cycled. If you have already launch Xorg and don&#039;t want to experience this effect, you can &amp;lt;code&amp;gt;modprobe fbcon&amp;lt;/code&amp;gt; while Xorg is running.&lt;br /&gt;
&lt;br /&gt;
== Kernel Modesetting (KMS) ==&lt;br /&gt;
&lt;br /&gt;
To enable [[KMS]] at boot:&lt;br /&gt;
# Add the &amp;lt;code&amp;gt;radeon&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;amdgpu&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;fbcon&amp;lt;/code&amp;gt; modules to {{Path|/etc/modules}}: {{Cmd|$ echo radeon &amp;gt;&amp;gt; /etc/modules&amp;lt;br /&amp;gt;$ echo fbcon &amp;gt;&amp;gt; /etc/modules}} or {{Cmd|$ echo amdgpu &amp;gt;&amp;gt; /etc/modules&amp;lt;br /&amp;gt;$ echo fbcon &amp;gt;&amp;gt; /etc/modules}}&lt;br /&gt;
# Install &amp;lt;code&amp;gt;mkinitfs&amp;lt;/code&amp;gt;: {{Cmd|apk add mkinitfs}}&lt;br /&gt;
# Enable the &amp;lt;code&amp;gt;kms&amp;lt;/code&amp;gt; feature in the &amp;lt;code&amp;gt;mkinitfs&amp;lt;/code&amp;gt; configuration by adding it to the &amp;lt;var&amp;gt;features&amp;lt;/var&amp;gt; variable, e.g., {{cat|/etc/mkinitfs/mkinitfs.conf|features{{=}}&amp;quot;keymap cryptsetup kms ata base ide scsi usb virtio ext4&amp;quot;}}&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mkinitfs&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Reboot to test the configuration.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Fixing MESA-LOADER errors===&lt;br /&gt;
{{Obsolete|Alpine no longer ships with the &#039;&#039;linux-hardened&#039;&#039; kernel}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;linux-hardened&#039;&#039; 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.&lt;br /&gt;
&lt;br /&gt;
See https://bugs.alpinelinux.org/issues/7265&lt;br /&gt;
&lt;br /&gt;
Either switch to the &#039;&#039;linux-vanilla&#039;&#039; package or apply the &#039;&#039;&#039;grsec_sysfs_restrict=0&#039;&#039;&#039; kernel parameter to allow normal users to access hardware acceleration on the desktop.&lt;br /&gt;
&lt;br /&gt;
=== Fixing a frozen X11 when invoking startx ===&lt;br /&gt;
&lt;br /&gt;
You may need to set the AccelMethod to exa not glamor which is the default for the driver.&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/X11/xorg.conf|&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Option      &amp;quot;AccelMethod&amp;quot;        	&amp;quot;exa&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
	BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
  EndSection}}&lt;br /&gt;
 &lt;br /&gt;
= =&lt;br /&gt;
* [https://wiki.archlinux.org/index.php/ATI archlinux.org / ATI]&lt;br /&gt;
* [https://wiki.archlinux.org/index.php/Xorg archlinux.org / Xorg]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;/div&gt;</summary>
		<author><name>Job</name></author>
	</entry>
</feed>