S h o r t S t o r i e s

// Tales from software development

Runs on Windows! (Maybe not…)

leave a comment »

Fifteen months ago I bought a Logitech SqueezeBox and a Tranquil T7 PC to run Logitech’s media centre software, SqueezeCenter. I’ve been trying to get the two to work together ever since and, this week, I’ve more or less finally admitted defeat.

The problem is that the SqueezeBox will play music for a while and then just stop for no obvious reason. Sometimes it will play for hours on end before stopping while other times it plays a couple of songs and then stops. But it always stops.

Then there’s the pops and crackles. This is supposed to be an audiophile device and it really shouldn’t do that.

I started off with SqueezeCenter’s predecessor, SlimServer. SlimServer was superceded by SqueezeCenter but I stuck with SlimServer while I tried to determine the source of the problem but eventually upgraded to the latest official release a few months ago. In desperation, I’ve tried installing one of the latest beta releases in the hope that it might provide a solution. So far, this is what I’ve done to identify the problem:

  • Replace my Router/Modem/WiFi Access Point with a later model.
  • Install a dedicated, more powerful, WiFi access point.
  • Move my SqueezeBox so that it has a good line of sight with the WiFi access point. I now get 80% signal strength all the time.
  • Upgrade SlimServer
  • Uninstall SlimServer and install the latest production release of SqueezeCenter. This upgrades the SqueezeBox firmware too.
  • Install the latest RealTek 8169 NIC drivers on the Tranquil T7.
  • Try just about every setting in SqueezeCenter that could be relevant, and a whole load that probably aren’t. For example, it’s running with the highest process priority available.
  • Move the T7 so that it’s next to the SqueezeBox and connect the two using a network cable.
  • Uninstall SqueezeCenter and install the latest beta with another firmware upgrade for the SqueezeBox.
  • Install another version of the latest RealTek 8169 NIC drivers on the T7.
  • Changed the NIC driver’s options – Hardware Flow Control, Offload Tc/Rx Checksum, Enable Jumbo Frames, etc.

I’ve contacted Tranquil support and Logitech support. Tranquil were happy to look into it once I’d provided details of the original order, invoice number, serial number, etc. Logitech were quick to say that they couldn’t help me as soon as I mentioned that I was running Windows Server 2003 on the Tranquil.

SqueezeCenter has an extensive set of debug switches that can be set to determine what’s going on but no readily accessible documentation for the switches or how to interpret the debug output created. After trawling around the SqueezeCenter forums for a few evenings I had a vague idea of which switches to set and tried them. Because I couldn’t find any details on the debug output I’m guessing at what the log shows but it looks like the SqueezeBox is suffering buffer underruns. The network is capable of sustaining traffic of at least an order of magnitude higher than the SqueezeBox needs so if there are buffer underruns then it’s likely to be because of a communication error between the SqueezeBox and SqueezeCenter, or the SqueezeBox isn’t requesting data when it should, or SqueezeCenter is not providing data when requested. I suppose there’s still the possibility of some kind of hardware glitch too except that the network performance tests that can be run from the SqueezeBox didn’t show up any problems.

It had never occurred to me that this could be the problem because surely SqueezeCenter is just a Windows application and if it runs on Windows 2000, XP, and Vista, then why should Server 2003 be an issue ? Interestingly enough, a lot of people run SqueezeCenter on Windows Home Server which is built on a core of Server 2003. Most WHS users seem to be able to run SqueezeCenter without any problems.

I was fairly annoyed about this because I don’t remember Logitech being very specific about which versions of Windows were supported when read the advertising material on the SqueezeBox. I went and checked the current info on their web site and, sure enough, it’s pretty vague in the high level info but it does specify Windows 2000, XP, and Vista, in the specifications.

I do understand that a manufacturer like Logitech cannot realistically support every version of Windows ever released but it’s not like I’m trying to run SqueezeCenter on Windows 3.1 is it ? Surely it’s not unreasonable to expect media server software to run on a current or one level back version of WIndows Server ?

As an experiment, I installed SqueezeCenter on a laptop running Windows XP and hooked it up to the SqueezeBox. It played music for over 48 hours without a single glitch – no stops, no pops and crackles. Unfortunately, this doesn’t prove that it’s a Windows issue. If it’s a problem with the T7’s NIC or its driver on then this would also explain why running SqueezeCenter on the laptop was successful.

I’m still not convinced that the problem is with the operating system but I can’t really ask Tranquil to pursue a possible issue with the hardware in the T7 because Logitech have said that they can’t guarantee that the issue isn’t with SqueezeCenter running on an unsupported version of Windows.

So, I have several hundred pounds invested in a supposedly audiophile solution that doesn’t work, not to mention several hundred hours of ripping my music to hard disk.

My options appear to be:

  • Give up and go back to CDs.
  • Wipe the T7 and install Windows XP on it. This might solve the problem, or it might not.
  • Give up on the T7 and try different hardware.

I feel like I’ve had enough of trying to get music and computers to work together and the first option is looking very attractive. Unfortunately, it’s just not practical. My CD collection hit the 700 discs limit of my CD storage unit about 10 years ago. Since then, new CDs have been accumulating in piles and boxes around the house. I’ve bought the same CD twice on more than one occasion because I couldn’t find the original copy I had.

I’ve decided on the last option and have ordered another T7. This might seem illogical if I suspect the T7 hardware but the latest T7 is based around an Intel motherboard and an Intel Atom processor rather than the Jetway motherboard and VIA processor in my T7. But, to be sure, I won’t be running Windows Server 2003 on it – after all, Logitech says it’s not supported 😉

Ubuntu 8.10 is looking like a good option, and Logitech supports SqueezeCenter on it.

Advertisements

Written by Sea Monkey

March 11, 2009 at 8:00 pm

Posted in General

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: