Mailing List Archive

help needed with osd pb (ivtv-0.4.0)
Thank to all developpers for the fantastic work done on ivtv driver.
i upgraded to 0.4.0 version in order to have xv support which works
fine. I have a pvr-350 and I am using tv-out with mythtv 0.16.

Since my upgrade to ivtv 0.4.0, dmesg shows the following message each
time I use the osd while watching a recorded program:

Oct 11 18:43:58 mythtv kernel: ivtv0 warning: prep_user_dma: SG_length 0
page_count 400 still full?
Oct 11 18:43:58 mythtv kernel: ivtv0-osd warning:
ivtvfb_prep_dec_dma_to_device, Error with get_user_pages: 1376256 bytes,
400 pages returned
Oct 11 18:43:58 mythtv kernel: ivtv0-osd warning: Error: prep osd dma to
device rc=-5
Oct 11 18:43:58 mythtv kernel: ivtv0-osd warning: DMA xfer from 426c1000
of 1376256 bytes failed with (-5) offset = 0x0, total 1376256

Finally mythtv freezes. I didn't have this problem with my previous
version of ivtv.

Is someone can help me to solve this problem? I couldn't find the answer
in ivtv howtos .

Gael

-----------------------------------------------------------------



ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.0 (tagged release) loading
ivtv: Linux version: 2.4.25-chw
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv0: Autodetected WinTV PVR 350 card (iTVC15 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tda9885/6/7: chip found @ 0x86
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
i2c-core.o: client [tda9887] registered to adapter [ivtv i2c driver
#0](pos. 0).
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
i2c-core.o: client [(tuner unset)] registered to adapter [ivtv i2c
driver #0](pos. 1).
tuner: type set to 45 (Microtune 4049 FM5) by insmod option
tuner: The type=<n> insmod option will go away soon.
tuner: Please use the tuner=<n> option provided by
tuner: tv aard core driver (bttv, saa7134, ...) instead.
saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
i2c-core.o: client [saa7127] registered to adapter [ivtv i2c driver
#0](pos. 2).
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
i2c-core.o: client [saa7115] registered to adapter [ivtv i2c driver
#0](pos. 3).
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Oct 10 2005 18:19:15
ivtv0: i2c attach to card #0 ok [client=MSP3418W-A2, addr=40]
i2c-core.o: client [MSP3418W-A2] registered to adapter [ivtv i2c driver
#0](pos. 4).
i2c-core.o: adapter ivtv i2c driver #0 registered as adapter 0.
i2c-core.o: driver tveeprom registered.
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48139, rev = J352, serial# = 2842363
tveeprom: tuner = Microtune 4049 FM5 (idx = 52, type = 45)
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]
i2c-core.o: client [tveeprom] registered to adapter [ivtv i2c driver
#0](pos. 5).
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: loading /lib/modules/ivtv-fw-dec.bin
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: loading /lib/modules/ivtv_init_mpeg.bin
tda9885/6/7: configure for: PAL-BG
tda9885/6/7: writing: b=0xd0 c=0x70 e=0x09
spurious 8259A interrupt: IRQ7.
ivtv0: Initialized WinTV PVR 350, card #0
ivtv: ==================== END INIT IVTV ====================
ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv0-osd warning: Framebuffer is at decoder-relative address 0x00510000
and has 1704960 bytes.
ivtv0-osd: screen coords: [0 0] -> [720 576]
ivtv0-osd: original global alpha = 208
ivtv0-osd: current OSD state = 39
ivtv0-osd: new global alpha = 208 (1 255 0)
ivtv0-osd: framebuffer at 0xd1510000, mapped to 0xf9b44000, size 1620k
ivtv0-osd: mode is 720x576x32, linelength=2880
ivtv0-osd: fb1: iTVC15 TV out frame buffer device
ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)
lirc_dev: IR Remote Control driver registered, at major 61
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
i2c-core.o: driver i2c ir driver registered.
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
i2c-core.o: client [Hauppauge IR] registered to adapter [ivtv i2c driver
#0](pos. 6).
lirc_dev: lirc_register_plugin:sample_rate: 10
tda9885/6/7: configure for: NTSC-M
tda9885/6/7: writing: b=0xd0 c=0x70 e=0x44
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
tda9885/6/7: insmod fixup: SECAM => SECAM-L
tda9885/6/7: configure for: SECAM-L
tda9885/6/7: writing: b=0xc4 c=0x10 e=0x0b
help needed with osd pb (ivtv-0.4.0) [ In reply to ]
Gael Roty wrote:
> Thank to all developpers for the fantastic work done on ivtv driver.
> i upgraded to 0.4.0 version in order to have xv support which works
> fine. I have a pvr-350 and I am using tv-out with mythtv 0.16.

In the following mailingthread returned by google ivtv FB/OSD/X11/XV
developer John Harvey suggests to upgrade to mythtv 0.18.2:
http://www.gossamer-threads.com/lists/ivtv/devel/24487?page=last

If any problem remains please send a follow-up to the ivtv-devel
mailinglist (no crossposting) so that the developers can have a look.

--
Paul
help needed with osd pb (ivtv-0.4.0) [ In reply to ]
> tda9885/6/7: chip found @ 0x86

Sounds like Paul pegged your problem, but there was some stuff in your
dmesg that looks wrong. First, why is this loading? I thought tda9887
was for the 150/500 not the 350? Someone correct me if I'm wrong?

> tuner: type set to 45 (Microtune 4049 FM5) by insmod option

You have module options set. You should probably get rid of them; they
aren't generally neccissary or beneficial any more.

> bttv: driver version 0.9.15 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bttv: driver version 0.9.15 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture

Why is bttv loading? This sometimes gets pulled in as a dependancy by
lirc even though it shouldn't I think. Try finding the module and
renaming it bttv.ko.HIDE and rerunning depmod.
help needed with osd pb (ivtv-0.4.0) [ In reply to ]
> tda9885/6/7: chip found @ 0x86

Sounds like Paul pegged your problem, but there was some stuff in your
dmesg that looks wrong. First, why is this loading? I thought tda9887
was for the 150/500 not the 350? Someone correct me if I'm wrong?

> tuner: type set to 45 (Microtune 4049 FM5) by insmod option

You have module options set. You should probably get rid of them; they
aren't generally neccissary or beneficial any more.

> bttv: driver version 0.9.15 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bttv: driver version 0.9.15 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture

Why is bttv loading? This sometimes gets pulled in as a dependancy by
lirc even though it shouldn't I think. Try finding the module and
renaming it bttv.ko.HIDE and rerunning depmod.