[mythtv-users] Performance problem

Ryan Duffy dusteur at excite.com
Fri May 19 10:10:32 UTC 2006

Jonas Björklund wrote:
> Hello,
> On Sun, 14 May 2006, Raphael Pooser wrote:
>>> I have a RS482-IL motherbord and a AMD Turion MT-34.
>>> The motherbord has a ATI Radeon Xpress 200 built in.
>>> I have Hauppauge bt848. Samsung Spinpoint 250GB harddisk.
>>> I have only tried live TV and get performance problem. Every 2 seconds I
>>> get a lag on the picture. :-(
>>> Is my system to slow? CPU? Capture card? Harddisk?
>> I would put the problem at none of the above, and move it on to your
>> graphics card.
>> At least when I first installed the drivers for my ATI card, it wasn't
>> even using XV, causing it to eat up 60% of the processor just to watch a
>> 640x480 stream, and with a software encoder taking about 40% to capture
>> it, I was getting pauses exactly like the ones you're getting.  After
>> making sure I had XV working, I got around 5% to watch a stream by
>> itself, and closer to 50% to watch something live or watch and record at
>> the same time.
>> So I would give your graphics card driver a look.  Are you using fglrx?
>> If so, make sure your vendor string for OGL reads ATI and not mesa, or
>> XV won't be working either.
>> I've heard that XV works perfectly when using "ati" in X, but I don't
>> think "ati" supports the xpress 200, not 100% sure.
>> Also, "ati" won't let you use TV out.
>> Raphael

I see this problem too. 
I really don't think its a CPU problem (I've got a 4400+ X2) and my CPU is barely troubled during playback.

I have a workaround for the problem, which is to pause liveTV for a few seconds and then play. That solves the problem - I've never had any problem in playing pre-recorded shows.

This makes me think it is probably caused by buffering somewhere, since we have one process writing the stream to disk as it arrives, and another reading the stream and playing it. Obviously, if the writing stream only flushes to disk every couple of seconds, then the reading stream will be forced to pause if it runs out of data and has to wait for the next flush. 

Of course, your problem may be different to mine...

Join Excite! - http://www.excite.com
The most personalized portal on the Web!

More information about the mythtv-users mailing list