On 3/5/06, Stefan Haflidason <[EMAIL PROTECTED]> wrote:
On 3/4/06, Stefan Haflidason < [EMAIL PROTECTED]> wrote:
On 3/4/06, Stefan Haflidason < [EMAIL PROTECTED]> wrote:
Hi all,

I'm using mythtv 0.19 with a PVR-350. Recently, I have been getting a constant flickering when watching live tv
through the tuner or s-video inputs. The flickering might be better
described as a fairly regular flash of black.

I am also getting the following errors many times in /var/log/messages:

ivtv0 warning: prep_user_dma: SG_length 400 page_count 400 still full?
ivtv0-osd warning: ivtvfb_prep_dec_dma_to_device, Error with
get_user_pages: 1638400 bytes, 400 pages returned
ivtv0-osd warning: Error: prep osd dma to device rc=-5
ivtv0-osd warning: DMA xfer from b7318008 of 1638400 bytes failed with
(-5) offset = 0x0, total 1638400

I am currently running:

kernel 2.6.10-r9 (Gentoo),
PVR-350,
ivtv 0.4.2 - I have just tried 0.4.0, no difference

The flickering only occurs when using the PVR-350's decoder to watch
something on either input (currently static on the tuner (limited access
to aerial) and tv-out from another computer on the s-video input).
Watching a previous recording works fine.

Thanks,

Stefan.



Here's a related thread which I didn't find when Googling this problem a few days back: http://www.gossamer-threads.com/lists/ivtv/users/26492 - no solution there though.

Also here: http://www.gossamer-threads.com/lists/ivtv/devel/24487?page=last in the dev list, though no real solution.

>From dmesg:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.2 (tagged release) loading
ivtv:  Linux version: 2.6.12-gentoo-r9 SMP preempt K7 gcc-3.3
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [APC2] -> GSI 17 (level, high) -> IRQ 17
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 2961773
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = MSP4418 (type = 19)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 0-0021: ivtv driver
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: ivtv driver
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp3400 0-0040: ivtv driver
msp3400 0-0040: chip=MSP4418G-B3 +nicam +simple +simpler +radio mode=simpler
msp3400 0-0040: msp34xxg daemon started
ivtv0: i2c attach to card #0 ok [client=MSP4418G-B3, addr=40]
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 350, card #0
ivtv:  ====================  END INIT IVTV  ====================


modules.d/ivtv:

alias char-major-81     videodev
alias char-major-81-0   ivtv

alias char-major-61 lirc_i2c
add above ivtv lirc_dev lirc_i2c

This exact problem also occurs with kernel 2.6.15 with compiled support for PVR 350, and ivtv 0.4.2.

I think I can rule out the idea that using an input and output on the same card (350) is causing this, as:
dd if=/dev/video of=/dev/video16 bs=64k
gives me a fine, flicker-free picture going from PC1-svideo -> PC2-350-svideo-in -> PC2-350-svideo-out where PC1 is a spare machine with tv out and PC2 is the myth box.

The finger then points at myth. However, I am yet to see anyone having this problem with myth 0.19 yet.

This is good news, I think, as everything appears to be working apart from this dma problem with ivtv(0)-osd. Thank you to the ivtv developers for creating such excellent drivers.





Please disregard. The problem was caused by having an option in MythTV selected ("Use GUI size for TV playback") which fixed a number of interface issues, but introduced the flickering.

Therefore, the fault is with my configuration of MythTV, and not with ivtv.

Keep up the great work!

Stefan.


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

Reply via email to