Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 14:26:49 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        hu.henry9@gmail.com, freebsd-mobile@freebsd.org
Subject:   Re: X.org nv driver (xf86-video-nv-2.1.13) && Quadro FX 770M && dual screens
Message-ID:  <20090601122649.GA2902@current.Sisis.de>
In-Reply-To: <20090601053306.GA1801@current.Sisis.de>
References:  <20090530140335.GA4500@current.Sisis.de> <53a1e0710905311219h2e7fe9c5o4ffb913e4902226f@mail.gmail.com> <20090601053306.GA1801@current.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, June 01, 2009 a las 07:33:06AM +0200, Matthias Apitz escribió:

> El día Monday, June 01, 2009 a las 03:19:49AM +0800, Henry Hu escribió:
> 
> > You may try the nvidia driver, since I know that you can use
> > nvidia-settings to setup such things easily.
> 
> Thanks for your feedback. But I'm running 8-CURRENT and it seems that
> the drivers at http://www.nvidia.com/object/unix.html (the latest
> version is 180.51 there) doesn not support -CURRENT and the kmod of the
> version in the port /usr/ports/x11/nvidia-driver (180.44) let X create a
> config file fine with X -configure but if you launch X with the created
> config file it hardlocks the system.

I've searched a while the FreeBSD forum of the nvidia driver at 
http://www.nvnews.net/vbulletin/forumdisplay.php?f=47
and learned that the lock is caused by the huge amount of memory my
laptop has (4 GByte) and one needs a setting in /boot/loader.conf of

machdep.disable_mtrrs=1

with this all is fine and X comes up as it should.

The actual version is 180.60 and does not compile on CURRENT. One must
disable the check for this version in
NVIDIA-FreeBSD-x86-180.60/src/nv-freebsd.h:

/*
#if __FreeBSD_version >= 800000
#error This driver does not support FreeBSD 8.x/-CURRENT!
#endif
*/

then it compiles and installs fine. 

As well the nvidia-settings must be compiled directly from the source
because the one in the ports has some library conflict.

Thanks for your hint again

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.



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