Sunday, April 30, 2006

The iMac Dual Core as a media PC

I have updated this post since its original incarnation, and may update it without notice in the future.


I've been dissatisified with my Linux computer as a media PC. Primarily, my 3 year old Dell desktop is not up to the strain of 24/7 service; it is much too noisy for the living room. But it's also painful to make any modification to either MythTV or Linux, a recent upgrade of the NVidia driver ended up being a 3 hour trip on the xorg.conf merry-go-round, and I have absolutely no clue about getting analog audio out of it. At one time, I figured out how to get TOSLink audio out and now I can't just take the computer into the basement and hook it up to cheap desktop speakers; I need an optical port.

As soon as the money is available, I'd like to get an Intel based Mac for my TV room to both serve as a testing and development platform, and as a media PC. When people think Mac OS X media PC, they think Mac Mini, but I see serious limitations.

  • The Mac Mini's graphic hardware is inferior. I want a dedicated graphic card with dedicated VRAM.

  • The Mac Mini supports only one monitor. I'd like a small auxillary monitor for when I'm using the computer as a computer.

  • The small laptop drives in a Mac Mini lack capacity and speed. You end up with noisy, bulky, potentially unreliable external drives.

Therefore, baring dropping $2K on a Macbook Pro, I'm left with the iMac Dual Core. There is surprisingly little verbage on the web about using an iMac as a media PC, so I decided to borrow one from my day job, and check it out.

iMac Dual Core

The 20" iMac is big, nearly as big as my 26" TV. It's too big for what I want: a discrete workstation on which I can find recipes or answer "What have I seen that actress in?" type questions on imdb. The 17" fits better. The second problem is the brightness of the whiteness. I want the area around my TV dark and subdued, even to the point of spray painting the ethernet port's wall plate black. A black iMac would fit right in.


I collected useful auxillary devices with which to test the iMac: an EyeTV 500 HDTV tuner module, The Ball Bluetooth trackball, an ATI Remote Wonder wireless remote control, a Harmony 520 universal remote, and a set of Logitech Z-5500 speakers.

Various Remotes

The Apple iMac remote is sufficient while running Apple's FrontRow application, but I also wanted to run El Gato's EyeTV PVR software, and watch programs recorded by the MythTV server in the basement, all while controlling my speakers and TV. The Apple remote was useless for that. In fact, I had no way to control everything via one remote. My Harmony infrared remote could control my speakers, TV, FrontRow, and EyeTV, but could not control the MythTV frontend. My Remote Wonder could control everything on the Mac but not the speakers or the TV. ATI had good technical reasons for using the more robust radio frequency system over infrared, but if they had used infrared, I could control everything from my Harmony universal remote. As it is, I need two remotes.

ATI Remote Wonder

Harmony 520

By the way, when setting up the Remote Wonder, it is useful to know that FrontRow is located in the /System/Library/CoreServices/ directory of your hard drive. I don't know why it isn't under Applications. I also don't know how to launch FrontRow from the Remote Wonder, there must be a script or helper application which actually launchs the application.

Another by the way, the EyeTV 500 is located under PVRs in the Harmony online database, but the record is not very good, and I ended up manually adding the codes. I also manually added the codes for the Apple remote.

I made good use of The Ball, it shines for across the room web browsing and given more hands on control when needed.

As I've written before, my Syntax Olevia TV, with its 1368x768 native resolution and obtuse DVI implementation is not computer friendly. I ended up driving it at 720p (1280x720) over a VGA connection after DisplayConfigX couldn't save custom resolutions. I had been running the TV at 1366x768 with my Linux box, but I didn't want to fight that fight anymore. It looks fine. Let the TV do the scaling; it's good at it.

The iMac has an optical audio out port, which I plugged into the Inday SPDIF 4x1 Digital Audio Switch which leads to the Z-500's single optical port. I am quite happy Apple has brought digital audio support to the iMac. It just plugged in and worked (sort of, see below.)

Logitech Z-5500 speakers

