On Feb 10, 2008, at 3:08 PM, Ricardo Lugo wrote:

On Feb 7, 2008, at 7:26 AM, Daniel Arfsten wrote:

<snip>
dmesg shows this error whenever a recording occurs and the only other thing that I am doing is running 2 torrents.

[540732.313149] ivtv0: All encoder MPEG stream buffers are full. Dropping data. [540732.313153] ivtv0: Cause: the application is not reading fast enough.

I also happened to use my myth box as my BitTorrent machine for a while, and observed the exact same thing. Plain and simply, BitTorrent is a resource-intensive application and so is MythTV recording with a PVR-x50. So much so that the computer cannot keep up with both tasks.

I have found that setting the MythTV "User Job" (ie Commercial Flagging) CPU utilization to "Low" helps out, as that is also an I/O intensive process. Running BitTorrent with a nice -20 might also help.

Correction: nice +20


The bottom line, however, is that if you want a solid PVR-350 recording, you have to have enough CPU and I/O resources to store it as fast as the PVR-350 is recording it. In your case, that might mean not running BitTorrent or any other I/O intensive applications while recording.

- Rick

I have checked all hard drives, according to dmesg, they have DMA set.

ata1.00: configured for UDMA/133
ata2.00: configured for UDMA/133

I have set the PCI latency on the hard drive controllers to 176 per a suggestion I found. lspci shows:

00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: ASRock Incorporation Unknown device 0591
        Flags: bus master, medium devsel, latency 176, IRQ 21

I changed the ivtv parameters to increase the buffers. I use this in /etc/modprobe.conf:

options ivtv enc_yuv_buffers=32 enc_mpg_buffers=16 enc_vbi_buffers=16 enc_pcm_buffers=16

it appears that the parameters are being used by looking at dmesg | grep ivtv:

[ 19.223220] ivtv0: Registered device video0 for encoder MPEG (16 MB)

The only other thing that sticks out is this message in dmesg:
[   18.779434] ivtv0: Encoder revision: 0x02050032
[   18.779438] ivtv0: Recommended firmware version is 0x02060039.

Could that be the problem? How would I go about changing the firmware for the PVR-350? If someone could point me to an exact guide I would appreciate it. Also, ivtv was "just installed" automagically in ubuntu so I never had to compile it or anything like that. Would something mess up if I only change out the firmware? Excuse the questions but I am new to firmware and what not. Is firmware just like drivers or modules?

So I can't think of what else to do to solve this. Can anyone suggest anything???

Daniel
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to