OK I haven't used anything BUT Nvidia cards on FreeBSD for some 12yrs now. FWIW I'll share my experiences in hopes it gets you where you're going. Once I figured out the "quirks" I've never had a problem.
Firstly; Nvidia does NOT perform/function well with
vt(4). So do the following in
loader.conf(5):
Code:
boot_verbose="YES"
kern.vty=sc
linux_load="YES"
nvidia_load="YES"
I added the verbose line for you as well. As
dmesg(8) will be more informative. Giving you a better idea of what's going on with your card.
That done. REMOVE/RENAME the file generated by the nvidia-xconfig. This is old-skool, and no longer supported in your version of X11 on your version of FreeBSD. All copies of it. Both the one in your home directory, and, if applicable, in
/etc/X11/. Perhaps rename it/them to
_xorg.conf_.
Now. After booting with your new
loder.conf(5) in place. Your now ready to attempt to load Xorg. Try starting it. By simply running the following command from your home directory:
startx -retro.
This will likely barf. But it will provide you with some necessary information. Namely; the BUS ID your Nvidia card lives in. Something like the following should show up in
/var/log/Xorg.0.log
Code:
(--) PCI:*(0:0:13:0) 10de:03d0:1462:7309
If this turns out NOT to be the case. That's OK. We can still get that information.
Create the following file, and place it in:
/usr/local/etc/X11/xorg.conf.d/
Name the file
driver-nvidia.conf
Code:
# /usr/local/etc/X11/xorg.conf.d/
Section "Device"
Option "DRI" "True"
Identifier "Card0"
Driver "nvidia"
#BusID "PCI:0:2:0:0"
EndSection
NOTE:
BusID (commented). You'll need to replace the number with the one you get from
Xorg.0.log once you've obtained it. Then UNcopmment that line.
That should do it. If not. Post back with any pertinent info, and I can fix it for you.
HTH!
--Chris