Code:
pkg_delete nvidia-driver-71xx
pkg_delete nvidia-driver-71xx
pkg_delete nvidia-driver
portupgrade -f x11-servers/xorg-server
portinstall -f x11/nvidia-driver
Then
Code:
cd
Xorg -configure
cat xorg.conf.new | grep -v dri | sed 's/GLCore/glx/' | sed 's/nv/nvidia/' > xorg.conf.nvidia
startx -- -config xorg.conf.nvidia -logverbose 6
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
psychonics: You will be please to hear that your log file indicates
that there is nothing wrong. The only error is that you seem to be
still using the nv (open-source, 2d) driver, which causes problems with
the nvidia GLX extensions. This is fixed by making sure that you have
the current nvidia-driver port installed (not the 71xx or 74xx ports:
these are for older graphics cards not supported by the current one),
and editing your /etc/X11/xorg.conf file (scroll down until you find
Section "Device", and change
driver "nv" to
driver "nvidia")
If that doesn't work, please post both your /etc/x11/xorg.conf file and
the new /var/log/xorg.0.log . Yes, you will have to rename them .txt
before the uploader will accept them. Don't rename them to .zip unless
they are actually .zip files.
well I cannot upgrade /nvidia-driver/ because I have _7 sources and
am running _6, but in my notes these are things to check (note there are
probably an infinite combination of the following)
.................................................
keep agp_load="YES" along with the nvidia one
compile the port with just ACPI and FreebsdAGP checked (uncheck linux)
use "Option "NvAGP" "1" (or) NvAGP "3" (i don't have the case or spelling handy)
install mesa-demos before /nvidia*
(forums.nvidia.com)
grabnotes.com/gentoo/xorg.html
comiz.org/nvidia
docs.pclinuxos. /XorgConf
...................
unix# cd /usr/ports/x11/nvidia-driver
unix# make && make install
To use these drivers, make sure that you have loaded the nvidia kernel
module, by doing
# kldload nvidia
or adding
nvidia_load="YES"
to your /boot/loader.conf.
If you build this port with WITH_FREEBSD_AGP=yes, make sure you have
agp.ko kernel module compiled and installed, since nvidia.ko will
depend on it, or have your kernel compiled with "device agp". Other-
wise the nvidia kernel module will not load. Also, care to specify
correct ``Option "NvAGP"'' in ``Device'' section of your X11 configu-
ration file.
When building with Linux compatibility (WITH_LINUX=yes), make sure
linux.ko is available as well (or have it compiled in kernel). It can
be loaded via /boot/loader.conf (or later in boot process if you add
linux_enable="YES"
to your /etc/rc.conf.
Note that this driver does not support PAE-enabled kernels.
If X.org cannot start and reports
(EE) NVIDIA(0): Failed to obtain a shared memory identifier.
in /var/log/Xorg.0.log while actually you have ``options SYSVSHM''
enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased.
See /usr/local/share/doc/NVIDIA_GLX-1.0/README for more information.
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for nvidia-driver-100.14.19
unix#