Hello, i have installed on a AMD64 box (3400+) a PVR 250, ivtv 0.2.0rc3c and MythTV 0.16. Distribution is gentoo (Kernel 2.6.10).
I get the picture and sound at live TV, but every 3 seconds the Picture and Sound stops for about 1 second. I use the preferred firmware as listed in the wiki page (pvr_1.18.21.22168_inf.zip). Two things i can see which may cause the intermittent stops: At ivtv-load time it complains about a buggy firmware (see attachment: ivtv-load.txt). How to correlate the hex number listed with the firmware lists at the wiki page ? At running time (while watching tv) i see DMA buffer underruns. It says "ivtv: Timeout waiting for data! Encoder buffers have 0x00000000 bytes." followed by "ivtv: ENC: REG_DMAXFER wait failed". See attached ivtv-error.txt. Any hints ? regards Petric
Jan 2 11:18:16 a64 ivtv: ==================== START INIT IVTV ==================== Jan 2 11:18:16 a64 ivtv: version 0.2.0 (rc3b) loading Jan 2 11:18:16 a64 ivtv: Linux version: 2.6.10-gentoo-r1 gcc-3.4 Jan 2 11:18:16 a64 ivtv: In case of problems please include the debug info Jan 2 11:18:16 a64 ivtv: between the START INIT IVTV and END INIT IVTV lines when Jan 2 11:18:16 a64 ivtv: mailing the ivtv-devel mailinglist. Jan 2 11:18:16 a64 ivtv: Autodetected WinTV PVR 250 card Jan 2 11:18:16 a64 ivtv: Found an iTVC16 based chip Jan 2 11:18:16 a64 ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 209 Jan 2 11:18:16 a64 ivtv: Unreasonably low latency timer, setting to 64 (was 32) Jan 2 11:18:16 a64 ivtv: VIA PCI device: 0x3188 vendor: 0x1106 Jan 2 11:18:16 a64 tveeprom: Hauppauge: model = 32054, rev = B148, serial# = 7160897 Jan 2 11:18:16 a64 tveeprom: tuner = LG TP18PSB11D (idx = 48, type = 29) Jan 2 11:18:16 a64 tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, v4l2 = 0x00000007) Jan 2 11:18:16 a64 tveeprom: audio_processor = CS5331 (type = 9) Jan 2 11:18:16 a64 ivtv: i2c attach [client=tveeprom[0],ok] Jan 2 11:18:16 a64 ivtv: Tuner Type 29, Tuner formats 0x00000007, Radio: yes, Model 0x00891518, Revision 0x00000000 Jan 2 11:18:16 a64 ivtv: PAL tuner detected Jan 2 11:18:16 a64 ivtv: Radio detected Jan 2 11:18:16 a64 tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Jan 2 11:18:16 a64 ivtv: i2c attach [client=(tuner unset),ok] Jan 2 11:18:17 a64 saa7115: starting probe for adapter SMBus Via Pro adapter at 0400 (0x0) Jan 2 11:18:17 a64 saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) Jan 2 11:18:17 a64 saa7115: detecting saa7115 client on address 0x42 Jan 2 11:18:17 a64 saa7115: writing init values Jan 2 11:18:17 a64 ivtv: i2c attach [client=saa7115[0],ok] Jan 2 11:18:17 a64 saa7115: status: (1E) 0x48, (1F) 0xc0 Jan 2 11:18:17 a64 msp34xx: ivtv version Jan 2 11:18:17 a64 msp34xx: init: chip=MSP3418W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode Jan 2 11:18:17 a64 msp34xx: $Id$ compiled on: Jan 2 2005 11:06:55 Jan 2 11:18:17 a64 ivtv: i2c attach [client=MSP3418W-A2,ok] Jan 2 11:18:18 a64 ivtv: Encoder revision: 0x02040024 Jan 2 11:18:18 a64 ivtv: Encoder Firmware is buggy, use version 0x02040011 Jan 2 11:18:18 a64 ivtv: Configuring WinTV PVR 250 card with 5 streams Jan 2 11:18:18 a64 ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total Jan 2 11:18:18 a64 ivtv: Registered v4l2 device, streamtype 0 minor 0 Jan 2 11:18:18 a64 ivtv: Create DMA stream 1 Jan 2 11:18:18 a64 ivtv: Registered v4l2 device, streamtype 1 minor 32 Jan 2 11:18:18 a64 ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total Jan 2 11:18:18 a64 ivtv: Registered v4l2 device, streamtype 2 minor 224 Jan 2 11:18:18 a64 ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total Jan 2 11:18:18 a64 ivtv: Registered v4l2 device, streamtype 3 minor 24 Jan 2 11:18:18 a64 ivtv: Create stream 4 Jan 2 11:18:18 a64 ivtv: Registered v4l2 device, streamtype 4 minor 64 Jan 2 11:18:18 a64 ivtv: Setting Tuner 29 Jan 2 11:18:18 a64 tuner: type set to 29 (LG PAL_BG (TPI8PSB11D)) by ivtv i2c driver #0 Jan 2 11:18:18 a64 ivtv: Setting audio matrix to input 3, output 1 Jan 2 11:18:18 a64 ivtv: Switching standard to PAL. Jan 2 11:18:18 a64 ivtv: ivtv_enc_thread: pid = 9883, itv = 0xffffffffa01536e0 Jan 2 11:18:18 a64 saa7115: decoder set norm PAL Jan 2 11:18:18 a64 saa7115: set audio: 0x01 Jan 2 11:18:18 a64 ivtv: Initialized WinTV PVR 250, card #0 Jan 2 11:18:18 a64 ivtv: ==================== END INIT IVTV ====================
Jan 2 18:43:04 a64 saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Jan 2 18:43:04 a64 saa7115: decoder set size Jan 2 18:43:05 a64 saa7115: decoder disable output Jan 2 18:43:05 a64 saa7115: decoder enable output Jan 2 18:43:05 a64 ivtv: Timeout waiting for data! Encoder buffers have 0x00000000 bytes. Jan 2 18:43:05 a64 saa7115: status: 0xc0 Jan 2 18:43:05 a64 ivtv: Resetting digitizer Jan 2 18:43:05 a64 saa7115: decoder RESET ivtv: ENC: REG_DMAXFER wait failed Jan 2 18:43:05 a64 ivtv: DMA Registers State: xfer: 0x00000000, state: 0x00000003 dec_addr: 0x00000000 enc_addr: 0x152c0060 control: 0x00000002 Jan 2 18:43:05 a64 ivtv: DMA DEC Buffers: Jan 2 18:43:05 a64 0x00000000:0x00000000:0x00000000 Jan 2 18:43:05 a64 ivtv: DMA ENC Buffers: Jan 2 18:43:05 a64 0x000dbb1c:0x15248000:0x00004000 Jan 2 18:43:05 a64 0x000dfb1c:0x12c4c000:0x00004000 Jan 2 18:43:05 a64 0x000e3b1c:0x1500c000:0x00004000 Jan 2 18:43:05 a64 0x000e7b1c:0x15210000:0x00004000 Jan 2 18:43:05 a64 0x000ebb1c:0x14c5c000:0x80004000 Jan 2 18:43:05 a64 0xfefffffd:0xdedffeff:0x8003ffff Jan 2 18:43:05 a64 0xffffffff:0x9fdffefc:0x8003ffff Jan 2 18:43:05 a64 0xeee3ef07:0xff7f7dff:0x80014fdf Jan 2 18:43:05 a64 ivtv: Timeout waiting for data! Encoder buffers have 0x00000000 bytes. Jan 2 18:43:05 a64 ivtv: ENC: REG_DMAXFER wait failed Jan 2 18:43:05 a64 ivtv: DMA Registers State: xfer: 0x00000000, state: 0x00000003 dec_addr: 0x00000000 enc_addr: 0x152c0060 control: 0x00000002 Jan 2 18:43:05 a64 ivtv: DMA DEC Buffers: Jan 2 18:43:05 a64 0x00000000:0x00000000:0x00000000 Jan 2 18:43:05 a64 ivtv: DMA ENC Buffers: Jan 2 18:43:05 a64 0x000eeadc:0x15414000:0x80004000
