MythTV Torture – Part 1

So since last Friday I’ve been attempting to get my new PC up and running with MythTV. I’ve built a HTPC using some the following components:

  • AMD Athlon64 3000+
  • 1 gigabyte of Kingmax RAM
  • DVICO FusionHDTV Plus
  • 250Gb Seagate SATA HDD

I used the apparently simpler KnoppMyth boot cd to install MythTV. Its a sort of live CD based on Debian. Its been bloody annoying so far.

KnoppMyth’s default kernel (2.6.11.7-chw-4) appears to detect the digital TV tuner card. But I can’t get any signal from this fucking thing. According to some people, I needed to patch the kernel using this patch. No dice. Now the system can’t even tell that there’s a card there at all.

Then to get the bloody remote controller working, you have to patch lirc. Unfortunately the patch only patches against an older version of lirc (0.7.0) than what is included in debian (0.7.1pre2). SO, I have to uninstall all the lirc debs, but when I do that, due to dependancies, it goes to remove xawtv, xmame-common, xmame-gl, xmame-sdl and xmame-x.Get fucked. I don’t think so. This is pathetic.

Then due to some wacky reason that I can’t figure out, networking attempts to start up before any kernel modules have been loaded. No network card module, no networking starting… what the hell!?!

OK, so its not all bad. Downloading of the TV schedule works as it should, MAME, SNES and NES emulation all works nicely. It’ll play my mp3s, although the interface for browsing songs is completely retarded. Programs like iTunes and Rhythmbox can provide some inspiration here surely.

It’ll play most of my videos (although, as I expected, it barfs on realmedia and quicktime movies).

Most of the documentation that I’ve seen for this project has been pretty appauling. Its been a while, but the documentation is that bad that I actually want to contribute to this darn project.And I think I will. I don’t think I can sleep at night knowing that other people are stumbling round, experiencing the same level of pain and agony that I’m currently going through. There are some MythTV wikis, but even though appear to be pretty sparse.

I’ve also started looking into the MythGame modules. The current NES configuration module doesn’t support passing any switches to the emulator (FCE Ultra). So far I’ve put the switches I need into a script, then I get the module to use that instead of the fceu binary. Looking through the other MythGame modules, it shouldn’t be too difficult to write a complete configuration module for this emulator.

If that all works, I’ll probably look at some other emulators like perhaps Hu-Go! (PC Engine) and DGen/Gens (Sega Genesis/Megadrive) if someone else hasn’t already.

So far going to work at 3am on Sunday morning to attend to a network outage on a production server was actually less annoying than this experience has been. I feel like I’ve gone back a decade when I first started messing around with linux, spending way too long on am XF86config file or attempting to get a working ppp or slip chat script. I can’t say I’d recommend mythtv at all at this point in time. Hopefully I’ll get around all these hurdles (there’s really only two large ones right now) I’ll be less pissed off about, but for now, arrrgh…

Update: It should probably be noted that most of my problems with this setup come down to my choice in digital tv tuner card. There are other choices out there which are supposed to work better. The only problem I found when selecting a card was that either the ones that worked were analogue or were EOL’ed. Or if I could find ones that worked in Australia, they didn’t support linux at all.

In regards to the remote controller, KnoppMyth works with Hauppage controllers out of the box (why lirc doesn’t have support for more than one controller without having to recompile is beyond me… I’m sure there’s some reason for it). Right now a bluetooth, RF or IR keyboard is looking a lot more tempting (and less painful).

4 thoughts on “MythTV Torture – Part 1”

  1. the people b4 you should hang their head in shame for not writing up their OWN documentation!!

    this sounds worse than my netgear vs mac vs netgear issue i had earlier in the year, thankfully it’s solved and my documentation is googleable.

  2. I really enjoyed reading your blog. I found it while doing my morning browsing and wanted to mail personally to congratulate you on your Work and Your Wedding as well (a few years late but I’m a sap at heart and love to see couples get married).
    Keep up the great work and if you have time drop me a line sometime. I’d love to send u the material from my new label.

    With Kindest Regards from our family to yours:
    Claude (& Yukiko) Young

  3. The card will work fine with a recent kernel. I am running an unpatched 2.6.12-rc2 (on Debian sid), but I think recent 2.6.11.x kernels will work too. Lirc support is in the lirc CVS. Either package it to resolve your dependancy issue, or just leave the lib installed, and run the CVS version from /usr/local (the default).
    Did you choose the card to be enabled in the kernel config? Perhaps that is why it isn’t detecting. That patch worked fine for me, but it isn’t needed any more.
    The steps at the top of http://www.itee.uq.edu.au/~chrisp/Linux-DVB/DVICO/ are pretty clear. Compile in DVB support for Conexant 2388x, and then “modprobe cx88-dvb”.
    After evaluating a few PVR products on Linux and Windows, Mythtv easily was the best for my needs.

  4. In regards to the patch, I already did what you described above. I followed the instructions over at the site with the Linux DVICO patch (that was the link in the original post to ““this patch”). I successfully patched the kernel and compiled the kernel modules. Just that issuing a “modprobe cx88-dvb” doesn’t find anything at all. That’s what I referring to in the post hence the comment:

    “I needed to patch the kernel using this patch. No dice. Now the system can’t even tell that there’s a card there at all.”

    At the moment I’m going to need to get my antenna on the roof of my house checked out first since have the feeling that the cx88-dvb module in the current KnoppMyth does work, but its that my reception is ratshit (ie I can’t receive channel 7 even though I live about 3 blocks away from Channel 7)

Comments are closed.