How do I get the Nvidia driver to work? Or, alternately, since I don't care whether I'm running the Nvidia driver or not, how do I get fast graphics without it? When I try to run a GLX application I get the following:
I built x11/nvidia-driver, and then I rebuilt x11-servers/xorg-server, and then I built x11/nvidia-driver again. I put
into /boot/loader.conf. The articles that tell me to load
also, are either incorrect or obsolete: there is no such module, nor even any file anywhere in the system that has
anywhere in its name, nor does there seem to be any port that installs any such file:
When I run
and running
and exits.
At this point I wanted to present the contents of /var/log/Xorg.1.log (which I just created a moment ago by running
.
The nvidia module is unquestionably loaded when I reboot:
Thank you in advance for any and all replies.
Code:
$ /usr/local/bin/xscreensaver-hacks/juggler3d
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
juggler3d: couldn't create GL context for visual 0x21.
$
I built x11/nvidia-driver, and then I rebuilt x11-servers/xorg-server, and then I built x11/nvidia-driver again. I put
Code:
nvidia_load=YES
Code:
nvidia-modeset
Code:
nvidia-modeset
Code:
$ find /usr/ports -depth 3 -name pkg-plist | xargs grep nvidia-modeset
$
When I run
nvidia-settings
it pops up a window that says
Code:
You do not appear to be using the NVIDIA X driver.
Please edit your X configuration file (just run `nvidia-
xconfig` as root), and restart the X server.
nvidia-xconfig
creates an /etc/X11/xorg.conf that crashes the X server, it says
Code:
No screens found
At this point I wanted to present the contents of /var/log/Xorg.1.log (which I just created a moment ago by running
xinit -- :1
, so I could show it to you), but I am unable to post this message when I do so, the website says that it is too long, so I have copied the file onto my website instead, you can find it at
Code:
http://m5.chicago.il.us/Xorg.1.log
The nvidia module is unquestionably loaded when I reboot:
Code:
# kldstat
Id Refs Address Size Name
1 46 0xffffffff80200000 1fa7c38 kernel
2 1 0xffffffff821a9000 b350 geom_linux_lvm.ko
3 1 0xffffffff821b5000 1a7c8 fuse.ko
4 1 0xffffffff821d0000 b67b50 nvidia.ko
5 2 0xffffffff82d38000 9b748 linux.ko
6 5 0xffffffff82dd4000 de28 linux_common.ko
7 1 0xffffffff83021000 587b fdescfs.ko
8 1 0xffffffff83027000 a9f1 linprocfs.ko
9 1 0xffffffff83032000 5862 linsysfs.ko
10 1 0xffffffff83038000 155b2 ext2fs.ko
11 1 0xffffffff8304e000 249d ulpt.ko
12 1 0xffffffff83051000 389f4 linux64.ko
13 1 0xffffffff8308a000 1fe5a3 zfs.ko
14 1 0xffffffff83289000 811f opensolaris.ko
#
Thank you in advance for any and all replies.