{"id":22,"date":"2008-10-18T09:05:20","date_gmt":"2008-10-18T09:04:06","guid":{"rendered":""},"modified":"2022-02-07T09:40:48","modified_gmt":"2022-02-07T08:40:48","slug":"it_s_been_too_long","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/remi\/2008\/10\/18\/it_s_been_too_long\/","title":{"rendered":"It&#8217;s been too long&#8230;"},"content":{"rendered":"<p>*sigh* I should have written this post a <strong>long<\/strong> time ago, but I didn&#8217;t. My bad&#8230;<\/p>\n<p>And just yesterday, Sune was <a href=\"http:\/\/home.coming.dk\/index.php\/2008\/10\/17\/xorg_1_5_upgrade_weirdness\">rightfully complaining<\/a> about the situation. Now it&#8217;s my turn to blog and to let you in on all the <em>secrets<\/em> I&#8217;ve been withholding \ud83d\ude42<\/p>\n<p><strong>Quick xorg-server 1.5 Input How To:<\/strong><\/p>\n<p>If you&#8217;ve built <code>xorg-server<\/code> with the <code>USE=hal<\/code>, you might have weird issues with your synaptics touchpad or weird keyboard layouts.<\/p>\n<p>There are currently 2 ways of configuring input in Xorg :<\/p>\n<ol>\n<li><strong>Disabling HAL in Xorg<\/strong>: it basically tells Xorg not to look at HAL for input devices and it&#8217;ll only read your xorg.conf for configured devices. If you don&#8217;t want to muck around with HAL yet, it&#8217;s probably a good option. Just stick this piece in your xorg.conf and you&#8217;ll be fine.\n<pre>Section \"ServerFlags\"\r\n    Option \"AutoAddDevices\" \"false\"\r\nEndSection<\/pre>\n<\/li>\n<li><strong>Migrate to HAL<\/strong>: this is not exactly trivial and might require a lot of tweaking. But once you wrap your head around it, it&#8217;s not that complicated.\n<p>  The idea is to completely remove all the <code>InputDevice<\/code> sections from your xorg.conf (or even to completely remove your xorg.conf) and let Xorg request input devices from HAL. But we can modify HAL to return configuration values to Xorg.<\/p>\n<p>  For some examples of this method, I suggest reading <a href=\"http:\/\/cgit.freedesktop.org\/xorg\/xserver\/tree\/config\/x11-input.fdi\">this sample file<\/a> which contains almost all the needed documentation.<\/p>\n<p>  Don&#8217;t forget to read <code>\/var\/log\/Xorg.0.log<\/code> towards the end, that&#8217;s where input handling prints warnings and errors.<\/li>\n<\/ol>\n<p><strong>Intel graphics driver with xorg-server 1.5<\/strong><\/p>\n<p>For some reason, the server crashes if your xorg.conf file tries to load the <code>i810<\/code> driver instead of the <code>intel<\/code> driver. This is indeed really weird as the former has been a symlink to the latter ever since 2.0.0 came out. I&#8217;m guessing the migration to libpciaccess broke some assumptions about driver names.<\/p>\n<p>A lot of people have been bit by this, including me, but I of course do intend to properly fix this. First I need to do the pkgmove, and then I&#8217;ll just remove all references to &#8220;i810&#8221; from installed files (mostly the symlink to the driver and the duplicate man page). Finally, I&#8217;ll make the driver print out elog messages if you still have the old driver name in your xorg.conf<\/p>\n<p><strong>GEM<\/strong><\/p>\n<p>Although I first believed otherwise, a lot of users were actually using TTM with xorg 1.4. Since TTM has been dropped from Mesa and the supporting bits have been removed from the Intel driver, a lot of people are anxiously waiting for GEM support to arrive.<\/p>\n<p>First the good news, I&#8217;m actually working on that. I&#8217;m tracking branches and building code.<\/p>\n<p>The bad news&#8230; it doesn&#8217;t work, at least not yet. Intel developers are busy adding support for G4x chipsets and older ones such as my 855GM are not the immediate priority. I&#8217;ve asked for help on the various mailing lists but I&#8217;m still waiting. To be honest, I&#8217;m not even sure I&#8217;ve built the various components with the right configure options&#8230;<\/p>\n<p>My plan is to wait a little bit for the kernel bits to settle (right now, devs are hacking up 5~10 patches per day for the 2.6.28-rc1 merge window!) before asking again.<\/p>\n<p>Watch this space in the coming weeks if you are interested in Intel graphics on a Gentoo system near you \ud83d\ude42<\/p>\n<p>Cheers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>*sigh* I should have written this post a long time ago, but I didn&#8217;t. My bad&#8230; And just yesterday, Sune was rightfully complaining about the situation. Now it&#8217;s my turn to blog and to let you in on all the secrets I&#8217;ve been withholding \ud83d\ude42 Quick xorg-server 1.5 Input How To: If you&#8217;ve built xorg-server &hellip; <a href=\"https:\/\/blogs.gentoo.org\/remi\/2008\/10\/18\/it_s_been_too_long\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">It&#8217;s been too long&#8230;<\/span><\/a><\/p>\n","protected":false},"author":66,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,6],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/posts\/22"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":37,"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/posts\/22\/revisions\/37"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/remi\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}