Bug 56245 - [bktr] Distorted and choppy video with bktr-driver on 5.x
Summary: [bktr] Distorted and choppy video with bktr-driver on 5.x
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.1-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-31 20:40 UTC by Guido Berhoerster
Modified: 2017-06-27 04:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Berhoerster 2003-08-31 20:40:08 UTC
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.

Fix: 

n/a
How-To-Repeat: Try fxtv or mplayer on given FreeBSD/NetBSD versions and
hardware.
Comment 1 Guido Berhoerster 2003-09-09 13:29:54 UTC
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/
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-08-31 01:09:07 UTC
Responsible Changed
From-To: freebsd-bugs->roger

Over to bktr maintainer.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-11-04 08:21:58 UTC
Responsible Changed
From-To: roger->freebsd-bugs

Assignee is currently away from doing FreeBSD work at the moment, so 
at his request, return this one to the pool.
Comment 4 Martin 2005-03-20 23:50:07 UTC
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
Comment 5 Martin 2005-04-01 19:03:53 UTC
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.