[mythtv-users] mythtv 0.14, bttv 0.9.12/13 + Kernel 2.6.3-4 - low brightness red screen on channel change

scunacc scunacc at yahoo.com
Fri Mar 26 15:46:02 EST 2004


Dear folks,

Running with Kernel 2.4.22-10 and the standard bttv 0.9.11 supplied
version under Mandrake 9.2, I have no problems with mythtv 0.12 and
bttv. (boot time syslog entry below for comparison with...).

... When I installed MDK 10.0 with a 2.6.3-4 kernel which has 0.9.12 as
standard and there is now a problem. (boot time syslog entry below).

Running mythtv 0.14 with the MKD 10.0 setup, there is an issue with
channel changing.

(The TV card is a Hauppauge with a bt878, BTW. (lspci info. below))

What happens is that on a channel change (most often the cause, but
it seems to have happened during the middle of a mythtv recording as
well for no apparent reason) there is an VIDIOCSYNC error and the
screen changes to be nearly black with all the video in red.

I know I'm not the only one experiencing this, - it has been noted
already on the mythtv mailinglists (via www.mythtv.org), but nobody 
seems to have a solid answer, and there is the suggestion it may be a
2.6.3/bttv problem. (To that end I have also mailed the folks at bytesex
about this just in case.)

Any help you can offer appreciated: this one thing is preventing me
from fully upgrading to 10.0 at present. (I have the load on a
separate exchangable drive, so I can remove it and run with 9.2 at
present, but I wanted to go to 10.0 for various reasons.)

I haven't rebuilt the supplied kernel at all, - so there may be
tweaks there as well that will help. 

It looks like an interrupt is being lost I guess.

Kind regards

Derek Jones.

System/error info below
------------

2.4.22-10 (with bttv 0.9.11) syslog boot entry follows (THIS WORKS
OK)
=================
Mar 26 03:52:11 my_machine kernel: i2c-core.o: i2c core module
version 2.8.0 (20030714)
Mar 26 03:52:11 my_machine kernel: Linux video capture interface:
v1.00
Mar 26 03:52:11 my_machine kernel: bttv: driver version 0.7.107
loaded
Mar 26 03:52:11 my_machine kernel: bttv: using 4 buffers with 2080k
(8320k total) for capture
Mar 26 03:52:11 my_machine kernel: bttv: Host bridge is VIA
Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
Mar 26 03:52:11 my_machine kernel: bttv: Bt8xx card found (0).
Mar 26 03:52:11 my_machine kernel: PCI: Found IRQ 12 for device
00:0c.0
Mar 26 03:52:11 my_machine kernel: IRQ routing conflict for 00:07.5,
have irq 9, want irq 12
Mar 26 03:52:11 my_machine kernel: PCI: Sharing IRQ 12 with 00:0a.2
Mar 26 03:52:11 my_machine kernel: PCI: Sharing IRQ 12 with 00:0c.1
Mar 26 03:52:11 my_machine kernel: bttv0: Bt878 (rev 17) at 00:0c.0,
irq: 12, latency: 32, mmio: 0xe6004000
Mar 26 03:52:11 my_machine kernel: bttv0: detected: Hauppauge WinTV
[card=10], PCI subsystem ID is 0070:13eb
Mar 26 03:52:11 my_machine kernel: bttv0: using: BT878(Hauppauge
(bt878)) [card=10,autodetected]
Mar 26 03:52:11 my_machine kernel: bttv0: Hauppauge/Voodoo msp34xx:
reset line init [5]
Mar 26 03:52:11 my_machine kernel: bttv0: Hauppauge eeprom:
model=44001, tuner=Philips FI1236 MK2 (2), radio=no
Mar 26 03:52:11 my_machine kernel: bttv0: using tuner=2
Mar 26 03:52:11 my_machine kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Mar 26 03:52:11 my_machine kernel: bttv0: i2c: checking for TDA9875 @
0xb0... not found
Mar 26 03:52:11 my_machine kernel: bttv0: i2c: checking for TDA7432 @
0x8a... not found
Mar 26 03:52:11 my_machine kernel: tvaudio: TV audio decoder +
audio/video mux driver
Mar 26 03:52:11 my_machine kernel: tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54
(PV951),ta8874z
Mar 26 03:52:11 my_machine kernel: tuner: chip found @ 0xc2
Mar 26 03:52:11 my_machine kernel: tuner: type set to 2 (Philips NTSC
(FI1236,FM1236 and compatibles))
Mar 26 03:52:11 my_machine kernel: bttv0: PLL: 28636363 => 35468950
.. ok
Mar 26 03:52:11 my_machine kernel: bttv0: registered device video0
Mar 26 03:52:11 my_machine kernel: bttv0: registered device vbi0
=========================================


