Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 17:25:43 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        Guido Berhoerster <ich@guido-berhoerster.org>
Cc:        nectar@FreeBSD.org
Subject:   Re: Problems with bktr on 5.x
Message-ID:  <3F3AD707.9030407@isi.edu>
In-Reply-To: <20030811175817.GA9784@hal.privat.lan>
References:  <20030811175817.GA9784@hal.privat.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@isi.edu>           USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
	080fErtcvE.0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
040827235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B	li+@]jy.%݊
Z<D&iHΥbb090
vo0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
030801172929Z
040731172929Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
>ן~H(ԢGV׆־25B03ݰת^RIH=%J
kA^R)yH80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU?V0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
5Kkt[@jj:Fg	Xj(8yPo!})5M[	ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!090
vo0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
030801172929Z
040731172929Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
>ן~H(ԢGV׆־25B03ݰת^RIH=%J
kA^R)yH80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU?V0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
5Kkt[@jj:Fg	Xj(8yPo!})5M[	ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0	+0	*H
	1	*H
0	*H
	1
030814002543Z0#	*H
	1p&(UK\ok0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0*H
	1010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0
	*H
-JF+A6s+9wy_ُʇb-j/пdd&w(,|ア(}БFEūϢrؚp7q͵v/\},mjoYL;>#GxD/
c}>I/MD'. UQ+}E/B٨
2>԰
}#kW{R.,Pqͼ̠`ѡ+gL/zCW$̺q)2YQcbҀt?q&ބ$έ~r6

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F3AD707.9030407>