How to set-up Nvidia graphics card on FreeBSD 11.1?

pkg install nvidia-driver
Remove any /etc/X11/xorg.conf or /usr/local/etc/X11/xorg.conf if they exist.
Create /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf with the following content:
Code:
Section "Device"
        Identifier "Card0"
        Driver     "nvidia"
EndSection
Nothing else is required. Remove any other files that happen to be in /etc/X11/xorg.conf.d/ and /usr/local/etc/X11/xorg.conf.d/ from previous attempts.

Then run startx and see if things work. If they don't work install misc/pastebinit and run cat /var/log/Xorg.0.log | pastebinit. Post the URL here (so we can have a look at your logs).

Don't worry about window managers or desktops at this point. We need to make sure the foundation (Xorg) is in order before we can build a house (window manager/desktop) on top of it.
 
This really needs to be known more widely.
I am a newbie to this forum, and it seems that as set-ups change for nvidia and other common tasks, then they should be easier to find by version.
The older posts for older versions of FreeBSD may be vital for some - but it does make looking for gems like this more difficult.
But thanks - worked like a dream.
It works just nice!
 
Back
Top