2.6.3-4 syslog with bttv 0.9.13 boot entry follows ("broken")
=================
Mar 26 14:23:21 my_machine kernel: Linux video capture interface:
v1.00
Mar 26 14:23:21 my_machine kernel: btcx-risc: no version for
"struct_module" found: kernel tainted.
Mar 26 14:23:21 my_machine kernel: bttv: driver version 0.9.13 loaded
Mar 26 14:23:21 my_machine kernel: bttv: using 8 buffers with 2080k
(520 pages) each for capture
Mar 26 14:23:21 my_machine kernel: bttv: Bt8xx card found (0).
Mar 26 14:23:21 my_machine kernel: PCI: Found IRQ 12 for device
0000:00:0c.0
Mar 26 14:23:21 my_machine kernel: IRQ routing conflict for
0000:00:07.5, have irq 9, want irq 12
Mar 26 14:23:21 my_machine kernel: PCI: Sharing IRQ 12 with
0000:00:0a.2
Mar 26 14:23:21 my_machine kernel: PCI: Sharing IRQ 12 with
0000:00:0c.1
Mar 26 14:23:21 my_machine kernel: bttv0: Bt878 (rev 17) at
0000:00:0c.0, irq: 12, latency: 32, mmio: 0xe6004000
Mar 26 14:23:21 my_machine kernel: bttv0: detected: Hauppauge WinTV
[card=10], PCI subsystem ID is 0070:13eb
Mar 26 14:23:21 my_machine kernel: bttv0: using: Hauppauge (bt878)
[card=10,autodetected]
Mar 26 14:23:21 my_machine kernel: bttv0: gpio: en=00000000,
out=00000000 in=00ffffdb [init]
Mar 26 14:23:21 my_machine kernel: bttv0: Hauppauge/Voodoo msp34xx:
reset line init [5]
Mar 26 14:23:21 my_machine kernel: bttv0: Hauppauge eeprom:
model=44001, tuner=Philips FI1236 MK2 (2), radio=no
Mar 26 14:23:21 my_machine kernel: bttv0: using tuner=2
Mar 26 14:23:21 my_machine kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Mar 26 14:23:21 my_machine kernel: bttv0: i2c: checking for TDA9875 @
0xb0... not found
Mar 26 14:23:21 my_machine kernel: bttv0: i2c: checking for TDA7432 @
0x8a... not found
Mar 26 14:23:21 my_machine kernel: tvaudio: TV audio decoder +
audio/video mux driver
Mar 26 14:23:21 my_machine kernel: tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54
(PV951),ta8874z
Mar 26 14:23:21 my_machine kernel: tuner: chip found at addr 0xc2
i2c-bus bt878 #0 [sw]
Mar 26 14:23:21 my_machine kernel: tuner: type set to 2 (Philips NTSC
(FI1236,FM1236 and compatibles)) by bt878 #0 [sw]
Mar 26 14:23:21 my_machine kernel: bttv0: registered device video0
Mar 26 14:23:21 my_machine kernel: bttv0: registered device vbi0
Mar 26 14:23:21 my_machine kernel: bttv0: PLL: 28636363 => 35468950
.. ok
=====================

2.6.3-4 syslog with bttv 0.9.12 boot entry follows ("broken")
=================
Mar 25 23:24:14 my_machine kernel: Linux video capture interface:
v1.00
Mar 25 23:24:14 my_machine kernel: bttv: driver version 0.9.12 loaded
Mar 25 23:24:14 my_machine kernel: bttv: using 8 buffers with 2080k
(520 pages) each for capture
Mar 25 23:24:14 my_machine kernel: bttv: Bt8xx card found (0).
Mar 25 23:24:14 my_machine kernel: PCI: Found IRQ 12 for device
0000:00:0c.0
Mar 25 23:24:14 my_machine kernel: IRQ routing conflict for
0000:00:07.5, have irq 9, want irq 12
Mar 25 23:24:14 my_machine kernel: PCI: Sharing IRQ 12 with
0000:00:0a.2
Mar 25 23:24:14 my_machine kernel: PCI: Sharing IRQ 12 with
0000:00:0c.1
Mar 25 23:24:14 my_machine kernel: bttv0: Bt878 (rev 17) at
0000:00:0c.0, irq: 12, latency: 32, mmio: 0xe6004000
Mar 25 23:24:14 my_machine kernel: bttv0: detected: Hauppauge WinTV
[card=10], PCI subsystem ID is 0070:13eb
Mar 25 23:24:14 my_machine kernel: bttv0: using: Hauppauge (bt878)
[card=10,autodetected]
Mar 25 23:24:14 my_machine kernel: bttv0: gpio: en=00000000,
out=00000000 in=00ffffdb [init]
Mar 25 23:24:14 my_machine kernel: bttv0: Hauppauge/Voodoo msp34xx:
reset line init [5]
Mar 25 23:24:14 my_machine kernel: bttv0: Hauppauge eeprom:
model=44001, tuner=Philips FI1236 MK2 (2), radio=no
Mar 25 23:24:14 my_machine kernel: bttv0: using tuner=2
Mar 25 23:24:14 my_machine kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Mar 25 23:24:14 my_machine kernel: bttv0: i2c: checking for TDA9875 @
0xb0... not found
Mar 25 23:24:14 my_machine kernel: bttv0: i2c: checking for TDA7432 @
0x8a... not found
Mar 25 23:24:14 my_machine kernel: tvaudio: TV audio decoder +
audio/video mux driver
Mar 25 23:24:14 my_machine kernel: tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54
(PV951),ta8874z
Mar 25 23:24:14 my_machine kernel: tuner: chip found @ 0xc2
Mar 25 23:24:14 my_machine kernel: tuner: type set to 2 (Philips NTSC
(FI1236,FM1236 and compatibles))
Mar 25 23:24:14 my_machine kernel: bttv0: registered device video0
Mar 25 23:24:14 my_machine kernel: bttv0: registered device vbi0
Mar 25 23:24:14 my_machine kernel: bttv0: PLL: 28636363 => 35468950
.. ok

=================

example 2.6.3-4 syslog ERROR MESSAGES on channel change problem
with bttv 0.9.13
================
Mar 26 01:48:07 my_machine kernel: bttv0: timeout: drop=64
irq=12636/12949, risc=1325007c, bits: HSYNC OFLOW FDSR
Mar 26 01:48:07 my_machine kernel: bttv0: reset, reinitialize
Mar 26 01:48:07 my_machine kernel: bttv0: PLL can sleep, using XTAL
(28636363).
Mar 26 01:49:31 my_machine kernel: bttv0: timeout: drop=100
irq=15394/15707, risc=14d6f084, bits: VSYNC HSYNC OFLOW FDSR
Mar 26 01:49:31 my_machine kernel: bttv0: reset, reinitialize
Mar 26 01:49:31 my_machine kernel: bttv0: PLL can sleep, using XTAL
(28636363).
========================

example 2.6.3-4 syslog ERROR MESSAGES on channel change problem
with bttv 0.9.12
=============
Mar 24 15:47:47 my_machine kernel: bttv0: skipped frame. no signal?
high irq latency?
[main=1d973000,o_vbi=1e27b000,o_field=1d973020,rc=1e27b01c]
Mar 24 15:47:48 my_machine last message repeated 12 times
Mar 24 15:47:48 my_machine kernel: bttv0: timeout: irq=378735/380123,
risc=1e27b084, bits: VSYNC HSYNC OFLOW FDSR
Mar 24 15:47:48 my_machine kernel: bttv0: reset, reinitialize
Mar 24 15:47:48 my_machine kernel: bttv0: PLL can sleep, using XTAL
(28636363).
=======



