In file included from nvidia_acpi.c:13:
./nv-freebsd.h:17:2: error: This driver does not support FreeBSD 14.x/-CURRENT!
#error This driver does not support FreeBSD 14.x/-CURRENT!
marietto:~/Downloads/NVIDIA-FreeBSD-x86_64-470.63.01 # freebsd-version
13.0-RELEASE-p4
linux-nvidia-libs-460.84 NVidia graphics libraries and programs (Linux version)
linux-nvidia-libs-304-304.137 NVidia graphics libraries and programs (Linux version)
linux-nvidia-libs-340-340.108 NVidia graphics libraries and programs (Linux version)
linux-nvidia-libs-390-390.143 NVidia graphics libraries and programs (Linux version)
nvidia-driver-460.84 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-304-304.137_9 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-340-340.108_3 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-390-390.143_1 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-hybrid-graphics-0.5 NVIDIA secondary GPU configuration - Optimus Technology support
nvidia-hybrid-graphics-390-0.5 NVIDIA secondary GPU configuration - Optimus Technology support
nvidia-secondary-driver-460.84_1 NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device
nvidia-secondary-driver-390-390.143_1 NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device
nvidia-settings-460.73.01_2 Display Control Panel for X NVidia driver
nvidia-texture-tools-2.0.8.1_24 Texture Tools with support for DirectX 10 texture formats
nvidia-xconfig-460.73.01 Tool to manipulate X configuration files for the NVidia driver
nvidia_gpu_prometheus_exporter-g20181028_1 NVIDIA GPU Prometheus exporter
Not necessarily. You could just run a Linux binary using the "standard" Centos7 userland in /compat/linux that needs an OpenGL library. It should probably use the nvidia one to take advantage of the graphics card.I don't understand the case. You mean that I can install linux inside a jail and then I can run xorg + a desktop manager + the linux version of the nvidia driver ?
Update your ports tree. It's 460.63.01.Anyway,the version of the driver taken from nvidia website is : 470.63.01,the version of the driver taken from ports is : nvidia-driver-460.84. Versions are different.
Typo there, it's 470.63.01 in ports.Update your ports tree. It's 460.63.01
linux-nvidia-libs-460.84 NVidia graphics libraries and programs (Linux version)
linux-nvidia-libs-304-304.137 NVidia graphics libraries and programs (Linux version)
linux-nvidia-libs-340-340.108 NVidia graphics libraries and programs (Linux version)
linux-nvidia-libs-390-390.143 NVidia graphics libraries and programs (Linux version)
nvidia-driver-460.84 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-304-304.137_9 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-340-340.108_3 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-390-390.143_1 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-hybrid-graphics-0.5 NVIDIA secondary GPU configuration - Optimus Technology support
nvidia-hybrid-graphics-390-0.5 NVIDIA secondary GPU configuration - Optimus Technology support
nvidia-secondary-driver-460.84_1 NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device
nvidia-secondary-driver-390-390.143_1 NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device
nvidia-settings-460.73.01_2 Display Control Panel for X NVidia driver
nvidia-texture-tools-2.0.8.1_24 Texture Tools with support for DirectX 10 texture formats
nvidia-xconfig-460.73.01 Tool to manipulate X configuration files for the NVidia driver
nvidia_gpu_prometheus_exporter-g20181028_1 NVIDIA GPU Prometheus exporter
The quarterly package repository still has 460.84 though, latest has 470.63.01_1.
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
Sometimes the package in quarterly is more recent than the one in latest. For example sysutils/u-boot-rpi-arm64 for aarch64 architecture. Got fooled by this one already.I guess the general decision whether you want "latest" or "quarterly" packages is much more important.
Do you want the latest driver for a new feature introduced there or "just because"? If the latter, think about it. I guess the general decision whether you want "latest" or "quarterly" packages is much more important.
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
If you passthrough a card or device to the VM then the host doesn't have access to it anymore. So this is an exercise in futility.I would like to passthru my rtx 2080 ti to a linux guest. Until now I haven't been able to do that because the nvidia driver installed inside the VM has some problem. But I've thought : maybe it does not work because I haven't installed the Nvidia driver on the FreeBSD host OS.
If you passthrough a card or device to the VM then the host doesn't have access to it anymore. So this is an exercise in futility.
good observation. but sometimes to accomplish a task it needs the latest features added. And I'm making an experiment. I would like to passthru my rtx 2080 ti to a linux guest. Until now I haven't been able to do that because the nvidia driver installed inside the VM has some problem. But I've thought : maybe it does not work because I haven't installed the Nvidia driver on the FreeBSD host OS. For example In Linux I should do it even if the primary graphic card is the intel. In Linux the nvidia driver should be installed and the next steps are to put it in the blacklist and to give to linux some parameters that the nvidia mechanisms need to put the card in an inactive state. Probably we don't need the driver,but some components that are inside the package. So I need the latest version of the nvidia driver to be sure that it supports the latest fixes. And I will use this xorg.conf file :
taken from here : https://download.nvidia.com/XFree86/Linux-x86_64/465.31/README/randr14.html
Code:Section "ServerLayout" Identifier "layout" Screen 0 "intel" Inactive "nvidia" Option "AllowNVIDIAGPUScreens" EndSection Section "Device" Identifier "nvidia" Driver "nvidia" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" EndSection Section "Device" Identifier "intel" Driver "modesetting" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "intel" Device "intel" EndSection
It seem perfect for this situation,according to what is written by Nvidia :
To use the NVIDIA driver as an RandR 1.4 output sink provider, also known as “Reverse PRIME”, the X server needs to be configured to use the “modesetting” driver for its primary screen and to use the NVIDIA driver for the other graphics device.
It seems that I will continue to use the intel driver,but the nvidia driver will be kept as secondary. Exactly what I want to do. Or I could install this driver : nvidia-secondary-driver-470.63.01_1 NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device ; lets see.
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection