Freebsd 14 p.6 quarterly Nvidia Driver 550.54.14
matches the exact version on Ubuntu 23.10
That means you can use the Nvidia driver from the Ubuntu repo in a jail or a chroot
and it will match the version on the Freebsd host
rather than having to download and manually install the Nvidia driver
You have to match the exact version of the Nvidia driver in a jail or chroot
as on the Freebsd host for the driver to work
Ubuntu driver version to install in a Jail or Chroot
Nvidia cuda toolkit install on Ubuntu
Freebsd nv-sglrun nvidia-smi
Ubuntu nvidia-smi in a Jail
matches the exact version on Ubuntu 23.10
That means you can use the Nvidia driver from the Ubuntu repo in a jail or a chroot
and it will match the version on the Freebsd host
rather than having to download and manually install the Nvidia driver
You have to match the exact version of the Nvidia driver in a jail or chroot
as on the Freebsd host for the driver to work
Ubuntu driver version to install in a Jail or Chroot
Code:
sudo apt install nvidia-driver-550-server
Nvidia cuda toolkit install on Ubuntu
Code:
sudo apt install nvidia-cuda-toolkit ocl-icd-opencl-dev libglu1-mesa libfuse2 initramfs-tools
Freebsd nv-sglrun nvidia-smi
Code:
Yes Master ? nv-sglrun nvidia-smi
shim init
Sun Apr 14 15:32:07 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.14 Driver Version: 550.54.14 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1650 Off | 00000000:01:00.0 Off | N/A |
| N/A 41C P8 2W / 50W | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
Ubuntu nvidia-smi in a Jail
Code:
ubuntu% nvidia-smi
Sun Apr 14 15:32:15 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.14 Driver Version: 550.54.14 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1650 Off | 00000000:01:00.0 Off | N/A |
| N/A 41C P8 1W / 50W | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+