My next problem was the stupidity of how most media software handle dual monitors. I would like the menu bar on the iMac's built in display; I would like video to appear on my TV. Thus, I could be watching TV and still be able to browse the web or even run a compilation on the little monitor. Having the menu bar appear on the TV is nearly useless. However, most of the media applications I tried assume I want my video on the monitor with the menu bar. FrontRow blanks out the auxillary monitor, while MythTV justs takes over the main monitor. Only EyeTV works correctly. So, to work around this, I made the TV the main monitor, but I hope future versions behave better.


I know this will sound silly in a few years, but the Dual Core iMac has amazingly good performance, both in comparison to the Pentium 4 Linux machine it would replace, and my other Mac, a 1.33 GHz PowerBook G4. The native MythTV frontend for Mac OS X is smooth as silk. EyeTV playback is skip free.

Just as important, the iMac is blessedly quiet. I cannot hear it from the couch. This is critical in a home theatre PC; and the iMac passes the test. It isn't noise free, I can hear it late at night when everything else is off, but quiet.

It is not without problems, however, de-interlacing is not functional on the MythTV frontend, so watching NBC's 1080i content was distracting, while watching FOX 720p content was delightful as I caught up on 3 weeks of 24. EyeTV shows some annoying tearing. Also, the only application which is making proper use of AC3 passthrough mode to my audio receiver is the Apple DVD Player. Neither MythTV nor EyeTV sends raw surround tracks over the optical connection. But these are problems which can be addressed. If push came to shove, I could get the source to MythTV and fix it myself, and I'm sure El Gato is working hard to improve performance on Intel. [Update: version 2.2 of the EyeTV software is out with claimed support for digital audio on Intel based Macs.]

The version of the MythTV frontend I downloaded was not full featured; I don't really care about the lack of most features (weather would by nice) but I would like the saved videos feature. A ripped DVD server would be good. And, the iMac couldn't do anything about the lousy Live TV performance by the MythTV server. FrontRow stopped responding to the infrared remote control once, but control came back after a restart. Again, no big deal if it only happens every now and then.

By the way, my own Remote Remote GH for MythTV works quite well with the Mac MythTV frontend, just remember to let port 6546 through the firewall. It came in quite useful when I misplaced the Remote Wonder.


Let's look at the total outlay for system and peripherals between a Mac Mini and an iMac. Obviously, you don't end up with equivalent systems in the end. With an iMac you end up with a 17" monitor, a slightly faster processor, a much better video sub-system, and a large internal hard drive. With a Mac Mini, you end up with a potentially noisy external drive and no chance of a 2nd monitor, but a much smaller overall size. With a price difference of $277 (18% of the total package cost), I'd say the iMac is very competitive.

=== Keep scrolling. Blogger doesn't like my table ====


iMac Dual Core

Mac Mini Dual Core

Refurbished System



Upgrade to 1GB RAM



Upgrade to 500GB HD



Apple Keyboard



The Ball Trackball



ATI Remote Wonder



Refurbished EyeTV 500



Harmony 520 Remote






Total HD space does not include 100GB internal drive on the Mac Mini, or selling the original iMac drive. This is just a rough price comparison. In fact, I probably wouldn't upgrade the iMacs original 160 GB until it was full, or large SATA drives were much cheaper.


In terms of hardware, the iMac Dual Core has everything needed to fit into my TV room. It is quiet, powerful, and flexible. I wish for a single remote control solution, but I do have a two remote control (and a trackball) solution. The software has a few rough edges, but this does not affect a decision between getting a Mac Mini or an iMac. Overall, I think the iMac (with a few pieces of hardware) an excellent choice as a media PC, and will only get better as Apple, El Gato, and the MythTV community improve their offerings.

It is especially good when compared to my Linux experience. I tried 5 separate media applications; not one had a problem outputting stereo sound. I did not have to tweak hidden .asoundrc files, or recompile video drivers. There were problems with individual applications, but OS X reliably delivered services to the application without any input from me. That was the gratifying part, that I installed 3 pieces of hardware, and 3 third party software packages, and they all worked on the first try; try that with Linux.

Sunday, April 23, 2006

Putting out a first release-Remote Remote GH for MythTV

As I said a few weeks ago, I was writing a small Cocoa application to remotely control my MythTV frontend over my local area network in my home. And I finally got it to the point where it was reasonably stable and reasonably useful. The name of my company is Generally Helpful, and when a product matches that description, it's time to push it out the door.

