{"id":699,"date":"2008-12-24T12:51:18","date_gmt":"2008-12-24T17:51:18","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=699"},"modified":"2013-05-16T18:59:04","modified_gmt":"2013-05-16T23:59:04","slug":"another-round-of-linux-pain-now-playing-starring-gentoo-ati-xorg-hal-dbus-evdev","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2008\/another-round-of-linux-pain-now-playing-starring-gentoo-ati-xorg-hal-dbus-evdev\/","title":{"rendered":"&#8220;Another Round of Linux Pain&#8221; now playing, starring gentoo, ATI, xorg, hal, dbus, evdev&#8230;"},"content":{"rendered":"<p>Today&#8217;s pain in the ass gold-level sponsors are gentoo, ATI and xorg&#8230;<br \/>\nSomehow I initially managed to get ATI drivers working on the [dune] media center, but I&#8217;m not sure how &#8211; stable kernel and driver do NOT work together.  As of today, the ATI-provided [ati-drivers] package does not work &#8211; the stable version doesn&#8217;t compile with the latest stable [gentoo-sources] kernel, and the soft-masked version doesn&#8217;t compile without soft-unmasking half of X.<br \/>\nWell, I opted to soft-unmask half of X, yuck.  Here&#8217;s what it took in [package.keywords]&#8230;<\/p>\n<pre><code>x11-drivers\/ati-drivers\r\nx11-apps\/ati-drivers-extra\r\n# and deps... sigh...\r\nx11-base\/xorg-server\r\nx11-libs\/pixman\r\nx11-libs\/libpciaccess\r\nx11-proto\/xproto\r\nx11-apps\/xauth\r\nx11-libs\/libXrender\r\nx11-proto\/renderproto\r\nx11-proto\/xextproto\r\nx11-libs\/libXau\r\nx11-libs\/libXext\r\nx11-libs\/libXfont\r\nx11-proto\/inputproto\r\nx11-libs\/xtrans\r\nx11-misc\/xkeyboard-config\r\nmedia-libs\/mesa\r\nx11-libs\/libdrm\r\nx11-libs\/libX11\r\nx11-proto\/xf86driproto\r\nx11-libs\/libXxf86vm\r\nx11-apps\/rgb\r\nx11-apps\/xinit\r\nx11-proto\/randrproto\r\nx11-drivers\/xf86-input-keyboard\r\nx11-drivers\/xf86-input-mouse\r\nx11-drivers\/xf86-input-evdev<\/code><\/pre>\n<p>When I got done, I lost my 1080p resolution and my mouse and keyboard (!).  Digging in, I found that the newer xorg-server autodetects things, and when autodetect is on, it turns off any mouse and keyboard that are specified in xorg.conf.  Well&#8230; I hadn&#8217;t realized up until this point that I wasn&#8217;t running HAL (I had it installed but had not yet added it to a run level).  Therefore, X would disable my mouse and keyboard specified in xorg.conf, because it expected them to be autodetected.  But without hal running, it doesn&#8217;t happen.  You also have to have the [xf86-input-evdev] package installed and add the [input_devices_evdev] USE flag to [xorg-server] &#8211; evdev is what can actually successfully autodetect.  Moral of the story: run hal with the latest xorg-server!  And run dbus and add users to plugdev group to get hot-plugging.<br \/>\nNext I needed to figure out why I was dropping back to 1600&#215;1200 from 1080p.  The xorg log showed this error:<\/p>\n<pre><code>(EE) AIGLX error: fglrx exports no extensions (\/usr\/lib64\/dri\/fglrx_dri.so: undefined symbol: __driDriverExtensions)\r\n(EE) AIGLX: reverting to software rendering<\/code><\/pre>\n<p><a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=246672\">This bug<\/a> indicates that older [ati-drivers] appear to leave broken symlinks that prevent update.  Do this:<\/p>\n<pre><code>emerge -C ati-drivers\r\neselect opengl set xorg-x11 (and remove any files that cause problems)\r\nemerge -av ati-drivers\r\neselect opengl set ati<\/code><\/pre>\n<p>Now get your shit together, gentoo&#8230; I&#8217;d much prefer a stable [ati-drivers]&#8230; rrr&#8230;  I get depressed when &#8220;those that hack on linux&#8221; cause this much pain to the end user trying to accomplish the most basic tasks&#8230; I don&#8217;t want to spend so many cycles tweaking and hammering on linux basics&#8230; makes me consider a jump to Ubuntu&#8230; steady on&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s pain in the ass gold-level sponsors are gentoo, ATI and xorg&#8230; Somehow I initially managed to get ATI drivers working on the [dune] media center, but I&#8217;m not sure how &#8211; stable kernel and driver do NOT work together. As of today, the ATI-provided [ati-drivers] package does not work &#8211; the stable version doesn&#8217;t [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[18,10],"tags":[],"class_list":["post-699","post","type-post","status-publish","format-standard","hentry","category-gentoo-media-center","category-tricks-tips-tools"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-bh","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=699"}],"version-history":[{"count":10,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/699\/revisions"}],"predecessor-version":[{"id":1606,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/699\/revisions\/1606"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}