Subject: Re: XFree86 DRI on NetBSD
To: Quentin Garnier <netbsd@quatriemek.com>
From: Sean Davis <dive@endersgame.net>
List: tech-x11
Date: 03/19/2003 08:22:31
On Wed, Mar 19, 2003 at 12:07:26PM +0100, Quentin Garnier wrote:
> Le Wed, 19 Mar 2003 03:41:41 -0700
> Erik Reid a ecrit :
> > Quoth Sean Davis:
> > >Do you think this has a chance of working on a Riva TNT2? Or would I
> > >need to perform the awful (sorry, but it really is) hack to load the
> > >FreeBSD kernel module for nvidia cards to make it happen?
> > 
> > Unfortunately there is no support for nVidia cards under DRI so you'll
> > have to do the mentioned awful hack.  I don't believe nVidia is really
> > interested in allowing DRI support for their cards.
> 
> Hey, I'm listening ;)
> 
> NVidia doesn't seem to have interest in NetBSD either, a really native
> NetBSD port of their driver won't happen any time soon. And since the
> FreeBSD driver is still the beta one from November, we can assume their
> interest in FreeBSD is also very limited.

I know, I contacted NVidia last year about NetBSD support... they didn't
say it directly, but the impression I got was "yeah, right."

> In the mean time, no patch of the XFree86 4.3.0 binary is required to run
> the FreeBSD driver under NetBSD. Only a kernel patch. Isn't that less
> awful ?

Less awful, yes, if it weren't for the problems I noticed when I tried it.
I didn't mean that to sound like a personal insult, because I *do*
appreciate the work you're doing making the FreeBSD driver work on NetBSD.

a) when exiting X, or switching virtual consoles out of X, the console is
dim. Doing it again makes it totally black. This used to happen with X 4.x,
until it was fixed for the nvidia driver. The FreeBSD driver in the kernel
apparently breaks the fix. I haven't investigated very far.

b) attempting to run quake3arena deadlocked the machine. mplayer worked fine
the one time I tested it, though. heretic2-demo also hung the machine.

c) my Viewsonic monitor (PS775) has always had an oddity in X: the screen is
never the right dimensions. I've got X setup with the specs from viewsonic,
but the left side of the screen is always offset at least a half-inch from
where the viewable area ends, and stuff is "thinner" over there. That's the
best way I can think of to explain the effect: if I have a window on the
right side of the screen, it looks fine, and the same window on the left
side of the screen, I can actually measure the width of both of them with a
ruler, and on the left side, things are shorter horizontally. This never
happened in windows, and it doesn't happen with the binary NVidia driver.
The problem: the controls on this monitor stopped working a few months ago,
so I can't adjust the horizontal/vertical positioning, brightness, anything
anymore, so when I used the NVidia driver, the display was way off to the
left (since I had to adjust it far to the right to compensate for the
oddity. I can't afford a new monitor, so I have to deal with this one, and
as things are, X looks nice, except for that odd part.

-Sean

-- 
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!