So, I needed to update my website, which I had not done in years. As an expediency, I just did it all in iWeb using the travel template. It looks quite nice, although I'm sure there will be serious deja vu for people who've seen their share of .Mac pages. And I put together a few help pages using BBEdit so the Help menu would have some content. It's a simple enough to do. Then I had to put together a simple ReadMe in Pages, which I printed out to a PDF file. I like ReadMes which are in PDF format, anybody can read them, they are read-only, they are one file (unlike HTML pages) and you can put any number of pictures and font changes you want. Finally, I built one last Release build, and made sure it actually ran on my system. Sometimes you put out a release build, and there is some dynamic library which is missing and it won't run on any system but your own; I hope that didn't happen.

Then it was a trip to the Disk Utilities "New Image from Folder..." command to create a compressed .dmg file, and I had all the parts needed to publish the site and get going. Then I made announcements to the MythTV user mailing list and the Linux chat section of AVS Forum. I tried to put a posting on Version Tracker, but it has been too long and I couldn't figure out how to report a new product. [Update: I found the Version Tracker submission form.]

Now, I will either get a flood of bug reports and suggestions, or the three people with both PowerBooks and MythTV installations will miss my postings.

Here is the product page.

Thursday, April 13, 2006

Throwing together a digital TV

My wife and I bought our first house recently, which we love. It's a great ranch style brick house in South Nashua, NH. Quiet, sturdy, and expansive.

And I can get along without Comcast, and explore the world of Satellite TV, and high quality over the air broadcast HDTV, while saving money every month; I've a mortgage to pay. I subscribed to Dish Network, and put up a Winegard 9032 UHF roof antenna on the same roof mast the satellite installers mounted the dish. The biggest expense was having an electrician run pairs of RG6 coax cable into wallplates in the TV room and the bedrooms. (If you need some electrical work done in the Nashua area, I can recommend James Electric, he does polished work.)

Winegard 9032 antenna

As I said, we're trying to save on my monthly expenses, which means a basic channel package from Dish, with no HD channels and no locals. I will receive local HDTV programming via my antenna, which also means I will get the finest picture quality; in a strange twist of economics the cheapest programming source, over the air, is the best. And it also means only renting one satellite receiver for the Syntax 26" LT26HVX LCD TV mounted on the wall of the TV room. You can easily end up spending $70 per month on TV just by adding $10 and $5 additions.

It'd be nice to watch some TV in the bedroom, and I did have the electrician wire the bedrooms... But I don't have another TV and while my wife may tolerate my spendy ways, another $900 for an HDTV with an ATSC tuner would be too much both in what we could afford and what little use we'd get out of it. So no new TVs.

But as it happens I had all the components needed to watch digital TV. Most importantly, I had purchased a refurbished LG 3510a HDTV Tuner a few months ago on a whim. Oh, I remember the days when I had whim money... This has a VGA output—it's labeled an RGB output—which I plugged into a 17 inch Viewsonic CRT I haven't gotten around to throwing away, and a digital coax audio port which I plugged into the digital input of a set of unused, but nice, 2.1 computer speakers. The receiver can be set to convert AC3 streams to PCM, which the speakers understand. And I can drape the corded speaker remote around the headboard for easy access; as I can't control the audio via the receiver's remote.

LG 3510A Back

So, for an outlay of $159 for the tuner, and stuff for which I had no other use, I have a small hi-def digital TV. The LG 3510a is also a QAM tuner, so if I were to go back to regular cable, I could watch HD locals via the cable company. And when I eventually upgrade the main TV, the Syntax can move to the bedroom and get its content from the 3510A.

LG 3510A

Finally, it looks and sounds good. LCD TVs do not show standard definition programming well; my CRT monitor does. HiDef content looks amazing in both richness of color and clarity, although it might be a little scrunched. And the digital sound is rich and clear. The tuner has a built in DVD player too, but my firmware revision doesn't allow DVD content via the RGB port, in an attempt to limit theft by pirates too stupid to either bitwise copy the DVD or rip it. Oh well, the 3510A's DVD player never worked well anyway.