problem with recents bttv and/or xawtv, and improving the Secam mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello everyone,


the following message is in two parts, the first part is a recent problem that
I have, and the second part is an attempt to improve the secam mode (I'm sorry
for a so long message).
a sketch of my configuration is the following:
- Hauppauge Wintv (pal) + radio (model 1998) [bttv0]
- Hauppauge Wintv Theater (pal/secam)        [bttv1]
- kernel 2.2.17+Reiserfs+i2c-2.5.1
- bttv-0.7.57+xawtv-3.30
- tv source: cable

bttv0 on irq9 (shared with aic7xxx and eth0)
bttv1 on irq10

mb/cpu: asus p2b-ds/p2 450

I have included the (full) dmesg of the driver at the end of this mail.

The 1st problem is the following:

if I use bttv-0.7.5x with x=8,9 and xawtv-3.30 or higher: 
at first xawtv display the image, but as soon as I want to change
the channel, I have a complete freeze of xawtv, the sound is still running,
but the capture and xawtv is completely frozen (I need to 'kill -9' it).
If I use bttv-0.7.57 with a xawtv-3.36 or higher (I have trouble
to compile the other versions between 3.30 and 3.36), then I have
the same scenario. But bttv-0.7.57 and xawtv-3.30 is ok.

Any clues of what is wrong here ?

Notice, that I also have a lot of 

ioctl: VIDIOCSWIN(win=128x96+0+0,key=0,flags=0x0,clips=1): bad address

returned by xawtv, each time I change the channel.

The 2nd part of the email is most likely related to secam mode:


(1) With bttv-0.7.x (say 40<= x <=57), there is a green frame on the left side
of the screen (as an example see
http://www.math.univ-montp2.fr/~pev/sample-with-the-green-frame.jpeg). This
occurs with a sufficiently large screen, but of course is always present when
we grab the display.
NB: this problem doesn't occur with the bttv drivers of the 2.4.x kernels,
neither with the recent versions of bttv2 that I have tried.

(2) Problem with the VCR: when we use Composite1 in SECAM mode the quality is
pretty poor (in PAL mode with of course a VHS/PAL the quality is perfect), as
two examples see 
http://www.math.univ-montp2.fr/~pev/sample-with-thesimpsons-SECAM.jpeg

(with bttv-0.7.53)

http://www.math.univ-montp2.fr/~pev/first-contact-SECAM-sample.jpeg

(with bttv2 version 11/01/2001)

NB: sometimes, even some frames are lost.

(3) Problem with the sound (this one seems specific to me): the Nicam
detection of the channels is quite heratic. For instance
between the 0.7.40 and the 0.7.57, I had around 5 channels detected in stereo
(but in theory most of them are in stereo), unfortunately never with the same
driver (well with 0.7.57 I have 3/4 channels in stereo).
Furthermore, it could also depend of unknown parameter. For instance sometimes
a reload of the same driver (i.e. rmmod and a new insmod), a channel which
wasn't detected stereo is now correctly detected (or vice/versa). I have tried
to force the stereo mode in the driver (a very bad hack), but without success.
 On the other hand, I could say that the mono sound
is crystal clear.

The last, is more technical. Almost all VCR model sold currently in France are
able to
display NTSC video on a PAL TV (which is the case of all tv here). With
bttv/xawtv, if I put a NTSC video, and I select PAL mode (or a PAL variant),
then the image is in color
but "doubled" (i.e. there is two images, one shifted relatively to the other),
but
if
I select NTSC, then the image is reasonable but black and white. Is there a
way to trick it in order to get the best of both worlds ?

Thanks a lot for your patience and any advices.

If you need more infos, don't hesitate to ask.

best regards, Philippe.

driver message (option of bttv radio=1, option of msp3400 simple=1 debug=2):

bttv: driver version 0.7.57 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge needs ETBF enabled.
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 00:0a.0, irq: 9, latency: 32, memory: 0xe2000000
bttv0: subsystem: 0070:13eb  =>  Hauppauge WinTV  =>  card=10
bttv0: model: BT878(Hauppauge new (bt878)) [autodetected]
bttv0: enabling 430FX/VP3 compatibilty
PCI: Enabling bus mastering for device 00:50
bttv0: Hauppauge msp34xx: reset line init
i2c-dev.o: Registered 'bt848 #0' as minor 0
tuner: chip found @ 0x61
bttv0: i2c attach [(unset)]
i2c-core.o: client [(unset)] registered to adapter [bt848 #0](pos. 0).
msp34xx: init: chip=MSP3410D-B4, has NICAM support
msp3410: daemon started
msp3410: thread: sleep
bttv0: i2c attach [MSP3410D-B4]
i2c-core.o: client [MSP3410D-B4] registered to adapter [bt848 #0](pos. 1).
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: Hauppauge eeprom: model=61334, tuner=Philips FM1216 (5), radio=yes
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
msp34xx: AUDC_SET_INPUT(4)
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 2) at 00:0b.0, irq: 10, latency: 32, memory: 0xe1000000
bttv1: subsystem: 0070:13eb  =>  Hauppauge WinTV  =>  card=10
bttv1: model: BT878(Hauppauge new (bt878)) [autodetected]
bttv1: enabling 430FX/VP3 compatibilty
PCI: Enabling bus mastering for device 00:58
bttv1: Hauppauge msp34xx: reset line init
i2c-dev.o: Registered 'bt848 #1' as minor 1
tuner: chip found @ 0x61
bttv1: i2c attach [(unset)]
i2c-core.o: client [(unset)] registered to adapter [bt848 #1](pos. 0).
msp34xx: init: chip=MSP3410D-B4, has NICAM support
msp3410: thread: wakeup
msp3410: daemon started
msp3410: thread: sleep
bttv1: i2c attach [MSP3410D-B4]
i2c-core.o: client [MSP3410D-B4] registered to adapter [bt848 #1](pos. 1).
i2c-core.o: adapter bt848 #1 registered as adapter 1.
bttv1: Hauppauge eeprom: model=37266, tuner=Philips FI1216MF MK2 (3), radio=no
bttv1: i2c: checking for MSP34xx @ 0x80... found
bttv1: i2c: checking for TDA9875 @ 0xb0... not found
bttv1: i2c: checking for TDA7432 @ 0x8a... not found
msp34xx: AUDC_SET_INPUT(4)
msp3410: setting mode: autodetect start (0x0001)
msp3410: thread: wakeup
msp3410: detection still in progress
msp3410: detection still in progress
msp3410: setting mode: autodetect start (0x0001)
msp3410: detection still in progress
msp3410: detection still in progress
msp3410: detection still in progress
msp3410: detection still in progress
msp3410: current mode: ERROR (0x0000)
msp34xx: setbass: 32768 0x00
msp34xx: settreble: 32768 0x00
msp34xx: setvolume: mute=off 65535:65535  v=0x73 b=0x00
msp3410: thread: sleep
msp3410: current mode: 6.5/5.85  L NICAM AM (0x0009)
msp3400: NICAM setstereo: 1
msp3400: switching to AM mono
msp34xx: scart switch: mono => 0
msp34xx: setbass: 32768 0x00
msp34xx: settreble: 32768 0x00
msp34xx: setvolume: mute=off 65535:65535  v=0x73 b=0x00
msp3410: thread: sleep
msp3410: thread: wakeup
msp34xx: nicam sync=1, mode=8
msp34xx: watch: stereo 1 => 2
msp3400: NICAM setstereo: 2
msp3410: thread: sleep





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux