… 560.28.03 … could it work to install it directly ?
NVIDIA's download page wrongly states:
tar xzf NVIDIA-FreeBSD-x86_64-560.28.03.tar.gz && cd NVIDIA-FreeBSD-x86_64-560.28.03 && make install
Instead:
tar xzf NVIDIA-FreeBSD-x86_64-560.28.03.tar.xz && cd NVIDIA-FreeBSD-x86_64-560.28.03 && make install
In the README, under Installing the NVIDIA Driver:
… your /boot/loader.conf file will be updated to automatically load the NVIDIA kernel module on boot, …
This is false.
Also, be prepared to take non-pkg approach to removal.
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # make install clean
===> src (install)
===> src/nvidia (install)
install -T release -o root -g wheel -m 444 nvidia.ko /boot/modules/
kldxref /boot/modules
===> src/nvidia-modeset (install)
install -T release -o root -g wheel -m 444 nvidia-modeset.ko /boot/modules/
kldxref /boot/modules
===> lib (install)
===> lib/libGLX_nvidia (install)
===> lib/libnvidia-tls (install)
===> lib/libnvidia-cfg (install)
===> lib/libnvidia-glcore (install)
===> lib/libnvidia-gpucomp (install)
===> lib/libnvidia-gtk2 (install)
===> lib/libnvidia-gtk3 (install)
===> lib/libnvidia-wayland-client (install)
===> lib/libvdpau_nvidia (install)
===> lib/libnvidia-glvkspirv (install)
===> lib/libnvidia-eglcore (install)
===> lib/libnvidia-glsi (install)
===> lib/libEGL_nvidia (install)
===> lib/libGLESv2_nvidia (install)
===> lib/libGLESv1_CM_nvidia (install)
===> lib/libnvidia-egl-wayland (install)
===> lib/libnvidia-ml (install)
===> lib/libnvidia-egl-gbm (install)
===> lib/libnvidia-allocator (install)
ln -sf /usr/local/lib/libnvidia-allocator.so.1 /usr/local/lib/gbm/nvidia-drm_gbm.so
===> x11 (install)
===> x11/driver (install)
===> x11/extension (install)
===> x11/bin (install)
===> x11/man (install)
===> doc (install)
===> nvml (install)
===> nvml/bin (install)
===> nvml/man (install)
===> firmware (install)
===> firmware/gsp_tu10x (install)
install -T release -o root -g wheel -m 444 nvidia_gsp_tu10x_fw.ko /boot/modules/
kldxref /boot/modules
===> firmware/gsp_ga10x (install)
install -T release -o root -g wheel -m 444 nvidia_gsp_ga10x_fw.ko /boot/modules/
kldxref /boot/modules
kld_list: -> nvidia
kld_list: nvidia -> nvidia nvidia-modeset
Installation of the NVIDIA Accelerated Graphics Driver
560.28.03 for FreeBSD is now complete. You can now
run the nvidia-xconfig utility to automatically update
your X server configuration file. Please see the README
for details if you wish to update your X configuration
file manually.
===> src (clean)
===> src/nvidia (clean)
===> src/nvidia-modeset (clean)
===> lib (clean)
===> lib/libGLX_nvidia (clean)
===> lib/libnvidia-tls (clean)
===> lib/libnvidia-cfg (clean)
===> lib/libnvidia-glcore (clean)
===> lib/libnvidia-gpucomp (clean)
===> lib/libnvidia-gtk2 (clean)
===> lib/libnvidia-gtk3 (clean)
===> lib/libnvidia-wayland-client (clean)
===> lib/libvdpau_nvidia (clean)
===> lib/libnvidia-glvkspirv (clean)
===> lib/libnvidia-eglcore (clean)
===> lib/libnvidia-glsi (clean)
===> lib/libEGL_nvidia (clean)
===> lib/libGLESv2_nvidia (clean)
===> lib/libGLESv1_CM_nvidia (clean)
===> lib/libnvidia-egl-wayland (clean)
===> lib/libnvidia-ml (clean)
===> lib/libnvidia-egl-gbm (clean)
===> lib/libnvidia-allocator (clean)
===> x11 (clean)
===> x11/driver (clean)
===> x11/extension (clean)
===> x11/bin (clean)
===> x11/man (clean)
===> doc (clean)
===> nvml (clean)
===> nvml/bin (clean)
===> nvml/man (clean)
===> firmware (clean)
===> firmware/gsp_tu10x (clean)
rm -f nvidia_gsp_tu10x_fw.c export_syms machine x86 i386 nvidia_gsp_tu10x_fw.ko nvidia_gsp_tu10x_fw.kld gsp_tu10x.bin.fwo nvidia_gsp_tu10x_fw.o opt_global.h
===> firmware/gsp_ga10x (clean)
rm -f nvidia_gsp_ga10x_fw.c export_syms machine x86 i386 nvidia_gsp_ga10x_fw.ko nvidia_gsp_ga10x_fw.kld gsp_ga10x.bin.fwo nvidia_gsp_ga10x_fw.o opt_global.h
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # freebsd-version -kru ; uname -mvKU
14.1-RELEASE-p2
14.1-RELEASE-p2
14.1-RELEASE-p2
FreeBSD 14.1-RELEASE-p2 releng/14.1-n267684-1eba659e2f68 GENERIC amd64 1401000 1401000
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # less /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # sysrc kld_list
kld_list: nvidia nvidia-modeset
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # pkg iinfo nvidia
pkg: No package(s) matching nvidia
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #
Code:
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 # make deinstall
make: don't know how to make deinstall. Stop
make: stopped in /tmp/NVIDIA-FreeBSD-x86_64-560.28.03
root@fourteen-pkgbase:/tmp/NVIDIA-FreeBSD-x86_64-560.28.03 #