Problems with bktr on 5.x

Lars Eggert larse at ISI.EDU
Wed Aug 13 17:26:02 PDT 2003


Hi,

Guido Berhoerster wrote:
> With fxtv the video-output is distorted and choppy, it appears
> that only odd scanlines are redrawn regularly while even
> scanlines remain for like half a second as "ghost images". When
> the fxtv window is overlapped by some other window the video is
> only updated about every 30 seconds. When using mplayer's
> bsdbt848-driver I get an undistorted image but also choppy video.
> I wasn't able to test it with xawtv since it's still broken on
> 5.x.
> This is a regression over 4.x, where everything works flawlessly.
> I can reproduce these Problems on FreeBSD 5.0, 5.1, -CURRENT and
> also on NetBSD 1.6.1. So my guess is that this is related to some
> more recent patches which have been applied to FreeBSD 5.x and
> NetBSD 1.6.1 but not FreeBSD 4.8.
> Does anybody have similar problems or does anybody know what
> changes might have caused this problem?
> 
> Here's the relevant dmesg output:
> bktr0: <BrookTree 878> mem 0xd7000000-0xd7000fff irq 9 at device
> 10.0 on pci0
> bktr0: Hauppauge Model 44354 C242
> bktr0: Detected a MSP3415G-B8 at 0x80
> bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner,
> msp3400c stereo, remote control.

I'm not sure if we have the same problem, but here's mine: Whenever I 
start fxtv now, the window is black and I get:

	ioctl(METEORSSIGNAL, -65535) failed: Invalid argument

Trying to change the input results in:

	ioctl(METEORSSIGNAL, -65535) failed: Invalid argument
	TVCAPTURESetInputDevice(): Called when cature is on
	TVSCREENStartVideo called with continous capture already
		running...ignored
	ioctl(METEORSSIGNAL, -65535) failed: Invalid argument
	SetCaptureMode called when contin running
	SetTransferMode called when contin running
	SetRegionGeom called when contin running
	SetPixelGeom called when contin running
	TVSCREENCapConfigure() failed: Continous is running

Using "mplayer -tv on:driver=bsdbt848" gives me a really messed up image 
of whatever is on the attached camera, with scanlines, wrong colors, 
etc., and at about 1Hz.

However: starting gnomemeeting and enabling local video feed works fine, 
as does the simple bktr_grab example that grabs an image.

I've rolled back the driver, and a version before 8/10 works, while one 
after 8/11 doesn't. I'm thus pretty sure that the following commit broke 
things:

> nectar      2003/08/10 16:04:55 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/bktr         bktr_core.c 
>     sys/i386/isa         spigot.c 
>     sys/kern             sys_process.c 
>     sys/pci              meteor.c 
>   Log:
>   Add or correct range checking of signal numbers in system calls and
>   ioctls.
>   
>   In the particular case of ptrace(), this commit more-or-less reverts
>   revision 1.53 of sys_process.c, which appears to have been erroneous.
>   
>   Reviewed by:    iedowse, jhb
>   
>   Revision  Changes    Path
>   1.126     +1 -1      src/sys/dev/bktr/bktr_core.c
>   1.60      +2 -0      src/sys/i386/isa/spigot.c
>   1.113     +2 -2      src/sys/kern/sys_process.c
>   1.63      +2 -0      src/sys/pci/meteor.c

Try rolling back your sources before 8/11 and see if that fixes things 
for you, too.

Lars
-- 
Lars Eggert <larse at isi.edu>           USC Information Sciences Institute
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3529 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20030813/6976f7d1/smime.bin


More information about the freebsd-multimedia mailing list