lspci under 2.6.3-4
====================
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo
PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super
South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev
06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686
AC97 Audio Controller (rev 50)
00:08.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro
215GP (rev 5c)
00:09.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 41)
00:0a.0 USB Controller: VIA Technologies, Inc. USB (rev 50)
00:0a.1 USB Controller: VIA Technologies, Inc. USB (rev 50)
00:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 Multimedia video controller: Brooktree Corporation Bt878
Video Capture (rev 11)
00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture (rev 11)

cat /proc/pci under 2.6.3-4
============================
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo
PRO133x] (rev 196).
      Prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP] (rev 0).
      Master Capable.  No bursts.  Min Gnt=4.
  Bus  0, device   7, function  0:
    ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 64).
  Bus  0, device   7, function  1:
    IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev
6).
      Master Capable.  Latency=32.  
      I/O at 0xc000 [0xc00f].
  Bus  0, device   7, function  2:
    USB Controller: VIA Technologies, Inc. USB (rev 22).
      IRQ 11.
      Master Capable.  Latency=32.  
      I/O at 0xc400 [0xc41f].
  Bus  0, device   7, function  3:
    USB Controller: VIA Technologies, Inc. USB (#2) (rev 22).
      IRQ 11.
      Master Capable.  Latency=32.  
      I/O at 0xc800 [0xc81f].
  Bus  0, device  10, function  0:
    USB Controller: VIA Technologies, Inc. USB (#3) (rev 80).
      IRQ 9.
      Master Capable.  Latency=32.  
      I/O at 0xe000 [0xe01f].
  Bus  0, device  10, function  1:
    USB Controller: VIA Technologies, Inc. USB (#4) (rev 80).
      IRQ 10.
      Master Capable.  Latency=32.  
      I/O at 0xe400 [0xe41f].
  Bus  0, device   7, function  4:
    Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
64).
  Bus  0, device   7, function  5:
    Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97
Audio Controller (rev 80).
      IRQ 9.
      I/O at 0xcc00 [0xccff].
      I/O at 0xd000 [0xd003].
      I/O at 0xd400 [0xd403].
  Bus  0, device   8, function  0:
    VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP
(rev 92).
      Master Capable.  Latency=32.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xe4000000 [0xe4ffffff].
      I/O at 0xd800 [0xd8ff].
      Non-prefetchable 32 bit memory at 0xe6000000 [0xe6000fff].
  Bus  0, device   9, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 65).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=20.Max Lat=40.
      I/O at 0xdc00 [0xdc7f].
      Non-prefetchable 32 bit memory at 0xe6001000 [0xe60013ff].
  Bus  0, device  10, function  2:
    USB Controller: VIA Technologies, Inc. USB 2.0 (rev 81).
      IRQ 12.
      Master Capable.  Latency=32.  
      Non-prefetchable 32 bit memory at 0xe6002000 [0xe60020ff].
  Bus  0, device  11, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 16).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xe800 [0xe8ff].
      Non-prefetc  Bus  0, device  12, function  0:
    Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 17).
      IRQ 12.
      Master Capable.  Latency=32.  Min Gnt=16.Max Lat=40.
      Prefetchable 32 bit memory at 0xe6004000 [0xe6004fff].
  Bus  0, device  12, function  1:
    Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 17).
      IRQ 12.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Prefetchable 32 bit memory at 0xe6005000 [0xe6005fff].

======================

Output on the screen from mythbackend on the channel change error
==================================================================

VIDIOCSYNC: Input/output error
VIDIOCSYNC: Input/output error
Can't read vbi data
Can't read vbi data
Can't read vbi data
Can't read vbi data




More information about the mythtv-users mailing list