Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 19:07:20 -0500
From:      Randall Hopper <aa8vb@pagesz.net>
To:        Srikiran Prasad <prasadsr@umich.edu>
Cc:        multimedia@FreeBSD.ORG
Subject:   8Meg Milleniums & XFree86 Direct Video bug  (was Re: FXTV - picture outside of fxtv window)
Message-ID:  <19990125190720.A3970@pagesz.net>
In-Reply-To: <Pine.LNX.4.05.9901220223130.25040-100000@trip.eecs.umich.edu>; from Srikiran Prasad on Fri, Jan 22, 1999 at 02:25:57AM -0500
References:  <19990121194137.D2047@pagesz.net> <Pine.LNX.4.05.9901220223130.25040-100000@trip.eecs.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Srikiran Prasad:
 |> 
 |Thanx for the prompt response and I also have a Matrox Millenium II with
 |8mb RAM. After I made the change in the tvcapture.c file all was fixed.
 |I think that Xfree86 acknowledges the problem and actually 3.3.3.1 I think
 |fixes it.

That is good news!  Glad the hack-around patch worked, and thanks for the
info.  This is the first I've heard of the XFree86 fix (Ccing the list to
inform other Millenium 8Meg owners that might also have been unaware).

Later!

Randall

 |Randall Hopper wrote:
 |> Srikiran Prasad:
 |>  |I am having a minor problem with fxtv and was hoping that you could
 |>  |help.  I have my card working and all is fine with tuning and
 |>  |everything but the display is displaced outside of the fxtv window
...
 |>  |currently running FreeBSD 2.2.8 with XFREE 3.3.3 on a avermedia tv
...
 |> What video card do you have?  
 |> 
 |> I've never had this problem, but a number of others on the list have (Tomi
 |> Vainio, Michael Petry, Igor Nikolaev).  The binding factor generally seems
 |> to be Matrox 8Meg cards running at 32bpp at desktop sizes larger than
 |> 1024x768.
 |> 
 |> If this is your case too, try replacing this line in tvcapture.c:
 |>          video.addr      = x->base_addr + (g.y * x->pitch + g.x) * Bpp;
 |> with this (for 1280x1024):
 |>          video.addr      = x->base_addr + (g.y * x->pitch + g.x + 256) * Bpp 
 |> or this (for 1600x1200):
 |>          video.addr      = x->base_addr + (g.y * x->pitch + g.x + 640) * Bpp;
 |> >From previous investigation, it appears this is a bug in XFree86 where it
 |> returns an incorrect base address frame buffer for the frame buffer.
..

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?19990125190720.A3970>