Okay, here's the problem (and i apologize in
advance if this is covered in an obvious location, and for my disjoined
writing style). When the station on the tuner is changed while video
is being viewed, the IVTV drivers crash (or at least stop responding).
No output is produced in the syslog when the drivers stop responding.
I first noticed the problem while using MythTV (i had previously been
using an ATI TV Wonder Pro [cx88xx version] with no difficulty, and
this was removed from the machine before i began), but it is
reproducible using any MPEG viewer. I simply
mplayer /dev/video0 (which works like a champ)
(then while this is playing)
ivtv-tune -cXX
(and bang, we have a blue screen, and video can no longer be viewed until the modules are unloaded and reloaded which seems to work without error as well)
I am using the 2.6.13 kernel on Slackware 10.2 with ivtv-0.4.5 drivers with no parameters on a Dell Dimension 3000 (Pentium Celeron 2.4GHz) with a Hauppauge PVR-150 (not the MCE). i am also using the ivtv version of the kernel modules that are redundant: msp3400 tda9887 tuner tveeprom, though i have tried the kernel version ones as well. I followed the wiki HOWTO to install, and had no problems there. I am also using the firmware that is linked to in the HOWTO. Of course i read the troubleshooting, but to no avail. I can also terminate mplayer, change the station, and then rerun mplayer (or MythTV for that matter) without a crash. The video quality is excellent, audio is quiet, but acceptable (barely). If there is any other pertinent information that i have not included please let me know.
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.5 (tagged release) loading
ivtv: Linux version: 2.6.13 486 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 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:01: 02.0[A] -> Link [LNKB] -> GSI 3 (level, low) -> IRQ 3
tveeprom: ivtv version
tveeprom: Hauppauge: model = 26132, rev = F0B2, serial# = 9329517
tveeprom: tuner = TCL M2523_5N_E (idx = 112, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25841 (type = 23)
tveeprom: decoder processor = CX25841 (type = 1c)
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]
cx25840 0-0044: ivtv driver
cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: ivtv driver
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 150, card #0
ivtv: ==================== END INIT IVTV ====================
ivtvctl -a
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect : 2
audio : 0x00c9
bframes : 3
bitrate_mode: 0
bitrate : 2800000
bitrate_peak: 4000000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type : 0
framerate : 0
framespergop: 15
gop_closure : 1
pulldown : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
Type : Video Capture
Width : 720
Height : 480
ioctl VIDIOC_QUERYCAP ok
Driver name : ivtv
Card type : WinTV PVR 150
Bus info : 0000:01:02.0
Driver version: 1029
Capabilities : 0x01030011
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x0000000000003000 ( NTSC )
Status : 0
Input : 1
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
ioctl VIDIOC_G_INPUT ok
Video input = 0
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line 1
Input : 2
Name : Audio Line 2
Input : 3
Name : Audio Line 3
Input : 4
Name : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 6164
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 64000
Mute = 0
cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 2).
Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
Bus 0, device 2, function 0:
VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 2).
IRQ 11.
Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
Non-prefetchable 32 bit memory at 0xfeb80000 [0xfebfffff].
I/O at 0xed98 [0xed9f].
Bus 0, device 29, function 0:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 2).
IRQ 11.
I/O at 0xff80 [0xff9f].
Bus 0, device 29, function 1:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 2).
IRQ 10.
I/O at 0xff60 [0xff7f].
Bus 0, device 29, function 3:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 2).
IRQ 11.
I/O at 0xff20 [0xff3f].
Bus 0, device 29, function 7:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 2).
IRQ 9.
Non-prefetchable 32 bit memory at 0xffa80800 [0xffa80bff].
Bus 0, device 30, function 0:
PCI bridge: Intel Corporation 82801 PCI Bridge (rev 194).
Master Capable. No bursts. Min Gnt=2.
Bus 0, device 31, function 0:
ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 2).
Bus 0, device 31, function 1:
IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 2).
IRQ 5.
I/O at 0xffa0 [0xffaf].
Non-prefetchable 32 bit memory at 0xfeb7fc00 [0xfeb7ffff].
Bus 0, device 31, function 3:
SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 2).
IRQ 3.
I/O at 0xeda0 [0xedbf].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 2).
IRQ 3.
I/O at 0xee00 [0xeeff].
I/O at 0xedc0 [0xedff].
Non-prefetchable 32 bit memory at 0xfeb7fa00 [0xfeb7fbff].
Non-prefetchable 32 bit memory at 0xfeb7f900 [0xfeb7f9ff].
Bus 1, device 0, function 0:
Multimedia video controller: Conexant CX22702 DVB-T 2k/8k (rev 5).
IRQ 10.
Master Capable. Latency=64. Min Gnt=20.Max Lat=55.
Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
Bus 1, device 1, function 0:
Modem: PCI device 8086:1080 (Intel Corporation) (rev 4).
IRQ 9.
Master Capable. Latency=64. Min Gnt=1.Max Lat=62.
Non-prefetchable 32 bit memory at 0xfeafe000 [0xfeafefff].
I/O at 0xde00 [0xdeff].
Bus 1, device 2, function 0:
Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 1).
IRQ 3.
Master Capable. Latency=64. Min Gnt=128.Max Lat=8.
Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
Bus 1, device 8, function 0:
Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 2).
IRQ 5.
Master Capable. Latency=64. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xfeaff000 [0xfeafffff].
I/O at 0xddc0 [0xddff].
mplayer /dev/video0 (which works like a champ)
(then while this is playing)
ivtv-tune -cXX
(and bang, we have a blue screen, and video can no longer be viewed until the modules are unloaded and reloaded which seems to work without error as well)
I am using the 2.6.13 kernel on Slackware 10.2 with ivtv-0.4.5 drivers with no parameters on a Dell Dimension 3000 (Pentium Celeron 2.4GHz) with a Hauppauge PVR-150 (not the MCE). i am also using the ivtv version of the kernel modules that are redundant: msp3400 tda9887 tuner tveeprom, though i have tried the kernel version ones as well. I followed the wiki HOWTO to install, and had no problems there. I am also using the firmware that is linked to in the HOWTO. Of course i read the troubleshooting, but to no avail. I can also terminate mplayer, change the station, and then rerun mplayer (or MythTV for that matter) without a crash. The video quality is excellent, audio is quiet, but acceptable (barely). If there is any other pertinent information that i have not included please let me know.
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.5 (tagged release) loading
ivtv: Linux version: 2.6.13 486 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 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:01: 02.0[A] -> Link [LNKB] -> GSI 3 (level, low) -> IRQ 3
tveeprom: ivtv version
tveeprom: Hauppauge: model = 26132, rev = F0B2, serial# = 9329517
tveeprom: tuner = TCL M2523_5N_E (idx = 112, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25841 (type = 23)
tveeprom: decoder processor = CX25841 (type = 1c)
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]
cx25840 0-0044: ivtv driver
cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: ivtv driver
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 150, card #0
ivtv: ==================== END INIT IVTV ====================
ivtvctl -a
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect : 2
audio : 0x00c9
bframes : 3
bitrate_mode: 0
bitrate : 2800000
bitrate_peak: 4000000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type : 0
framerate : 0
framespergop: 15
gop_closure : 1
pulldown : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
Type : Video Capture
Width : 720
Height : 480
ioctl VIDIOC_QUERYCAP ok
Driver name : ivtv
Card type : WinTV PVR 150
Bus info : 0000:01:02.0
Driver version: 1029
Capabilities : 0x01030011
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x0000000000003000 ( NTSC )
Status : 0
Input : 1
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
ioctl VIDIOC_G_INPUT ok
Video input = 0
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line 1
Input : 2
Name : Audio Line 2
Input : 3
Name : Audio Line 3
Input : 4
Name : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 6164
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 64000
Mute = 0
cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 2).
Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
Bus 0, device 2, function 0:
VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 2).
IRQ 11.
Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
Non-prefetchable 32 bit memory at 0xfeb80000 [0xfebfffff].
I/O at 0xed98 [0xed9f].
Bus 0, device 29, function 0:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 2).
IRQ 11.
I/O at 0xff80 [0xff9f].
Bus 0, device 29, function 1:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 2).
IRQ 10.
I/O at 0xff60 [0xff7f].
Bus 0, device 29, function 3:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 2).
IRQ 11.
I/O at 0xff20 [0xff3f].
Bus 0, device 29, function 7:
USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 2).
IRQ 9.
Non-prefetchable 32 bit memory at 0xffa80800 [0xffa80bff].
Bus 0, device 30, function 0:
PCI bridge: Intel Corporation 82801 PCI Bridge (rev 194).
Master Capable. No bursts. Min Gnt=2.
Bus 0, device 31, function 0:
ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 2).
Bus 0, device 31, function 1:
IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 2).
IRQ 5.
I/O at 0xffa0 [0xffaf].
Non-prefetchable 32 bit memory at 0xfeb7fc00 [0xfeb7ffff].
Bus 0, device 31, function 3:
SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 2).
IRQ 3.
I/O at 0xeda0 [0xedbf].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 2).
IRQ 3.
I/O at 0xee00 [0xeeff].
I/O at 0xedc0 [0xedff].
Non-prefetchable 32 bit memory at 0xfeb7fa00 [0xfeb7fbff].
Non-prefetchable 32 bit memory at 0xfeb7f900 [0xfeb7f9ff].
Bus 1, device 0, function 0:
Multimedia video controller: Conexant CX22702 DVB-T 2k/8k (rev 5).
IRQ 10.
Master Capable. Latency=64. Min Gnt=20.Max Lat=55.
Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
Bus 1, device 1, function 0:
Modem: PCI device 8086:1080 (Intel Corporation) (rev 4).
IRQ 9.
Master Capable. Latency=64. Min Gnt=1.Max Lat=62.
Non-prefetchable 32 bit memory at 0xfeafe000 [0xfeafefff].
I/O at 0xde00 [0xdeff].
Bus 1, device 2, function 0:
Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 1).
IRQ 3.
Master Capable. Latency=64. Min Gnt=128.Max Lat=8.
Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
Bus 1, device 8, function 0:
Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 2).
IRQ 5.
Master Capable. Latency=64. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xfeaff000 [0xfeafffff].
I/O at 0xddc0 [0xddff].
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
