Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2000 23:14:51 -0500
From:      Randall Hopper <aa8vb@ipass.net>
To:        pstern stern <pstern@65north.com>
Cc:        multimedia@freebsd.org
Subject:   Re: fxtv
Message-ID:  <20000212231451.A26356@ipass.net>
In-Reply-To: <Pine.BSF.4.21.0002121411240.576-100000@jago.65north.com>
References:  <20000211180124.A3420@ipass.net> <Pine.BSF.4.21.0002121411240.576-100000@jago.65north.com>

next in thread | previous in thread | raw e-mail | index | archive | help
pstern stern:
 |Matrox Millenium 8mb ( the original Millenium)

Ahh, the Millenium.  Is your image normally inside your Fxtv window?  If
not, then problem is that there is a deficiency in XFree86 that won't be
fixed until XFree86 4.0 for some Millenium cards.  The issue is that on
some Milleniums, the start of the frame buffer isn't the first scan line.

Here's a tidbit from the XFree86 folks:

----- Forwarded message from Mark Vojkovich <mvojkovi@ucsd.edu> -----
...
  [XFree86] 3.3.5 won't have that problem for cards that don't have WRAM.
The problems with the old DGA is it didn't make the distinction between the
start of the framebuffer and the start of the visible part of the
framebuffer.  For the WRAM cards, these are not the same for modes using
more than 4 Meg of ram.  Prior to 3.3.5, this was erroneously being done
for non-WRAM cards as well.  DGA 2.0 is the only way to remedy this problem
for the Millennium and Millennium II.

----- End forwarded message -----


And here is the standard Fxtv hack that all the original Millenium folks
are using until XFree86 4.0 fixes this:

 |> 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


My guess is you'll need some number between 0 and 256.  

Another thing to try (possibly first, if your original TV image is in the
window) is to Ctrl-Alt-+ down to 640x480 and make sure that that mode
actually works as you have it configured in XF86Config.  You can use
"xvidtune" to see which mode you're currently in as you move down.

 |The other  thing I see sometimes is ghosting as I change channels. I see
 |the previous channel for a long time as a ghost image when trying to view
 |the new channel.

Hmm.  Could be a weak video signal.  See how things go after
the patch.

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?20000212231451.A26356>