From ich@guido-berhoerster.org  Sun Aug 31 12:35:03 2003
Return-Path: <ich@guido-berhoerster.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3520A16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 12:35:03 -0700 (PDT)
Received: from helium.webpack.hosteurope.de (helium.one-2-one.net [217.115.142.90])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD2343FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 12:34:59 -0700 (PDT)
	(envelope-from ich@guido-berhoerster.org)
Received: from hal.privat.lan (pD9E12236.dip.t-dialin.net [217.225.34.54])
	by helium.webpack.hosteurope.de (8.11.6/8.11.6) with ESMTP id h7VJYvh01966
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 21:34:57 +0200
Received: from hal.privat.lan (localhost [127.0.0.1])
	by hal.privat.lan (8.12.8p1/8.12.8) with ESMTP id h7VJYoGD000388
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 21:34:51 +0200 (CEST)
	(envelope-from guiber@hal.privat.lan)
Received: (from guiber@localhost)
	by hal.privat.lan (8.12.8p1/8.12.8/Submit) id h7VJYoRK000387;
	Sun, 31 Aug 2003 21:34:50 +0200 (CEST)
Message-Id: <200308311934.h7VJYoRK000387@hal.privat.lan>
Date: Sun, 31 Aug 2003 21:34:50 +0200 (CEST)
From: Guido Berhoerster <ich@guido-berhoerster.org>
Reply-To: Guido Berhoerster <ich@guido-berhoerster.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Distorted and choppy video with bktr-driver on 5.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56245
>Category:       kern
>Synopsis:       [bktr] Distorted and choppy video with bktr-driver on 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 31 12:40:08 PDT 2003
>Closed-Date:    
>Last-Modified:  Fri Apr  1 18:10:03 GMT 2005
>Originator:     Guido Berhoerster
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
FreeBSD 5.0-RELEASE, 5.1-RELEASE, -CURRENT

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.

	
>Description:
I have Problems with bktr-driver on 5.x, with fxtv the video-
output is distorted and choppy, it appears that only odd
scanlines are redrawn regularly while even scanlines remain for
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 is still broken on 5.x.
This is a regression over 4.x, where everything works flawlessly.
I have done some testing with different versions. I can was able
to reproduce the problem on:
-FreeBSD 5.0-RELEASE
-FreeBSD 5.1-RELEASE
-FreeBSD CURRENT
-NetBSD 1.6.1

However it does does not occur on:
-FreeBSD 4.3-RELEASE up to 4.8
-FreeBSD STABLE

I assume the problem lies within the bktr-driver since it also
occurs on NetBSD and it must be something which has been changed
in -CURRENT before 5.0-RELEASE and not MFC'ed yet because -STABLE
still works fine.
	
>How-To-Repeat:
Try fxtv or mplayer on given FreeBSD/NetBSD versions and
hardware.
	
>Fix:
n/a
	


>Release-Note:
>Audit-Trail:

From: Guido Berhoerster <ich@guido-berhoerster.org>
To: freebsd-gnats-submit@FreeBSD.org, ich@guido-berhoerster.org
Cc:  
Subject: Re: kern/56245: Distorted and choppy video with bktr-driver on 5.x
Date: Tue, 9 Sep 2003 14:29:54 +0200

 Some additional info:
 
 At half PAL resolution (384x288) and below there are no noticable
 image distortions or "choppiness". But then the higher the
 resolution gets the choppier the video gets and the more
 distortions appear.
 
 Disabling ACPI does not change anything.
 
 -- 
 Guido Berhoerster    ich@guido-berhoerster.org
                      http://www.guido-berhoerster.org/
Responsible-Changed-From-To: freebsd-bugs->roger 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Aug 31 00:09:07 GMT 2004 
Responsible-Changed-Why:  
Over to bktr maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56245 
Responsible-Changed-From-To: roger->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Nov 4 08:21:58 GMT 2004 
Responsible-Changed-Why:  
Assignee is currently away from doing FreeBSD work at the moment, so 
at his request, return this one to the pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56245 

From: Martin <nakal@nurfuerspam.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/56245: Distorted and choppy video with bktr-driver on 5.x
Date: Mon, 21 Mar 2005 00:50:07 +0100

 I have exactly the same problem, as described here.
 It appeared after changing the CPU and the mainboard.
 
 Looks like there are problems with certain mainboard
 chipsets.
 
 FreeBSD version:
 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1:
 Sat Mar 19 01:15:59 CET 2005 i386
 
 My kernel settings for bktr(4) are now:
 device  bktr
 options OVERRIDE_CARD=2
 options OVERRIDE_MSP=2
 options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
 options BKTR_NEW_MSP34XX_DRIVER
 options BKTR_GPIO_ACCESS
 
 dmesg:
 
 agp0: <VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge>
 mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
 nvidia0: <GeForce4 Ti 4200> mem
 0xddc80000-0xddcfffff,0xd0000000-0xd7ffffff,0xde000000-0xdeffffff
 irq 16 at device 0.0 on pci1
 bktr0: <BrookTree 878> mem 0xdddfe000-0xdddfefff irq 19 at device
 11.0 on pci0
 bktr0: Hauppauge Model 44804 C108
 bktr0: Detected a MSP34255?-?31 at 0x80
 bktr0: Hauppauge WinCast/TV, Philips PAL I tuner,  msp3400c stereo.
 
 Martin
 
 

From: Martin <nakal@nurfuerspam.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/56245: Distorted and choppy video with bktr-driver on 5.x
Date: Fri, 01 Apr 2005 20:03:53 +0200

 I played with some settings concerning AGP. I've set
 my BIOS to force 8x AGP mode and xorg to use
 auto-detection for AGP.
 
 The picture is still a skipping one frame from time
 to time, but it's almost perfect again.
 
 
>Unformatted:
