View Single Post
Old 02-08-07, 09:36 AM   #8
roddierod
Registered User
 
Join Date: Sep 2005
Posts: 12
Default Re: FreeBSD 7.0 Current with Xorg 7rc3 Modular and nvidia driver.

Quote:
Originally Posted by SirDice
It's loading the wrong GLcore:
Ok, I agree with that but how do I get it to load nividia's my Module section is exactly like yours.

Quote:
Originally Posted by SirDice
FWIW my system runs Xorg-7.2r3_4 with X11BASE set to /usr/local/

Didn't change anything in the makefiles.. Xorg 7 should install into $X11BASE/lib/xorg/modules/.

The nvidia-driver installs in $X11BASE/lib/modules to solve that I have 2 modulepaths in the files section..
I also have had the two module line. But that has no effect on the building of the nvidia-driver only the loading of the modules after they are built and installed.

So, to get the nvidia-driver to install nividia_drv.so into /usr/local/lib/xorg/modules/drivers I had to edit the Makefile found in the /Nvidia-FreeBSD-x86-1.0-9746/x11/driver. I had to change the line

DRIVERDIR= ${X11BASE}/lib/modules/drivers

to

DRIVERDIR= ${x11BASE}/lib/xorg/modules/drivers


to get the nvidia driver to build and install otherwise it just errored on the install.

/usr/local/lib/modules/drivers is not a directory with my Xorg build it's some type of library. Same for /usr/local/lib/modules/extensions.
roddierod is offline   Reply With Quote