Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 1998 19:17:39 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        tomppa@fidata.fi, Igor Nikolaev <igor@pu.ru>, multimedia@FreeBSD.ORG, Amancio Hasty <hasty@rah.star-gate.com>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: fxtv and milenniumIIagp
Message-ID:  <19980519191739.C4820@ct.picker.com>
In-Reply-To: <19980518231539.40105@pu.ru>; from Igor Nikolaev on Mon, May 18, 1998 at 11:15:39PM %2B0400
References:  <19980518231539.40105@pu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Tomi Vainio:
 |Igor Nikolaev writes:
 | > I have fxtv Version 0.46 and (working) milennium II AGP (Xfree 3.3.2).
 | > My videocard works in 32bpp mode (in 16bpp all o'k)
 | > 
 | > This is well know bug or unknown feature?
 | > 
 |
 |This is known feature and Randall is trying to find out why this
 |happens.  You can "fix" it by adding 256 to picture position.
 |tvcapture.c line 1509: 
 |video.addr      = x->base_addr + (g.y * x->pitch + g.x) * Bpp; ====>
 |video.addr      = x->base_addr + (g.y * x->pitch + g.x + 256) * Bpp;

Not much else I can do.  From what we've seen, sounds like an XFree86 bug
related to the Matrox 8Meg cards at 32bpp at desktops larger than 1024x768.

You and Michael needed the "+256" for 1280.  From Igor's pic, looks like
for 1600x1200 he needs (and likely you'd need) +640:

  video.addr      = x->base_addr + (g.y * x->pitch + g.x + 640) * Bpp;

Randall

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



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