<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tolaris.com &#187; intrepid</title>
	<atom:link href="http://www.tolaris.com/tag/intrepid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tolaris.com</link>
	<description>When the going gets tough, the tough sniff packets.</description>
	<lastBuildDate>Tue, 24 Jan 2012 17:47:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My HTPC setup</title>
		<link>http://www.tolaris.com/2009/04/15/my-htpc-setup/</link>
		<comments>http://www.tolaris.com/2009/04/15/my-htpc-setup/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 21:19:22 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=347</guid>
		<description><![CDATA[As I mentioned in my last post, I now have a Home Theater PC (HTPC). Want to look under the hood? Hardware Shuttle X27D, with an Intel Atom 330 dual-core 1.6 GHz low-power CPU, an Intel 945G graphics processor, and a single 2GB RAM module. This unit has DVI and VGA video ports, both capable [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in my <a href="/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/">last post</a>, I now have a Home Theater PC (HTPC).  Want to look under the hood?</p>
<p><span id="more-347"></span><strong>Hardware</strong></p>
<ul>
<li><a href="http://www.pcpro.co.uk/reviews/workstations/237330/shuttle-x27d">Shuttle X27D</a>, with an Intel Atom 330 dual-core 1.6 GHz low-power CPU, an Intel 945G graphics processor, and a single 2GB RAM module.  This unit has DVI and VGA video ports, both capable of resolutions up to 2560&#215;1600, but only in mirrored mode (no dual monitor support).  I&#8217;m pretty happy with it, but the GPU can&#8217;t really handle 720p or 1080p at 24 frames video reliably.  If I had this to do over again, the reviews suggest the <a href="http://www1.euro.dell.com/content/products/productdetails.aspx/desktop-studio-hybrid?c=uk&#038;cs=ukdhs1&#038;l=en&#038;s=dhs">Dell Studio Hybrid</a> would have been a better choice.  However, I don&#8217;t know if it is as quiet as the Shuttle, and it costs £100 more.</li>
<li>Seagate 320GB 7200RPM 2.5&#8243; SATA hard drive.  That&#8217;s plenty of room for music, 480p video, and video games (MAME, NES, SNES).  Go bigger if you plan to archive higher resolution video.  I tend not to keep shows once I watch them.</li>
<li>DVD+-RW Multirecorder.  More than I need, really.  I just want to watch my DVDs, and rip them to local video files for &#8220;Saturday morning cartoon&#8221;-style shuffling.</li>
<li><a href="http://www.amazon.co.uk/Keysonic-Wireless-Keyboard-Integrated-Frequency/dp/B000L10Y5E">Keysonic Compact Wireless Keyboard with Integrated Touch Pad</a>.  All around a good product, and pleasingly small.  I do not want a monster keyboard lying around my living room, nor anything with wires, nor a remote control.  So this is pretty good.  However, it supports only single-touch tapping (no two/three-finger tapping for middle/right click), and pressing both buttons together does not produce middle-click.  Warning: this keyboard uses 2.4 GHz.  Sniffing with <a href="http://www.metageek.net/products/wi-spy_24x">Wi-Spy</a> shows it communicates at 2422 MHz, which is WLAN channel 3.  I moved my WLAN to channel 11 to avoid issues, but when I&#8217;m copying large amounts of data the keyboard still stutters a little.  Not often a problem, but annoying.  Also, wireless keyboards are not secure (except bluetooth keyboards, which suck for other reasons).  Someone with an antenna and custom software can read what a user is typing from a distance.  So don&#8217;t use this keyboard for Internet banking.</li>
<li>Panasonic TX-37LZD70 37″ LCD HDTV.  I bought this last year planning to use it for this purpose, so it supports 1080p video via HDMI.  It has excellent picture quality and good sound.  But much to my annoyance, it refuses to believe that I don&#8217;t have a TV signal and never want one.  It starts in TV mode even when the PC is operating, and I always have to change inputs after turning it on.  It also waits somewhere between 20 and 60 minutes to shut off when no signal is detected (I&#8217;ve never timed it). Dear TV makers: please sack your TV development teams and replace them with your PC monitor development teams.  Then instruct them to stop re-implementing the same crappy menu interface from 1992.  Thank you.</li>
</ul>
<p><strong>Software</strong></p>
<ul>
<li>Ubuntu 8.10 Intrepid Ibex 32-bit.  I wanted the simpler and faster Gnome interface rather than KDE, because KDE encourages me to customise and play.  And I just want an HTPC, not a general purpose device.  Despite my efforts at making 1080p video work, I tend to run at 720p so the interface is readable from my couch 3 meters back.</li>
<li><a href="http://www.getmiro.com/">Miro</a> 2.0.4, using the Miro APT repository for automatic updates.  Miro is awesome.  Miro downloads all my favourite shows and organises them in neat little menus.  The interface isn&#8217;t suited to a simple remote-control interface, so expect to have a mouse or touchpad handy.</li>
<li><a href="http://www.tvrss.net/">tvrss.net</a> to supply RSS feeds to torrents of my favourite shows.</li>
<li><a href="http://elisa.fluendo.com/">Elisa</a>, a remote-control friendly media center interface.  It&#8217;s a bit buggy and slow to index content, but it sure is pretty.  It&#8217;s easy to get Elisa to play Miro&#8217;s video content.  However, it needs some work before I&#8217;m ready to use it full time.  Most notably the DVD interface is quite bad (probably based on gstreamer, which itself has terrible DVD support).</li>
<li><a href="http://kaffeine.kde.org/">Kaffeine</a> for playing DVDs.  I&#8217;ve tried Totem (gstreamer and xine), xine-ui, and VLC.  Kaffeine is the only one I have found with decent full-screen mode controls, DVD menu support, and which totally ignores stupid &#8220;this button is disabled&#8221; restrictions during playback.  I&#8217;ve configured it to launch automatically when DVDs are inserted.</li>
<li><a href="http://amarok.kde.org/">Amarok 1.4.10</a> for playing music.  All the other software on this list can play music too, but it is hard to beat Amarok&#8217;s support for static and dynamic playlists, streaming audio, and ability to quickly parse my 110 GB music collection.</li>
</ul>
<p>I&#8217;m still working out the best way to handle video games, especially a good front-end loader with support for <a href="http://mamedev.org/">MAME</a>, <a href="http://fceux.com/">FCE Ultra</a>, and <a href="http://www.zsnes.com/">zSNES</a>.</p>
<p>I named it <a href="http://moderndaymalaise.blogspot.com/2006/07/shubs-and-zuuls.html">gozer</a>, and put a small name label over the irritating blue LED on the faceplate.  It illuminates the &#8220;o&#8221; perfectly.  Gozer the Gozerian, Gozer the Destructor, Vulguus Sil Drohar, Lord of the Trebulian, The Traveller has come!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/04/15/my-htpc-setup/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Enabling 1080p video on the Shuttle X27D HTPC</title>
		<link>http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/</link>
		<comments>http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 21:10:08 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=330</guid>
		<description><![CDATA[I recently bought a Shuttle X27D to use as a Home Theater PC (HTPC). The reviews of this hardware run from disappointing to average, but I&#8217;m reasonably happy with it. It&#8217;s quiet (just one small fan for the GPU, and none for CPU, case, or power supply), uses little power (I measured it at 32 [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought a <a href="http://www.efficientpc.co.uk/desktops/asgard/">Shuttle X27D</a> to use as a Home Theater PC (HTPC).  The reviews of this hardware run from <a href="http://www.google.com/url?sa=t&#038;source=web&#038;ct=&#038;cd=1&#038;url=http%3A%2F%2Fwww.reghardware.co.uk%2F2008%2F12%2F10%2Freview_desktop_pc_shuttle_x27d%2F&#038;ei=YGffSZPuMoHB-AanuNj8CA&#038;usg=AFQjCNFx-FuScJVQlsP9QJaSC-ZHiDupWA">disappointing</a> to <a href="http://www.custompc.co.uk/reviews/246460/shuttle-x27d.html">average</a>, but I&#8217;m reasonably happy with it.  It&#8217;s quiet (just one small fan for the GPU, and none for CPU, case, or power supply), uses little power (I measured it at 32 W in full operation), and the analog audio jack on the motherboard has no discernable noise in the audio stream (unlike my Dell Vostro 1500 laptop).</p>
<p>Unfortunately, the Intel 945G graphics processor can&#8217;t reliably handle 720p @24 frames video.  I tested with a downloaded copy of <a href="http://www.sitasingstheblues.com">Sita Sings the Blues</a>, and it dropped frames as the animated fireworks exploded during the title sequence.  It was fine with most of the rest of the film.  Still, it means I&#8217;m likely to stick to upscaled 480p video.  Which is far better for my bandwidth usage.</p>
<p>Naturally, I ran into some problems setting it up.</p>
<p><span id="more-330"></span>First, I discovered that <a href="https://answers.launchpad.net/efficientpc/+question/66832">Ubuntu 8.10 Intrepid amd64 won&#8217;t run on this hardware</a>.  The kernel panics as soon as you boot the Live CD.  Ubuntu 9.04 beta works, and of course i386 is fine.  <a href="http://popolon.org/gblog2/atom330-benchmark">Benchmarks</a> of the Atom 330 suggest that the 32-bit kernel is actually faster on this CPU for integer operations, so I just went with 32-bit.  Since I wanted to use this as the family Skype device, that was probably the better choice anyway.</p>
<p>The biggest reason I bought a Shuttle X27D was because it has a DVI port that I could connect to my TV.  I have a Panasonic TX-37LZD70 37&#8243; LCD HDTV which is capable of up to 1080p video (1920&#215;1080) when using an HDMI input. I connected them via a DVI-to-HDMI adaptor (it&#8217;s just a difference in pinout, and lack of an audio signal). Unfortunately Ubuntu booted in 720p mode (1280&#215;720 50 Hz).  <code>xrandr</code> reported a variety of other modes available, but none of them worked with my TV except for 640&#215;480.</p>
<pre>media@gozer:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 1680 x 1050
VGA disconnected (normal left inverted right x axis y axis)
TMDS-1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
   1280x720       50.0 +   60.0*
   1680x1050      60.0
   1600x1024      60.2
   1400x1050      60.0
   1280x1024      60.0
   1440x900       59.9
   1280x960       60.0
   1360x768       59.8
   1152x864       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9</pre>
<p>I started playing with xrandr, and eventually discovered that the TV isn&#8217;t giving complete resolution information in the <a href="http://en.wikipedia.org/wiki/EDID">EDID</a> it offers digitally.</p>
<pre>media@gozer:~$ xrandr --prop
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 1680 x 1050
VGA disconnected (normal left inverted right x axis y axis)
TMDS-1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
        EDID_DATA:
                00ffffffffffff0034a92ac149040000
                2f110103800000780adaffa3584aa229
                17494b00000001010101010101010101
                010101010101011d00bc52d01e20b828
                5540b9882100001e011d007251d01e20
                6e285500b9882100001e000000fc0050
                414e41534f4e49432d54560a000000fd
                00173d0f440f000a2020202020200187
                0203207250938414051f102012031102
                16071506012309070166030c00200080
                011d80d0721c1620102c2580b9882100
                009e8c0ad090204031200c405500b988
                21000018011d8018711c1620582c2500
                b9882100009e8c0ad08a20e02d10103e
                9600b98821000018023a80d072382d40
                102c4580b98821000018000000000050</pre>
<p><a href="http://software.intel.com/en-us/articles/custom-resolutions-on-intel-graphics/">Decoding this by hand</a> revealed that the TV is only announcing 1280&#215;720 graphics modes.  Some DVD players are willing to try to force graphics modes they don&#8217;t know will work, but a PC wisely does not do this without manual intervention.</p>
<p>By this point I&#8217;d learned a lot about setting display modes in X and tried creating modes myself, using <code>gtf</code> and <code>cvt</code>.</p>
<p><code>xrandr --newmode "1920x1080_50.00" 141.50  1920 2032 2232 2544  1080 1083 1088 1114 -hsync +vsync<br />
xrandr --addmode TMDS-1 1920x1080_50.00<br />
xrandr --output TMDS-1 --mode "1920x1080_50.00"</code></p>
<p>This didn&#8217;t work because the mode I was trying to create was too large for the maximum listed by xrandr.  It turns out that this isn&#8217;t a hard setting, but is calculated when X starts based on the maximum resolution of the available displays.  It is the size of the frame buffer X uses for the total display area of all displays.  Anyone having to set up dual monitors usually has to increase this in order to have two displays side by side.  So I modified /etc/X11/xorg.conf and restarted X.</p>
<pre>Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Subsection "Display"
                Virtual 1920 1080
        Endsubsection
EndSection</pre>
<p>Now the new mode worked, but was shifted to the right on my TV.  This happened for all the modeline calculations I was able to produce with both <code>gtf</code> and <code>cvt</code>.  So I gave up and installed <a href="http://www.clevertec.co.uk/productsfree.htm#dtdcalc">DTDCalculator</a> in my Windows virtual machine.  It calculated a different set of modelines which worked perfectly on the first try.  I set up modes for 24 Hz, 50 Hz, and 60 Hz.</p>
<p><code>xrandr --newmode "1920x1080_24.00" 74.25  1920 2558 2602 2750  1080 1084 1089 1125  -HSync +Vsync<br />
xrandr --newmode "1920x1080_50.00" 148.50  1920 2448 2492 2640  1080 1084 1089 1125  -HSync +Vsync<br />
xrandr --newmode "1920x1080_60.00" 148.50  1920 2008 2052 2200  1080 1084 1089 1125  -HSync +Vsync<br />
xrandr --addmode TMDS-1 1920x1080_24.00<br />
xrandr --addmode TMDS-1 1920x1080_50.00<br />
xrandr --addmode TMDS-1 1920x1080_60.00</code></p>
<p>Now I can switch to any of the new modes, and I have full 1080p video!  The last thing I want to do is make this change permanent.  There are several ways to do this.  The best way is to edit xorg.conf:</p>
<pre>Section "Device"
        Identifier      "Configured Video Device"
        Option "Monitor-TMDS-1" "Configured Monitor"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        ModeLine "1920x1080_60.00" 148.50  1920 2008 2052 2200  1080 1084 1089 1125  -hsync +vsync
        ModeLine "1920x1080_50.00" 148.50  1920 2448 2492 2640  1080 1084 1089 1125  -hsync +vsync
        ModeLine "1920x1080_24.00" 74.25  1920 2558 2602 2750  1080 1084 1089 1125  -hsync +vsync
        Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Subsection "Display"
                Virtual 1920 1080
        Endsubsection
EndSection</pre>
<p>This sets up the larger virtual frame buffer, creates the new resolutions, and tells X that the display TMDS-1 (the DVI port on this graphics card) should use the settings for &#8220;Configured Monitor&#8221; (normally only the first detected device will use these).</p>
<p>Another way to do this is to edit either /etc/xprofile or ~/.profile for your user.  This is a shell script that is executed as X starts.  If you want just your user to have these changes, use the latter.  If you want all users including the login greeter to have them, use the former.</p>
<pre>#!/bin/bash
# 2009-04-10 tyler - add missing 1080p video modes to DVI output

xrandr --newmode "1920x1080_24.00" 74.25  1920 2558 2602 2750  1080 1084 1089 1125  -HSync +Vsync
xrandr --newmode "1920x1080_50.00" 148.50  1920 2448 2492 2640  1080 1084 1089 1125  -HSync +Vsync
xrandr --newmode "1920x1080_60.00" 148.50  1920 2008 2052 2200  1080 1084 1089 1125  -HSync +Vsync

xrandr --addmode TMDS-1 1920x1080_24.00
xrandr --addmode TMDS-1 1920x1080_50.00
xrandr --addmode TMDS-1 1920x1080_60.00

xrandr --output TMDS-1 --mode "1920x1080_60.00"</pre>
<p>If you&#8217;ll excuse me, I&#8217;m going to get back to watching all my favourite shows without commercials.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sun Java Firefox plugin working on Ubuntu Hardy amd64</title>
		<link>http://www.tolaris.com/2009/04/08/sun-java-firefox-plugin-working-on-ubuntu-hardy-amd64/</link>
		<comments>http://www.tolaris.com/2009/04/08/sun-java-firefox-plugin-working-on-ubuntu-hardy-amd64/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:45:09 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=309</guid>
		<description><![CDATA[Finally, finally, FINALLY! The Sun Java plugin now works on Firefox amd64 in native 64-bit. It has already been included in Ubuntu 9.04 Jaunty, but the packages work just fine on Hardy as well, and probably on Intrepid. Just download and install the Jaunty versions of sun-java6-bin, sun-java6-jre, sun-java6-fonts, and sun-java6-plugin. Install them, and remove [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, finally, FINALLY!  The Sun Java plugin now works on Firefox amd64 in native 64-bit.  It has already been included in Ubuntu 9.04 Jaunty, but the packages work just fine on Hardy as well, and probably on Intrepid.</p>
<p>Just download and install the Jaunty versions of <a href="http://packages.ubuntu.com/jaunty/sun-java6-bin">sun-java6-bin</a>, <a href="http://packages.ubuntu.com/jaunty/sun-java6-jre">sun-java6-jre</a>, <a href="http://packages.ubuntu.com/jaunty/sun-java6-fonts">sun-java6-fonts</a>, and <a href="http://packages.ubuntu.com/jaunty/sun-java6-plugin">sun-java6-plugin</a>.  Install them, and remove the old icedtea plugin if you have it:</p>
<p><code>sudo dpkg -i sun-java6-bin_6-13-1_amd64.deb sun-java6-fonts_6-13-1_all.deb sun-java6-jre_6-13-1_all.deb sun-java6-plugin_6-13-1_amd64.deb<br />
sudo apt-get remove --purge icedtea-gcjwebplugin</code></p>
<p>Then restart Firefox and Sun java will load natively 64-bit.  Check it:</p>
<p><code>tyler@baal:~$ java -version</code></p>
<pre>java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)</pre>
<p>I&#8217;ve included them in the <a href="/apt-repository/">repository</a>.</p>
<p>Update 2009-07-16: A more recent version is now available in the hardy-updates repository.  I have removed the above copy from my repo.  Intrepid users should upgrade to jaunty anyway, but can still download packages <a href="http://packages.ubuntu.com/hardy-updates/sun-java6-plugin">directly</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/04/08/sun-java-firefox-plugin-working-on-ubuntu-hardy-amd64/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

