{"id":68,"date":"2011-10-22T17:01:46","date_gmt":"2011-10-22T21:01:46","guid":{"rendered":"http:\/\/www.mufljuz.com\/?p=68"},"modified":"2014-09-23T10:44:57","modified_gmt":"2014-09-23T14:44:57","slug":"ati-radeon-hd6950-2gb-on-gentoo","status":"publish","type":"post","link":"https:\/\/www.mufljuz.com\/?p=68","title":{"rendered":"ATI Radeon HD6950 2GB on gentoo"},"content":{"rendered":"<p>ATI HD6950 is a great GPU which is supposed be full supported by opensource radeon drivers. After lot of pain with opensource driver, I have installed closed source ati-drivers and the card works well. During the process I have tried to follow number of ati\/radeon\/fglrx guides. My goal was to get the card working on two monitors using single screen.<\/p>\n<p>For start tried xf86-video-ati drivers with kernel gentoo-sources-3.0.6. Initially it worked fine. Xorg did all the work by default and I didn&#8217;t have to mess with xorg.conf. I only adjusted primary and secondary monitor using kde-4.7.2 system settings. After a few minutes of testing &#8211; junk pixels started appearing around open windows and eventually garbage completely took over my two monitors.<br \/>\n<!--more--><\/p>\n<p>To solve the problem, I tried using the latest versions of drivers. I&#8217;ve tried with gentoo x11 layout<\/p>\n<p><code><br \/>\nemerge layman<br \/>\nlayout -l<br \/>\nlayout -a x11<br \/>\n<\/code><\/p>\n<p>unmasked x11-drivers\/xf86-video-ati and drm, gentoo-sources-3.0.7.<\/p>\n<pre>=sys-kernel\/gentoo-sources-3.0.7 ~amd64\r\n=x11-drivers\/xf86-video-ati-9999 ~amd64\r\n=x11-libs\/libdrm-9999 ~amd64<\/pre>\n<p>The problem was still visible.<\/p>\n<p>Decided to try with ati-drivers. Kernel recompiled without DRM support<\/p>\n<pre>Device Drivers\r\n     Graphics support\r\n     &lt; &gt; Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)<\/pre>\n<p>And also corrected \/etc\/make.conf to include<\/p>\n<p>VIDEO_CARDS=&#8221;fglrx&#8221;<\/p>\n<p>and emerged ati-drivers. This time xorg didn&#8217;t start. After a few hours of hastle got working xorg.conf with xinerama for two monitors spread over the same screen.<\/p>\n<p>The easiest method of figuring out X config is to start with ati catalyst tool:<br \/>\n<code><br \/>\naticonfig --initial --desktop-setup=horizontal --overlay-on=1<br \/>\n<\/code><br \/>\nBasically, the idea is to create horizontal desktop with 1 overlapping pixel in order for xrandr to be capable of properly handling moving windows from one monitor to another without involving xinerama. This way we can be sure that KDE opengl rendering will be able to use desktop effects.<\/p>\n<p>Test it as root from command line<br \/>\n<code><br \/>\nstartx<br \/>\n<\/code><br \/>\nand fine tune it using ati graphic interface<br \/>\n<code><br \/>\n\/opt\/bin\/amdcccle<br \/>\n<\/code><br \/>\nTo avoid a potential confusion make sure which monitor is plugged into which GPU slot.<\/p>\n<p>Finally, my xorg.conf is given below.<\/p>\n<pre>Section \"ServerLayout\"\r\n        Identifier     \"aticonfig Layout\"\r\n        Screen      0  \"aticonfig-Screen[0]-0\" 0 0\r\nEndSection\r\n\r\nSection \"Module\"\r\nEndSection\r\n\r\nSection \"Monitor\"\r\n        Identifier   \"aticonfig-Monitor[0]-0\"\r\n        Option      \"VendorName\" \"ATI Proprietary Driver\"\r\n        Option      \"ModelName\" \"Generic Autodetecting Monitor\"\r\n        Option      \"DPMS\" \"true\"\r\nEndSection\r\n\r\nSection \"Monitor\"\r\n        Identifier   \"0-DFP5\"\r\n        Option      \"VendorName\" \"ATI Proprietary Driver\"\r\n        Option      \"ModelName\" \"Generic Autodetecting Monitor\"\r\n        Option      \"DPMS\" \"true\"\r\n        Option      \"PreferredMode\" \"1680x1050\"\r\n        Option      \"TargetRefresh\" \"60\"\r\n        Option      \"Position\" \"0 0\"\r\n        Option      \"Rotate\" \"normal\"\r\n        Option      \"Disable\" \"false\"\r\nEndSection\r\n\r\nSection \"Monitor\"\r\n        Identifier   \"0-DFP4\"\r\n        Option      \"VendorName\" \"ATI Proprietary Driver\"\r\n        Option      \"ModelName\" \"Generic Autodetecting Monitor\"\r\n        Option      \"DPMS\" \"true\"\r\n        Option      \"PreferredMode\" \"1280x1024\"\r\n        Option      \"TargetRefresh\" \"60\"\r\n        Option      \"Position\" \"1680 0\"\r\n        Option      \"Rotate\" \"normal\"\r\n        Option      \"Disable\" \"false\"\r\nEndSection\r\n\r\nSection \"Device\"                                                                                                                                             \r\n        Identifier  \"aticonfig-Device[0]-0\"                                                                                                                  \r\n        Driver      \"fglrx\"                                                                                                                                  \r\n        Option      \"DesktopSetup\" \"horizontal\"                                                                                                              \r\n        Option      \"OverlayOnCRTC2\" \"1\"                                                                                                                     \r\n        Option      \"Monitor-DFP5\" \"0-DFP5\"                                                                                                                  \r\n        Option      \"Monitor-DFP4\" \"0-DFP4\"                                                                                                                  \r\n        BusID       \"PCI:1:0:0\"                                                                                                                              \r\nEndSection                                                                                                                                                   \r\n\r\nSection \"Device\"                                                                                                                                             \r\n        Identifier  \"amdcccle-Device[1]-1\"                                                                                                                   \r\n        Driver      \"fglrx\"                                                                                                                                  \r\n        Option      \"Monitor-DFP4\" \"0-DFP4\"\r\n        BusID       \"PCI:1:0:0\"\r\n        Screen      1\r\nEndSection\r\n\r\nSection \"Screen\"\r\n        Identifier \"aticonfig-Screen[0]-0\"\r\n        Device     \"aticonfig-Device[0]-0\"\r\n        DefaultDepth     24\r\n        SubSection \"Display\"\r\n                Viewport   0 0\r\n                Virtual   2960 2960\r\n                Depth     24\r\n        EndSubSection\r\nEndSection\r\n\r\nSection \"Screen\"\r\n        Identifier \"amdcccle-Screen[1]-1\"\r\n        Device     \"amdcccle-Device[1]-1\"\r\n        DefaultDepth     24\r\n        SubSection \"Display\"\r\n                Viewport   0 0\r\n                Depth     24\r\n        EndSubSection\r\nEndSection\r\n<\/pre>\n<h1>Update<\/h1>\n<p>Opensource radeon driver in kernel 3.2.1 (sys-kernel\/gentoo-sources-3.2.1-r2) works well.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>ATI HD6950 is a great GPU which is supposed be full supported by opensource radeon drivers. After lot of pain with opensource driver, I have installed closed source ati-drivers and the card works well. During the process I have tried to follow number of ati\/radeon\/fglrx guides. My goal was to get the card working on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=\/wp\/v2\/posts\/68"}],"collection":[{"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":15,"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":265,"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions\/265"}],"wp:attachment":[{"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mufljuz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}