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)
Note: 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.
- Add the following line to configure the NVIDIA module to load at startup.
- Install the NVIDIA configuration tool.
- 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.
- Copy the file to the appropriate location
- Run nvidia-xconfig
- Edit the /etc/X11/xorg.conf.
- Add this line in the driver section or “Section Device” to enable transparancy.
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.