[mythtv-users] pvr350, bttv and overscan

Michael Lynch lynchmv at gmail.com
Fri May 26 01:48:10 UTC 2006


I have a working master frontend/backend with a pvr350 for capture and
tv-out.  This system has been up for probably a year now with no
problems.

I recently added a slave backend with a bttv based capture card.
After getting it successfully set up I have come across a (hopefully)
simple problem.

When recording from the bttv based card and watching it on the pvr350
frontend, I have black bars on the left and right sides of the screen.
 I'm assuming that this is just an overscan issue, but am not sure how
to resolve it.

The 350 displays live tv and recorded programs properly (no overscan
issues) but the bttv card doesn't.  Prior to adding the bttv based
slave I did make adjustments for the 350 to properly fill the tv
screen on the frontend.

[root at mythmaster ~]# cat /etc/modprobe.conf |grep ivtv
# ivtv modules setup
alias char-major-81 ivtv
alias char-major-81-0 ivtv
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb

[root at mythmaster ~]# dmesg |grep -i ivtv
ivtv: no version for "struct_module" found: kernel tainted.
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.3 (tagged release) loading
ivtv:  Linux version: 2.6.15-1.1833_FC4 686 REGPARM 4KSTACKS gcc-4.0
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 350 card (cx23415 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
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]
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40]
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02040024
ivtv0 warning: Encoder Firmware can be buggy, use version 0x02040011
or 0x02050032.
ivtv0: Decoder revision: 0x02020023
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)
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: 24 x 43200 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 350, card #0
ivtv:  ====================  END INIT IVTV  ====================

(this error is from watching live tv, which isn't watchable with the
slave backend connected)
ivtv0-osd warning: Need to adjust to width 480 src_w 480 dst_w 584
src_x 0 dst_x 63
ivtv0-osd warning: Need to adjust to height 480 src_h 480 dst_h 438
src_y 0 dst_y 24
ivtv0-osd warning: Source video: Interlaced
ivtv0 warning: Enable video output

[root at compro ~]# cat /etc/modprobe.conf |grep bttv
alias char-major-81 bttv
options bttv audiomux=0

[root at compro ~]# dmesg |grep bttv
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:02:0a.0, irq: 185, latency: 32, mmio: 0xf7efe000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: gpio config override: mask=0xffffffff,
mux=0x0,0xffffffff,0xffffffff,0xffffffff,0xffffffff
bttv0: gpio: en=00000000, out=00000000 in=00fffffb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
bttv0: Hauppauge eeprom indicates model#38101
bttv0: using tuner=8
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).


mysql> select * from settings where hostname =
'mythmaster.spherens.com' and value like '%gui%';
+----------------------+---------+-------------------------+
| value                | data    | hostname                |
+----------------------+---------+-------------------------+
| WatchTVGuide         | 0       | mythmaster.spherens.com |
| GuiWidth             | 653     | mythmaster.spherens.com |
| GuiHeight            | 437     | mythmaster.spherens.com |
| GuiOffsetX           | 28      | mythmaster.spherens.com |
| GuiOffsetY           | 23      | mythmaster.spherens.com |
| GuiSizeForTV         | 1       | mythmaster.spherens.com |
| GuiVidModeResolution | 720x480 | mythmaster.spherens.com |
+----------------------+---------+-------------------------+
7 rows in set (0.00 sec)

mysql> select * from settings where hostname !=
'mythmaster.spherens.com' and value like '%gui%';
+----------------------+---------+---------------------+
| value                | data    | hostname            |
+----------------------+---------+---------------------+
| GuiVidModeResolution | 640x480 | compro.spherens.com |
| GuiSizeForTV         | 0       | compro.spherens.com |
| GuiOffsetY           | 0       | compro.spherens.com |
| GuiOffsetX           | 0       | compro.spherens.com |
| GuiHeight            | 0       | compro.spherens.com |
| GuiWidth             | 0       | compro.spherens.com |
| WatchTVGuide         | 0       | compro.spherens.com |
+----------------------+---------+---------------------+
7 rows in set (0.00 sec)


--------------------------------
OK, those 2 sql queries just came off the top of my head and I may see
the error of my ways.  I'll try changing the GuiVidModeResolution for
the slave (compro.spherens.com) to match that of the master
(mythmaster.spherens.com).  Any other suggestions are welcomed.

--Michael


More information about the mythtv-users mailing list