Solved nvidia-modeset_enable=YES: not found

/etc/rc.conf: nvidia-modeset_enable=YES: not found

When I use the pkg command, the text is printed frequently. Also, the text is printed so many during booting.

/boot/loader.conf
Code:
(skipped)
linux_common_load="YES"
linux_load="YES"
linux64_load="YES"
nvidia_load="YES"
nvidia-modeset_load="YES"

/etc/rc.conf
Code:
(skipped)
linux_enable="YES"
linux64_enable="YES"
nvidia_enable="YES"
nvidia-modeset_enable="YES"
dbus_enable="YES"
hald_enable="YES"
sddm_enable="YES"

If I remove 'nvidia-modeset_enable="YES"' and 'nvidia-modeset_load="YES"', then I can't use Xorg. How to solve this problem?
 
add kld_list="nvidia-modeset" to rc.conf, and remove the current nvidia related variables from it. You don’t need anything nvidia related in loader.conf. If kld_list already has something, just append nvidia-modeset to the existing string.
 
Back
Top