The driver will create a kernel module, which needs to be loaded at system startup. Add the following line to /boot/loader.conf:
nvidia_load="YES"
Do not mention loading modules via loader.conf
It is generally discouraged to load graphics kernel modules via
loader.conf(5). According to kevans@, loading Nvidia modules like this is
fragile for UEFI on FreeBSD <= 12.1. It might work, but those modules are
large and the loader's staging area is insufficient to contain kernel,
Nvidia modules, and much of anything else at the same time.
With the kernel module loaded, you normally only need to change a single line in xorg.conf to enable the proprietary driver:
Find the following line in /etc/X11/xorg.conf:
This is discouraged by revision 540866:
Code:Do not mention loading modules via loader.conf It is generally discouraged to load graphics kernel modules via loader.conf(5). According to kevans@, loading Nvidia modules like this is fragile for UEFI on FreeBSD <= 12.1. It might work, but those modules are large and the loader's staging area is insufficient to contain kernel, Nvidia modules, and much of anything else at the same time.
Could you give more information? XFCE is a desktop environment, so it can't boot.Hi, folks I am new to FreeBSD. Downloaded and installed today. Tried XFCE, installed XFCE won't boot. I also installed NVidia from port, I can boot into FreeBSD but no desktop any pointers would be I would be thankful.
Also:
Code:With the kernel module loaded, you normally only need to change a single line in xorg.conf to enable the proprietary driver: Find the following line in /etc/X11/xorg.conf:
It's recommended to use single files instead of xorg.conf, and those should be placed in /usr/local/etc/X11/xorg.conf.d/ instead of /etc/X11/.
no luck getting it running will try again later but will try kde
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
kld_list="nvidia-modeset"
nvidia_load="YES"
You have to edit it as root.got it installed after reboot I cant edit any files when I try to edit /etc/rc.conf it tells me it unwritable
You have to be in thewell it wont let me become root for some reason something has gone amiss
wheel
group in order to su
to root. doas
or sudo
.i got it working the handbook info didnt work fot meBTW, I think you should give GhostBSD a try. It's easier to setup and use than the standard FreeBSD.
I got kde working thanks to you and its looking goodI don't think KDE will help much until xorg is working. I struggled to get nvidia going too but finally it worked.
My xorg.conf needed
Code:Section "Device" Identifier "Card0" Driver "nvidia" EndSection
and in /etc/rc.conf I have
Code:kld_list="nvidia-modeset"
and in /boot/loader.conf I have
Code:nvidia_load="YES"