{"id":261,"date":"2007-05-03T01:46:56","date_gmt":"2007-05-02T22:46:56","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/?p=261"},"modified":"2008-06-06T01:18:04","modified_gmt":"2008-06-05T22:18:04","slug":"yet-another-ati-driversxorg-problem","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2007\/05\/03\/yet-another-ati-driversxorg-problem\/","title":{"rendered":"Yet another ati-drivers+xorg problem"},"content":{"rendered":"<p>The ati-drivers saga will never ever end \ud83d\ude41<\/p>\n<p>The gentoo fellas updated the stable xorg server to version 7.2, so I decided to give it a shot. The process was smooth, no errors.<br \/>\nUpon reboot though, the problems started. No 3D acceleration! I re-emerged the drivers, I used <code>eselect opengl set ati<\/code>, no result. Damn! I am still using kernel version 2.6.18 and my ati drivers were version 8.32.5.<br \/>\nMy first thought was to update ati drivers to the latest available, 8.35.5. The 50Mb download took more than 30minutes on my 1mbit super-duper-extra fast adsl! <\/p>\n<blockquote><p>&lt;Yet Another Rant&gt;<br \/>\nDuring the last couple of weeks I can&#8217;t even get more than 50kb\/sec during the night. During the morning there are times that I can hardly browse through websites with reasonable speed. Real-time streaming videos from youtube is out of the question of course.<br \/>\n&lt;\/Yet Another Rant&gt;<\/p><\/blockquote>\n<p>The drivers compiled fine but I lost my 1280&#215;1024 mode! Out of sync errors and no image displayed on my tft. I couln&#8217;t even make it work with a Modeline&#8230;The highest mode that worked was 1024&#215;768. I&#8217;ve even tried removing the ddc module out of xorg modules directory without any luck though. I am not willing to go back to 1024&#215;768 so I had to download some other, older, ati-drivers version.<br \/>\nThis time I chose version 8.33.6. Another 50Mb of download and another 30minutes of wait. The emerge was smooth, no errors. X windows started&#8230;but my fonts were trully messed up! Something had made them very very small on menus and input boxes. ARGHHHHHHHHH!! Grepping through the Xorg.0.log I found out that DPI was set to 75&#215;75. Another easy way to check on that is through the<br \/>\n<code>% xdpyinfo | grep resolution<br \/>\n<\/code><br \/>\ncommand. Something had went wrong. Then I remembered that I had removed the ddc module, I put it back in and I got:<br \/>\n<code>% xdpyinfo | grep resolution<br \/>\n  resolution:    81x86 dots per inch<br \/>\n<\/code><\/p>\n<p>A bit better but certainly not very good. I had to change the DPI somehow&#8230;but how ?<\/p>\n<p>I googled and googled &#8230;and I found out that I could put something like this:<br \/>\n<code>    Option \"DPI\" \"96 x 96<\/code><br \/>\ninside my xorg.conf in the Screen section. But that didn&#8217;t to the trick.  That used to work on Xorg 7.1 but not on 7.2. Tough luck.<\/p>\n<p>I kept googling until I found out that I could start another X server like this:<br \/>\n<code>% startx -- :1 -dpi 96<\/code><\/p>\n<p>get the screen dimensions like this:<br \/>\n<code>% xdpyinfo | grep dimensions<br \/>\ndimensions:    1280x1024 pixels (XXXxYYY millimeters)<br \/>\n<\/code><\/p>\n<p>and then paste the output of the previous command inside the Monitor section of the xorg.conf file like this:<br \/>\n<code>DisplaySize   XXX YYY<br \/>\n<\/code><\/p>\n<p>That did the trick. I can now enjoy 96&#215;96 DPI fonts.<\/p>\n<p>During the googling I found out that I can also have something like this inside the .Xdefaults file:<br \/>\n<code>Xft.dpi: 96<br \/>\n<\/code><\/p>\n<p>Now, after more than 2 hours of messing around with ati-drivers and xorg.conf I am able to enjoy my beautiful desktop&#8230;pfffff. <\/p>\n<p>Reminder to myself: Dont&#8217; ever ever ever ever buy an ati card again.<\/p>\n<p>P.S. I really hope that the 8.35.5 drivers are somehow fixed in the future so that I can use 1280&#215;1024 if I ever need to update to that version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ati-drivers saga will never ever end \ud83d\ude41 The gentoo fellas updated the stable xorg server to version 7.2, so I decided to give it a shot. The process was smooth, no errors. Upon reboot though, the problems started. No 3D acceleration! I re-emerged the drivers, I used eselect opengl set ati, no result. Damn! [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[12,3],"tags":[],"class_list":["post-261","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-linux"],"aioseo_notices":[],"views":4189,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}