{"id":573,"date":"2018-09-03T15:55:23","date_gmt":"2018-09-03T14:55:23","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=573"},"modified":"2018-09-03T15:55:23","modified_gmt":"2018-09-03T14:55:23","slug":"archlinux-and-an-amd-gpu","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=573","title":{"rendered":"Archlinux and an AMD-GPU"},"content":{"rendered":"<p>I finally decided to get rid of my ancient nvidia graphic board and bought a Sapphire Radeon R5 230 with 2GB RAM for 46,40 \u20acuros. The vendor chose GLS as delivery service, so no tracking number. Of course it didn&#8217;t arrive at the announced day. I had to ask the vendor and eventually picked it up in a not so close boutique.<\/p>\n<p>Well, once I had it, assembly wasn&#8217;t much of a problem. Configuring X was. Took me five hours to get it right!<\/p>\n<p>First, I had to figure out which driver to use, which isn&#8217;t as easy as it seems. Turns out to be radeon, not amdgpu. Without any configuration the radeon kernel module is loaded, which is right, by the way, but X can&#8217;t figure out what driver to use. By default it uses amdgpu if installed. Well, wrong choice.<\/p>\n<p>Create a configuration with<\/p>\n<pre># X -configure<\/pre>\n<p>and change the Driver from amdgpu to radeon. Then remove the vnc module in Section &#8220;Module&#8221; and the Screens in Section &#8220;ServerLayout&#8221;. X identifies 2 Devices, one for VGA output, and one for DVI, or so I thought. Actually, the card has another output: HDMI for TV-out, which happens to be the default. Very clever! Disable it by adding this to the kernel command line:<\/p>\n<pre>video=HDMI-A-1:d<\/pre>\n<p>Now set the option ZaphodHeads to &#8220;VGA-0,DVI-0&#8221; in both device Sections. That should get you up and running. SDDM still doesn&#8217;t work, but startx will. SDDM requires some xrandr magic in Xsetup, which I haven&#8217;t figured out yet.<\/p>\n<p>Anyway, it was worth it! No more annoying delays when playing videos while writing text in LibreOffice! In total the system feels much faster now.<\/p>\n<p>You can marvel at the whole config <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/wp-content\/uploads\/2018\/09\/xorg.conf_.txt\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally decided to get rid of my ancient nvidia graphic board and bought a Sapphire Radeon R5 230 with 2GB RAM for 46,40 \u20acuros. The vendor chose GLS as delivery service, so no tracking number. Of course it didn&#8217;t arrive at the announced day. I had to ask the vendor and eventually picked it &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=573\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Archlinux and an AMD-GPU<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,13,79],"tags":[135],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-arch-linux","category-desktop","category-hardware","tag-radeon"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=573"}],"version-history":[{"count":1,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":576,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions\/576"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}