Installing the NVIDIA driver on FreeBSD 8.1
Ok, so it is one thing to have Xorg just autodetect settings, it is another to install and take advantage of a powerful NVIDIA driver and all its features.
To install the NVIDIA driver on FreeBSD 8.1, do the following.
- This needs to be done as root, so su to root.
- Install the NVIDIA driver. (Obviously only do this if your video card is NVIDIA)
#
#cd /usr/ports/x11/nvidia-driver
make installNote: You will be prompted for the build configuration. Check the ACPI box because I suspect ACPI is needed if you want to sleep and resume. If you have Linux compatibility enabled or plan to use it later, leave that checked, otherwise uncheck it and hit ok.
- Edit the /boot/loader.conf file.
# ee /boot/loader.conf - Add the following line to configure the NVIDIA module to load at startup.
nvidia_load=”YES”
- Install the NVIDIA configuration tool.
#
#cd /usr/ports/x11/nvidia-xconfig
make install - Use Xorg to create an xorg.conf. The following command creates and xorg.conf.new in /root. This might detect the NVIDIA driver, or not. Whether it detects it or not if may not make all the desired settings. The nvidia-xconfig tool will make the xorg.conf file settings work more accurately for the NVIDIA driver.
# Xorg -configure - Copy the file to the appropriate location
# cp /root/xorg.conf.new /etc/X11/xorg.conf - Run nvidia-xconfig
# nvidia-xconfig - Edit the /etc/X11/xorg.conf.
# ee /etc/X11/xorg.conf - Add this line in the driver section or “Section Device” to enable transparancy.
Option Overlay
Ok, you should have your NVIDIA card working. There are probably many more tweaks you could make. If you know of any other options that your would recommend, please comment and let my readers and I know.
Thanks a lot man! This did the trick!
Glad to help!