{"id":15,"date":"2006-07-08T02:28:13","date_gmt":"2006-07-07T15:28:13","guid":{"rendered":"http:\/\/noraisin.net\/~jan\/diary\/?p=15"},"modified":"2006-07-08T02:28:13","modified_gmt":"2006-07-07T15:28:13","slug":"for-ronald","status":"publish","type":"post","link":"https:\/\/noraisin.net\/diary\/?p=15","title":{"rendered":"For Ronald"},"content":{"rendered":"<p>It happens that I was (re)installing Ubuntu Dapper on my laptop this afternoon too, like <a href=\"http:\/\/blogs.gnome.org\/view\/rbultje\/2006\/07\/07\/0\">Ronald<\/a> was on his new Mac.<br \/>\nThe laptop has been dist-upgraded since I first installed warty on it, and on the development repositories for most of the way. It had accumulated a bit of cruft because of all the hacks I had to do when things broke during the dev cycles, and I&#8217;d never been able to get either hibernation or suspend to work at all.<br \/>\nI copied \/home, \/etc and \/var off to another machine and did a complete reinstall, which worked flawlessly.<\/p>\n<p>Here&#8217;s some notes from the post-install. There aren&#8217;t many, because by and large things worked flawlessly for me:<\/p>\n<ul>\n<li>X had the wrong resolution by default. I had to edit \/etc\/X11\/xorg.conf and change it from 1024&#215;768 to 1400&#215;1050.<\/li>\n<li>The 3D stuff was set up automatically, using the open source DRI drivers. For better DRI performance (xorg doesn&#8217;t get them right on its own), I added these lines to the xorg.conf:<\/li>\n<ul>\n<li>Option &#8220;AGPMode&#8221; &#8220;4&#8221;<\/li>\n<li>Option &#8220;AGPSize&#8221; &#8220;64&#8221;<\/li>\n<\/ul>\n<li>Multimedia.<\/li>\n<ul>\n<li>plugins &#8211; the usual story &#8211; too many formats are encumbered for one reason or another and can&#8217;t be included in the default install, so playing anything from <a href=\"http:\/\/trailers.apple.com\">Apple Trailers<\/a> wouldn&#8217;t work. Following the instructions in the <a href=\"https:\/\/help.ubuntu.com\/community\/RestrictedFormats\">Ubuntu wiki<\/a>, I added the universe and multiverse repositories to my apt configuration in \/etc\/apt\/sources.list and installed the packages for restricted formats:<\/li>\n<ul>\n<li class=\"gap\">gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse<\/li>\n<\/ul>\n<li class=\"gap\">After that, I could play trailers on the Apple trailers site, and Rhythmbox could play the few m4a files I have access to.<\/li>\n<li class=\"gap\">I only partially agree with Ronald about the &#8216;cryptic fd:\/\/0 errors&#8217; when trying to play things in totem&#8217;s mozilla playing.The title of the box was poorly labelled &#8216;Could not play fd:\/\/0&#8217; (this should be fixable in totem to show the URL instead), but the text of the dialog box clearly stated something along the lines of &#8216;You do not have a decoder installed to handle this file&#8217; and put me on the right track. However, it doesn&#8217;t say what format or plugins to look for, which sucks. There&#8217;s been some discussions in the past about building a mechanism for telling the user exactly which plugin\/package they should look for, but noone has ever built it.<\/li>\n<li>software &#8211; totem &#038; rhythmbox are the main multimedia apps I use. Both were installed, but the totem-gstreamer-firefox-plugin wasn&#8217;t for some reason. Simple enough to install that.<\/li>\n<li>ALSA set itself up nicely with DMIX, so no worries about sharing the sound card between applications. Unfortunately, that tends to cause shuddery video playback in GStreamer and (to a lesser extent) xine for reasons that are best explained in another post.<\/li>\n<\/ul>\n<li>Hibernation:<\/li>\n<ul>\n<li>Encouragingly, worked the first time I tried it &#8211; immediately after installing and logging in, before doing any configuration or anything.<\/li>\n<li>Sadly, failed in the old way an hour later after I&#8217;d installed stuff, copied some pieces of my home directory back across, and had a few apps running it failed in the same way as before the reinstall: by getting as far through the hibernate as &#8216;turn the screen off&#8217; and then sitting there flashing the hard-disk-access light for the next 10 minutes until I switch it off via the power button.<\/li>\n<li>I really wish I knew how to fix it &#8211; the hard disk in this machine is so slow it takes a good 4-5 minutes to boot up, so I hate turning it off, and carrying it around still turned on isn&#8217;t much better.<\/li>\n<\/ul>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>It happens that I was (re)installing Ubuntu Dapper on my laptop this afternoon too, like Ronald was on his new Mac. The laptop has been dist-upgraded since I first installed warty on it, and on the development repositories for most of the way. It had accumulated a bit of cruft because of all the hacks &hellip; <a href=\"https:\/\/noraisin.net\/diary\/?p=15\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;For Ronald&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-gstreamer"],"_links":{"self":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":0,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}