{"id":302,"date":"2009-01-01T18:09:24","date_gmt":"2009-01-02T01:09:24","guid":{"rendered":"http:\/\/www.graphics-muse.org\/wp\/?p=302"},"modified":"2009-01-07T11:31:40","modified_gmt":"2009-01-07T18:31:40","slug":"fedora-10-issues-with-intel-driver-and-multihead","status":"publish","type":"post","link":"https:\/\/www.graphics-muse.org\/wp\/?p=302","title":{"rendered":"Fedora 10 issues with intel driver and multihead"},"content":{"rendered":"<p>Over the holidays I upgraded my laptop to Fedora 10 (previously I had only upgraded my MythTV server).\u00a0 The upgrade went fairly smoothly following the information from my previous post on <a href=\"https:\/\/www.graphics-muse.org\/wp\/?p=202\">upgrading a MythTV server to F10<\/a>.\u00a0 However, my laptop supports dual monitors.\u00a0 Of course, that didn&#8217;t work out of the box.<\/p>\n<p>The laptop, my trusty Acer Aspire 1691WLMi with Intel i915GM graphics, offers output to the LCD, an external VGA port and a TV out.\u00a0 The latter I use when I use the laptop as a MythTV frontend and plug into the big screen TV. The VGA port I use when giving talks at user groups or presentations at work.<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #003366;\"><em>Note:\u00a0 Use of the laptop as a MythTV frontend is no longer much of an issue now that the big screen TV died right before xmas.\u00a0 *sigh* However, I still use the laptop as a frontend while working, with an external monitor used for normal use and the LCD as my TV screen.<br \/>\n<\/em><\/span><\/p>\n<p>With Fedora 9 and prior the setup for using multihead with the intel driver required making changes to the xorg.conf file.\u00a0 With F10 there is no xorg.conf file &#8211; the configuration is automatically determined by the driver.\u00a0 This works fine for singlehead configuration (just the LCD, for example) but fails with the external monitor.\u00a0 The reason it fails is that the default virtual display size is too small to place the monitors side by side (or even top and bottom) in the video memory space.\u00a0 What is required is a Virtual entry in the Screen Display section of the xorg.conf.\u00a0 This will increase the default size to something large enough to fit both monitors.<\/p>\n<p>And here is where things broke with F10.\u00a0 If you specify the Virtual entry in that section of the xorg.conf file the <strong>gdm greeter<\/strong> locks up the system before you can login and use the new configuration.\u00a0 This is a known problem (see the <a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=470314\">Red Hat report<\/a> and the associated freedesktop.org bug reports on the <a href=\"http:\/\/bugs.freedesktop.org\/show_bug.cgi?id=18903\">intel driver<\/a> and <a href=\"http:\/\/bugs.freedesktop.org\/show_bug.cgi?id=17490\">GEM<\/a>) that may be fixed but the latest F10 updates (as of 2009-01-01) apparently do not include the fix.<\/p>\n<p>The workaround is to disable acceleration in the driver by adding the <em><strong>noaccel<\/strong><\/em> option (see my F10 <a href=\"https:\/\/www.graphics-muse.org\/source\/xorg.conf.f10\">xorg.conf<\/a> file for an example).\u00a0 Disabling acceleration isn&#8217;t a problem for me so far, especially since the older F9 configuration specified that anything over 2048&#215;2048 (which is what I need for my dual monitors) would disable 3D support anyway.\u00a0 However it does affect the quality of video playback under the MythTV frontend.\u00a0 The best configuration I can get from this is to go under Setup-&gt;TV Settings-&gt;Playback and change the following:<\/p>\n<ul>\n<li>General Playback:\u00a0 Enable realtime priority threads<\/li>\n<li>Playback Profiles: Set Current Video Playback Profile to Slim.<\/li>\n<\/ul>\n<p>I then have to run the frontend as root:\n<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #003366;\"><em>sudo mythfrontend<\/em><\/span><\/p>\n<p>This allows the realtime priority threads to function.\u00a0 The playback doesn&#8217;t drop many frames but the video is blurry, especially action shots like live sports.<\/p>\n<p>Until F10 updates the xorg-x11-drv-i810 package (which hold the intel video driver), there isn&#8217;t much you can do about this short of compiling the driver yourself from X.org&#8217;s source.\u00a0 I don&#8217;t recommend that for the average user, however.\u00a0 Even I&#8217;m not inclined to grab that source and build it.\u00a0\u00a0 Last time I did (which was before they dropped imake support) it was not a simple process.\u00a0 Maybe things are easier these days.\u00a0 Who knows.<\/p>\n<p><span style=\"color: #003366;\"><strong>Update: 2009-01-04<\/strong><\/span><\/p>\n<p>I found the MythTV is essentially useless to me with the driver in the current state so I&#8217;m going to attempt to update manually.\u00a0 According to the comment from <a href=\"http:\/\/bugs.freedesktop.org\/show_bug.cgi?id=17490#c12\">Gordon Jin<\/a> from the bug report, you need <a href=\"http:\/\/kernel.org\/pub\/linux\/kernel\/v2.6\/linux-2.6.28.tar.bz2\">kernel version 2.6.28<\/a> and either the master branch or xf86-video-intel-2.6-branch or the upcoming 2.6 release of the intel driver.\u00a0 The latter requires a <a href=\"http:\/\/www.freedesktop.org\/wiki\/Infrastructure\/git\/Users\">git checkout<\/a> and build, something I&#8217;ve not done with X since before the switch to autoconf from imake.\u00a0 And I always seem to run into problems moving from the current distro kernel to a new kernel with the same config (even though I use the config from the current kernel).\u00a0 Not to mention that this fix requires upgrading the entire Xorg core components to 1.6 (Fedora 10 shows the X server at 1.5.3).\u00a0 So this is no simple feat.\u00a0 I wish I had fedora&#8217;s build tools to package the RPMs for X.\u00a0 That might make it easier.\u00a0 Maybe.<\/p>\n<p>So my chances of success are not good here, but I&#8217;m going to give it a shot.\u00a0 I&#8217;ll post an update on my progress later.<\/p>\n<p><span style=\"color: #003366;\"><strong>Update: 2009-01-05<\/strong><\/span><\/p>\n<p>I just happened across the Intel open source pages tonight and was reminded about <a href=\"http:\/\/intellinuxgraphics.org\">IntelLinuxGraphics.org<\/a>, the primary web site for the xorg driver.\u00a0 I&#8217;d been here before but hadn&#8217;t really looked at the information available for developers.\u00a0 Tonight I read through their information on how to build the driver.\u00a0 It&#8217;s still not clear to me if the driver in the Master branch for xorg will build against the version of xorg I&#8217;m running, but notes in the driver source lead me to believe it may have a chance.\u00a0 So I&#8217;m starting down this path instead of trying to build all of the xorg source.<\/p>\n<p>While I may be able to build the driver I have a feeling it may build without the fix I need given that I&#8217;m running against a 2.6.27 kernel and the older 1.5.3 Xorg server.\u00a0 But hey, it&#8217;s worth a shot.\u00a0 At the moment, MythTV is completely unusable in my dual monitor setup and I really don&#8217;t want to reinstall F9 just to get that working again.\u00a0 One thing I noted right off the bat (after only a few minutes playing with the build before trying to finish an already late column for Linux Format) is that the installed version of libdrm is too old as well, so I&#8217;ll have to build that too at a minimum.<\/p>\n<p>More updates when I get some more time to play with this.<\/p>\n<p><span style=\"color: #003366;\"><strong>Update: 2009-01-07<\/strong><\/span><\/p>\n<p>This issue has been <a href=\"https:\/\/www.graphics-muse.org\/wp\/?p=314\">resolved<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the holidays I upgraded my laptop to Fedora 10 (previously I had only upgraded my MythTV server).\u00a0 The upgrade went fairly smoothly following the information from my previous post on upgrading a MythTV server to F10.\u00a0 However, my laptop supports dual monitors.\u00a0 Of course, that didn&#8217;t work out of the box. The laptop, my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[14,35,8,5,10],"tags":[64,65,89,634,94,60,39,53,43,88,97,619,68,92,41,621,627,96,57,630,91,625,93,90,622,95,47],"class_list":{"0":"post-302","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-acer-aspire-1690i","7":"category-fedora","8":"category-hardware","9":"category-linux","10":"category-x11","11":"tag-acer","12":"tag-aspire","13":"tag-dual-monitors","14":"tag-fedora","15":"tag-freedesktop","16":"tag-gdm","17":"tag-graphics","18":"tag-holiday","19":"tag-intel","20":"tag-intel-driver","21":"tag-laptop","22":"tag-linux","23":"tag-linux-format","24":"tag-multihead","25":"tag-multimedia","26":"tag-mythtv","27":"tag-open-source","28":"tag-red-hat","29":"tag-rpm","30":"tag-sports","31":"tag-vga-port","32":"tag-video","33":"tag-video-memory","34":"tag-virtual-display","35":"tag-x11","36":"tag-xorg","37":"tag-xrandr","38":"czr-hentry"},"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pe9t8-4S","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":7,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":304,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions\/304"}],"wp:attachment":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}