Mailing List Archive

rebuffering and live tv
This may be a hardware issue that I'm trying to chase down. I have a
Athlon 2500 and PVR-250 running RH9 with kernel 2.4.21rc2 that seems to
lock up completely with the FSB set to 166 MHz and doesn't crash with
FSB at 133 MHz. Memory bus is 333 MHz with PC2700 dimms speed set by
SPD in bios in both cases. With the FSB at 133 things don't lock up
but my audio starts stuttering and video freezes. It usually recovers
after a few seconds or up to a minute. This happens at random
intervals and duration.

When I check the output of mythfrontend I get the messages shown below.
I have an 120 GB ata100 seagate drive and hdparm reports dma is on.
Top reports mythfrontend is only using 17% of the CPU. The ringbuffer
was set to 6GB but I can't seem to find this setting since the setup
menus changed. Did I just overlook it or is not accessible from the
new menus yet?

The pvr-250 is still using the default settings for audio and video.

I included the piece of code that generates the rebuffering message. I
couldn't figure out what the variable ateof represented. Can someone
explain what this code does? It might help me figure out what's going.

TIA

rebuffering (139265 256000)
rebuffering (144385 256000)
rebuffering (149505 256000)

>>>>>>>>> The message below doesn't always show up
Changing from None to WatchingLiveTV
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 105
>>>>>>>>>>

Delaying to next trigger: 316423
Delaying to next trigger: 267058
Delaying to next trigger: 209758
rebuffering (133121 256000)
rebuffering (133121 256000)


>>>> output from hdparm
[root@localhost mythtv]# /sbin/hdparm -d /dev/hda

/dev/hda:
using_dma = 1 (on)


>>>>> from mythfrontend
if (ateof)
{
readsallowed = true;
totfree = 0;
}

if (!readsallowed && used >= fill_threshold)
readsallowed = true;

if (readsallowed && used < fill_min && !ateof)
{
readsallowed = false;
cerr << "rebuffering (" << used << " " << fill_min << ")\n";
}

>>>>>>>>>>
Re:rebuffering and live tv [ In reply to ]
Sorry, code from RingBuffer.cpp. Not mythfrontend.
Rebuffering messages are from mythfrontend.