{"id":677,"date":"2010-05-29T17:34:58","date_gmt":"2010-05-30T00:34:58","guid":{"rendered":"http:\/\/www.graphics-muse.org\/wp\/?p=677"},"modified":"2010-05-29T20:07:53","modified_gmt":"2010-05-30T03:07:53","slug":"from-cable-tv-to-internet-tv-a-nerds-journey","status":"publish","type":"post","link":"https:\/\/www.graphics-muse.org\/wp\/?p=677","title":{"rendered":"From Cable TV to Internet TV &#8211; A Nerd&#8217;s Journey"},"content":{"rendered":"<p><font face=\"sans-serif\">I&#39;ve spent the past month preparing for and implementing a migration from Comcast cable TV to relying on both off-air HDTV and Internet video.&nbsp; The easy part was dumping Comcast, though they magically managed to NOT turn off billing because they had to send out a service tech (for no good reason &#8211; there is nothing the tech has to do at the house) and that guy never showed up so they never closed out the call and kept billing.&nbsp; Magical.&nbsp; A second call to a slightly scared but helpful front line support kid fixed the billing.&nbsp; I explained how things really work, that the tech was a scam and that I know why these systems work.&nbsp; I also made it clear that I would drop the Internet immediately if the bill were not corrected immediately.&nbsp; It&#39;s fixed.&nbsp; One must often frighten the front lines to get things accomplished.<\/font>&nbsp; Front line support usually WANTS to help.&nbsp; They can&#39;t help they work for crappy companies, however.<\/p>\n<p>\tAnyway, Comcast is out and HDTV off-air is in.&nbsp; I got a nice antenna and two digital converters (with two TVs that were digital ready) and now my wife and I just watch a few things like the Big Bang Theory &#8211; in glorious HD.<\/p>\n<p>\tNow comes the hard part.&nbsp; The big TV &#8211; Sony Bravia &#8211; is hooked to a computer (what I call the <i>media computer<\/i>) with an nVidia 9800GT video adapter.&nbsp; The computer is a Fedora 12 dual-core 64bit with 1G memory.&nbsp; Fast enough to display HD.&nbsp; So the issue will be bandwidth &#8211; getting the data to the computer.&nbsp; The computer has a wired ethernet but there is no wire to where the cable modem is in my office.&nbsp; So wireless has to get the data from the cable modem to the media computer. <\/p>\n<p>\tThe media computer is currently connected to a cheap wireless bridge.&nbsp; How cheap?&nbsp; It doesn&#39;t have any make or model identifiers either externally or in the web based software.&nbsp; I have no idea who made it.&nbsp; But it works.&nbsp; And seems to work well.&nbsp; But apparently not fast enough to stream media from the cable modem.&nbsp; <\/p>\n<p>\tTests with computers wired directly to a WRT54G router running DD-WRT show HD video from Hulu and various networks play just fine.&nbsp; But piped wirelessly to the media computer and there is excessive jumpiness on the big TV.&nbsp; So I assumed that no-name bridge was the problem.&nbsp; I suspected I needed an N router, instead of the G router.&nbsp; N is faster &#8211; up to 300Mbs in optimal conditions.&nbsp; G maxes out at 54Mbs, and I wasn&#39;t even getting that.<\/p>\n<p>\tMy first attempt at fixing this was to order a Wireless N router and PCI adapter from Linksys (via NewEgg).&nbsp; A week of testing later I returned them.&nbsp; I simply couldn&#39;t connect to the router from existing wireless devices and the adapter wouldn&#39;t connect to the existing WRT54G router.&nbsp; Since they were bought as a special I had to return both.&nbsp; <\/p>\n<p>\tSo I ordered a TP-Link router and USB adapter.&nbsp; A couple days of testing and I find that doesn&#39;t work either.&nbsp; The driver (ar9170usb) for the adapter is one problem &#8211; it isn&#39;t stable and the adapter keeps dropping out.&nbsp; The router doesn&#39;t work with the wireless bridge I&#39;m currently using either, though othe 54Mbs devices do work fine with it.&nbsp; But the router is DD-WRT capable so I&#39;m keeping both and will wait until the USB adapter works better.&nbsp; I put those aside and reexamined the original problem &#8211; throughput from the WRT54G to the no-name bridge.<\/p>\n<p>\tA little research on DD-WRT and I find I can do adjust some QoS settings that gives data priority to the bridge and the media computer.&nbsp; I also set the router to push 54Mbs instead of Auto.&nbsp; After doing these, the data slides through to the media computer fast enough that Hulu and various HD videos play without skipping!&nbsp;&nbsp; A few tests wtih ttcp from another computer across the router to the media computer show about 1.8Mbs througput.&nbsp; That should be fast enough for Hulu.<\/p>\n<p>\tBut there are some catches. First, I can&#39;t run full screen.&nbsp; I don&#39;t know why but suspect its due to lack of hardware acceleration in the Flash player.&nbsp; This leads to other problems because the TV is large.&nbsp; I had to set a black background, load a GTK+ theme that uses no window borders (<a href=\"http:\/\/gnome-look.org\/content\/show.php\/Elegant+Brit+no+borders?content=82658\">Elegant Brit No Borders<\/a>) and has a black title bar with very small and hardly visible window manager icons.&nbsp; I auto-hide the top an bottom panels too.&nbsp; And finally, I had to install gconf-editor to disable display of icons on the desktop (look for the Nautilus app and disable icons that are initially enabled).&nbsp; Icons for Hulu and Firefox (to get to non-Hulu video) sit in the top panel.<\/p>\n<p>\tThe other problem is that I need to set the CPU to run at full speed all the time, or at least while watching videos.&nbsp; By default it idles around 1.0GHz.&nbsp; I push it to 2.6GHz using the CPU Frequency Scaling Monitor panel applet.&nbsp; I worry this will kill the CPU if I forget to turn it down after we finish watching videos.&nbsp; I also disabled nearly every service I could except those that are absolutely required.&nbsp; So I have nearly complete use of the cores.<\/p>\n<p>\tNow the TV, displaying the media computer desktop, looks like a media device.&nbsp; My wife is happily watching episodes of Glee from Hulu with no skipping and almost no desktop nuisances visible.<\/p>\n<p>\tUnfortunately for me, The Daily Show doesn&#39;t play well when expanded.&nbsp; The video isn&#39;t high quality so we&#39;re stuck watching it inside the web page.&nbsp; I have to check to see if Hulu or some other service has it in HD.&nbsp; I hope so.<\/p>\n<p>\tAfter all this, I can rest happily that I&#39;ve successfully dumped Comcast but still have access to the shows of interest.&nbsp; Until they buy NBC and disable access to everyone else via Comcast Internet.&nbsp; Anyone wanna bet when they get around to that?<br \/>\n\t&nbsp;<\/p>\n<p><span style=\"color: rgb(0, 0, 128);\"><strong>Update: 2010-05-29<br \/>\n\t<\/strong><\/span><\/p>\n<p>Good news.&nbsp; South Park plays great on the big TV over the Internet.&nbsp; Nearly full screen too!&nbsp; Butters wanting to be a vampire never looked so good.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#39;ve spent the past month preparing for and implementing a migration from Comcast cable TV to relying on both off-air HDTV and Internet video.&nbsp; The easy part was dumping Comcast, though they magically managed to NOT turn off billing because they had to send out a service tech (for no good reason &#8211; there is [&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":[35,1,8,5,204,20],"tags":[353,350,356,342,352,345,634,48,623,355,78,349,625,354,80],"class_list":{"0":"post-677","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-fedora","7":"category-general","8":"category-hardware","9":"category-linux","10":"category-nvidia-hardware","11":"category-tv","12":"tag-big-bang-theory","13":"tag-bravia","14":"tag-cable-modem","15":"tag-comcast","16":"tag-comcast-cable-tv","17":"tag-digital-converter","18":"tag-fedora","19":"tag-gnome","20":"tag-gtk","21":"tag-hdtv","22":"tag-nvidia","23":"tag-sony","24":"tag-video","25":"tag-wireless-bridge","26":"tag-wrt54g","27":"czr-hentry"},"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pe9t8-aV","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\/677","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=677"}],"version-history":[{"count":2,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/677\/revisions"}],"predecessor-version":[{"id":679,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/677\/revisions\/679"}],"wp:attachment":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}