[mythtv-users] no more X on the PVR-350's TV-Out after upgrade to FC6

Claude Gélinas agr. claude at phyto.qc.ca
Fri Feb 23 02:31:41 UTC 2007


I just upgraded a fc4 mythtv perfectly running, high WAF system to fc6

Now I'm no longer able to start X on my PVR 350 TV-out.

My system have one PVR 350 and one PVR 500mce
It's FC6 x86_64. I've upgraded via CD and updated the system via yum
after. this is a complete system with backend and frontend on the same
machine.
kernel is 2.6.19-1.2911.fc6
Mythtv is the latest on artrpms 0.20-152
ivtv is 0.10.0-125
ivtv-firmware 1.8a-13
ivtv-kmdl 2.6.19-1.2911
ivtv-xdriver 0.10.7-8_r3843

backend is running,
I can view the TV by starting mythfrontend on an ssh -X connection via
another machine. I get perfect sound and image. Only problem,I need to
be root to start it... probably a permission problem to adjust.

dmesg say that both three decoder are detected:

Feb 18 18:21:46 video kernel: ivtv:  ==================== START INIT
IVTV ====================
Feb 18 18:21:46 video kernel: ivtv:  version 0.7.1 (tagged release)
loading
Feb 18 18:21:46 video kernel: ivtv:  Linux version: 2.6.17-1.2142_FC4
mod_unload gcc-4.0
Feb 18 18:21:46 video kernel: ivtv:  In case of problems please include
the debug info between
Feb 18 18:21:46 video kernel: ivtv:  the START INIT IVTV and END INIT
IVTV lines, along with
Feb 18 18:21:46 video kernel: ivtv:  any module options, when mailing
the ivtv-users mailinglist.
Feb 18 18:21:46 video kernel: ivtv0: Autodetected Hauppauge WinTV
PVR-350 card (cx23415 based)
Feb 18 18:21:46 video kernel: ACPI: PCI Interrupt Link [APC1] enabled at
IRQ 16
Feb 18 18:21:47 video kernel: GSI 20 sharing vector 0x3A and IRQ 20
Feb 18 18:21:47 video kernel: ACPI: PCI Interrupt 0000:05:06.0[A] ->
Link [APC1] -> GSI 16 (level, low) -> IRQ 58
Feb 18 18:21:47 video kernel: ivtv0: Unreasonably low latency timer,
setting to 64 (was 32)
Feb 18 18:21:47 video kernel: tveeprom 0-0050: Hauppauge model 48132,
rev K168, serial# 2947402
Feb 18 18:21:47 video kernel: tveeprom 0-0050: tuner model is LG TAPE
H001F MK3 (idx 68, type 47)
Feb 18 18:21:47 video kernel: tveeprom 0-0050: TV standards NTSC(M)
(eeprom 0x08)
Feb 18 18:21:47 video kernel: tveeprom 0-0050: audio processor is
MSP4448 (idx 27)
Feb 18 18:21:47 video kernel: tveeprom 0-0050: decoder processor is
SAA7115 (idx 19)
Feb 18 18:21:47 video kernel: tveeprom 0-0050: has radio, has IR remote
Feb 18 18:21:47 video kernel: tuner 0-0061: chip found @ 0xc2 (ivtv i2c
driver #0)
Feb 18 18:21:47 video kernel: tda9887 0-0043: chip found @ 0x86 (ivtv
i2c driver #0)
Feb 18 18:21:47 video kernel: saa7115 0-0021: saa7115 found @ 0x42 (ivtv
i2c driver #0)
Feb 18 18:21:47 video kernel: saa7127 0-0044: saa7127 found @ 0x88 (ivtv
i2c driver #0)
Feb 18 18:21:47 video kernel: msp3400 0-0040: MSP4448G-A2 found @ 0x80
(ivtv i2c driver #0)
Feb 18 18:21:47 video kernel: msp3400 0-0040: MSP4448G-A2 supports
radio, mode is autodetect and autoselect
Feb 18 18:21:47 video kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware
(262144 bytes)
Feb 18 18:21:48 video kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware
(262144 bytes)
Feb 18 18:21:48 video kernel: ivtv0: Encoder revision: 0x02050032
Feb 18 18:21:48 video kernel: ivtv0: Decoder revision: 0x02020023
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA encoder MPEG stream:
128 x 32768 buffers (4096KB total)
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA encoder YUV stream:
194 x 10800 buffers (2048KB total)
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA encoder VBI stream:
120 x 17472 buffers (2048KB total)
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA encoder PCM audio
stream: 455 x 4608 buffers (2048KB total)
Feb 18 18:21:48 video kernel: ivtv0: Create encoder radio stream
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA decoder MPEG stream:
16 x 65536 buffers (1024KB total)
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA decoder VBI stream:
512 x 2048 buffers (1024KB total)
Feb 18 18:21:48 video kernel: ivtv0: Create decoder VOUT stream
Feb 18 18:21:48 video kernel: ivtv0: Allocate DMA decoder YUV stream: 24
x 43200 buffers (1024KB total)
Feb 18 18:21:48 video kernel: ivtv0: loaded v4l-cx2341x-init.mpg
firmware (155648 bytes)
Feb 18 18:21:48 video kernel: tuner 0-0061: type set to 47 (LG NTSC
(TAPE series))
Feb 18 18:21:48 video kernel: ivtv0: Initialized Hauppauge WinTV
PVR-350, card #0
Feb 18 18:21:48 video kernel: ivtv:  ======================  NEXT CARD
======================
Feb 18 18:21:48 video gpm[3346]: *** info [startup.c(95)]:
Feb 18 18:21:48 video kernel: ivtv1: Autodetected Hauppauge WinTV
PVR-150 card (cx23416 based)
Feb 18 18:21:48 video gpm[3346]: Started gpm successfully. Entered
daemon mode.
Feb 18 18:21:48 video kernel: ACPI: PCI Interrupt Link [APC3] enabled at
IRQ 18
Feb 18 18:21:48 video gpm[3346]: *** info [mice.c(1766)]:
Feb 18 18:21:48 video kernel: GSI 21 sharing vector 0x42 and IRQ 21
Feb 18 18:21:48 video gpm[3346]: imps2: Auto-detected intellimouse PS/2
Feb 18 18:21:48 video kernel: ACPI: PCI Interrupt 0000:06:08.0[A] ->
Link [APC3] -> GSI 18 (level, low) -> IRQ 66
Feb 18 18:21:49 video kernel: ivtv1: Unreasonably low latency timer,
setting to 64 (was 32)
Feb 18 18:21:49 video kernel: tuner 1-0060: TEA5767 detected.
Feb 18 18:21:49 video kernel: tuner 1-0060: chip found @ 0xc0 (ivtv i2c
driver #1)
Feb 18 18:21:49 video kernel: tuner 1-0060: type set to 62 (Philips
TEA5767HN FM Radio)
Feb 18 18:21:49 video kernel: tuner 1-0061: chip found @ 0xc2 (ivtv i2c
driver #1)
Feb 18 18:21:49 video kernel: tveeprom 1-0050: Hauppauge model 23552,
rev E587, serial# 8363255
Feb 18 18:21:49 video kernel: tveeprom 1-0050: tuner model is Samsung
TCPN 2121P30A (idx 87, type 70)
Feb 18 18:21:49 video kernel: tveeprom 1-0050: TV standards NTSC(M)
(eeprom 0x08)
Feb 18 18:21:49 video kernel: tveeprom 1-0050: second tuner model is
Philips TEA5768HL FM Radio (idx 101, type 62)
Feb 18 18:21:49 video kernel: tveeprom 1-0050: audio processor is
CX25843 (idx 37)
Feb 18 18:21:49 video kernel: tveeprom 1-0050: decoder processor is
CX25843 (idx 30)
Feb 18 18:21:49 video kernel: tveeprom 1-0050: has radio, has no IR
remote
Feb 18 18:21:49 video kernel: ivtv1: This is the first unit of a PVR500
Feb 18 18:21:49 video kernel: cx25840 1-0044: cx25843-23 found @ 0x88
(ivtv i2c driver #1)
Feb 18 18:21:49 video kernel: cx25840 1-0044: loaded v4l-cx25840.fw
firmware (16382 bytes)
Feb 18 18:21:49 video kernel: wm8775 1-001b: chip found @ 0x36 (ivtv i2c
driver #1)
Feb 18 18:21:49 video kernel: ivtv1: loaded v4l-cx2341x-enc.fw firmware
(262144 bytes)
Feb 18 18:21:49 video kernel: ivtv1: Encoder revision: 0x02050032
Feb 18 18:21:49 video kernel: ivtv1: Allocate DMA encoder MPEG stream:
128 x 32768 buffers (4096KB total)
Feb 18 18:21:49 video kernel: ivtv1: Allocate DMA encoder YUV stream:
194 x 10800 buffers (2048KB total)
Feb 18 18:21:49 video kernel: ivtv1: Allocate DMA encoder VBI stream:
120 x 17472 buffers (2048KB total)
Feb 18 18:21:49 video kernel: ivtv1: Allocate DMA encoder PCM audio
stream: 455 x 4608 buffers (2048KB total)
Feb 18 18:21:49 video kernel: ivtv1: Create encoder radio stream
Feb 18 18:21:49 video kernel: tuner 1-0061: type set to 70 (Samsung TCPN
2121P30A)
Feb 18 18:21:49 video kernel: ivtv1: Initialized WinTV PVR 500 (unit
#1), card #1
Feb 18 18:21:49 video kernel: ivtv:  ======================  NEXT CARD
======================
Feb 18 18:21:49 video kernel: ivtv2: Autodetected Hauppauge WinTV
PVR-150 card (cx23416 based)
Feb 18 18:21:49 video kernel: ACPI: PCI Interrupt Link [APC4] enabled at
IRQ 19
Feb 18 18:21:49 video kernel: GSI 22 sharing vector 0x4A and IRQ 22
Feb 18 18:21:49 video kernel: ACPI: PCI Interrupt 0000:06:09.0[A] ->
Link [APC4] -> GSI 19 (level, low) -> IRQ 74
Feb 18 18:21:49 video kernel: ivtv2: Unreasonably low latency timer,
setting to 64 (was 32)
Feb 18 18:21:50 video kernel: tuner 2-0061: chip found @ 0xc2 (ivtv i2c
driver #2)
Feb 18 18:21:50 video kernel: cx25840 2-0044: cx25843-23 found @ 0x88
(ivtv i2c driver #2)
Feb 18 18:21:50 video kernel: cx25840 2-0044: loaded v4l-cx25840.fw
firmware (16382 bytes)
Feb 18 18:21:50 video kernel: wm8775 2-001b: chip found @ 0x36 (ivtv i2c
driver #2)
Feb 18 18:21:50 video kernel: tveeprom 2-0050: Hauppauge model 23552,
rev E587, serial# 8363255
Feb 18 18:21:50 video kernel: tveeprom 2-0050: tuner model is Samsung
TCPN 2121P30A (idx 87, type 70)
Feb 18 18:21:50 video kernel: tveeprom 2-0050: TV standards NTSC(M)
(eeprom 0x08)
Feb 18 18:21:50 video kernel: tveeprom 2-0050: second tuner model is
Philips TEA5768HL FM Radio (idx 101, type 62)
Feb 18 18:21:50 video kernel: tveeprom 2-0050: audio processor is
CX25843 (idx 37)
Feb 18 18:21:50 video kernel: tveeprom 2-0050: decoder processor is
CX25843 (idx 30)
Feb 18 18:21:50 video kernel: tveeprom 2-0050: has radio, has no IR
remote
Feb 18 18:21:50 video kernel: ivtv2: This is the second unit of a PVR500
Feb 18 18:21:50 video kernel: ivtv2: Correcting tveeprom data: no radio
present on second unit
Feb 18 18:21:50 video kernel: ivtv2: loaded v4l-cx2341x-enc.fw firmware
(262144 bytes)
Feb 18 18:21:50 video kernel: ivtv2: Encoder revision: 0x02050032
Feb 18 18:21:50 video kernel: ivtv2: Allocate DMA encoder MPEG stream:
128 x 32768 buffers (4096KB total)
Feb 18 18:21:50 video kernel: ivtv2: Allocate DMA encoder YUV stream:
194 x 10800 buffers (2048KB total)
Feb 18 18:21:50 video kernel: ivtv2: Allocate DMA encoder VBI stream:
120 x 17472 buffers (2048KB total)
Feb 18 18:21:50 video kernel: ivtv2: Allocate DMA encoder PCM audio
stream: 455 x 4608 buffers (2048KB total)
Feb 18 18:21:50 video kernel: tuner 2-0061: type set to 70 (Samsung TCPN
2121P30A)
Feb 18 18:21:50 video kernel: ivtv2: Initialized WinTV PVR 500 (unit
#2), card #2
Feb 18 18:21:50 video kernel: ivtv:  ====================  END INIT IVTV
====================


cat /var/log/messages |grep Initialized:

Feb 21 22:35:11 video kernel: ivtv0: Initialized Hauppauge WinTV
PVR-350, card #0
Feb 21 22:35:11 video kernel: ivtv1: Initialized WinTV PVR 500 (unit
#1), card #1
Feb 21 22:35:11 video kernel: ivtv2: Initialized WinTV PVR 500 (unit
#2), card #2

 and 

video kernel: ivtv0-osd: fb0: cx23415 TV out frame buffer device
ivtv0-fb: Framebuffer at 0xc9510000, mapped to 0xffffc20011210000, size
1665k
Feb 21 00:15:50 video kernel: ivtv0-fb: === Validated display mode  ===
Feb 21 00:15:50 video kernel: ivtv0-fb: Display size 640x400 (640x400
Virtual) @ 8bpp
Feb 21 00:15:50 video kernel: ivtv0-fb: Display position 41,41
Feb 21 00:15:50 video kernel: ivtv0-fb: Display filter : on
Feb 21 00:15:50 video kernel: ivtv0-fb: Color space : RGB
Feb 21 00:15:50 video kernel: ivtv0-fb: === Display mode change ===
Feb 21 00:15:50 video kernel: ivtv0-fb: Display size 640x400 (640x400
Virtual) @ 8bpp
Feb 21 00:15:50 video kernel: ivtv0-fb: Display position 41,41
Feb 21 00:15:50 video kernel: ivtv0-fb: Display filter : on
Feb 21 00:15:50 video kernel: ivtv0-fb: Color space : RGB
Feb 21 00:15:50 video kernel: ivtv0-fb: Framebuffer registered on ivtv
card id 0


xorgs log say:

(II) Primary Device is: PCI 01:00:0
(WW) ivtvdev: No matching Device section for instance (BusID PCI:6:8:0)
found
(WW) ivtvdev: No matching Device section for instance (BusID PCI:6:9:0)
found
(--) Chipset PVR-350 found
(EE) ivtvHWProvbe failed to do IVTVFB_IOCTL_GET_STATE for
device /dev/fb0
(EE) Screen 0 deleted because of no matching config section.
(II) UnloadModule: "ivtvdev"
(EE) Device(s) detected, but none match those in the config file.

(primary device is a Radeon X300 (PCIE) 01:00.0)

lspci:

05:06.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 64, IRQ 16
        Memory at c8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

so I put in xorg.conf:

BusID "PCI:5:6:0 (as i was in FC4 before with the same setup)
Option      "fbdev" "/dev/fb0"
Option      "ivtv" "/dev/fb0"

while watching TV I get tons of error message on the console used to
start the frontend saying :

2007-02-22 20:48:15.365 IVD Error: Failed to process frame
                        eno: Argument invalide (22)
2007-02-22 20:48:15.399 IVD Error: Failed to process frame
                        eno: Argument invalide (22)
..... non stop

dmesg complain about:
ivtv0-fb warning: ivtv_fb_prep_frame: Nothing to do. count = 0
video kernel: i2c_adapter i2c-0: sendbytes: error - bailout.

non stop also, but I can watch TV.

Why I cannot get X on my PVR 350.




-- 
-----
Claude Gélinas agr., dta
Phyto Ressources inc.
==============================================================================
Varennes, Québec, Canada           Tél.: (450) 652 9764,   Fax.:(450) 652 6182
     Des questions sur les insectes et maladies des plantes ornementales ?
                 Want to know more about ornamental plant pest ?
                            http://www.phyto.qc.ca



More information about the mythtv-users mailing list