- Thread Starter
- #26
ding ding, round 3
i disabled linux and enabled ubuntu in my rc.conf
edited my freebsd fstab
/etc/fstab
rebooted
logged in the chroot as root
then installed the needed packages
no errors
but when i run nvidia-smi in the chroot
i get this error
which is weird because i installed nvidia-driver-535 in the chroot
which is the same version as on the host
nvidia-smi on freebsd
output
i set home to nullfs in freebsd fstab
but it doesnt show the contents of the home directory on the freebsd host
maybe missing something
i disabled linux and enabled ubuntu in my rc.conf
Code:
linux_enable="NO"
ubuntu_enable="YES"
edited my freebsd fstab
/etc/fstab
Code:
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/efiboot0 /boot/efi msdosfs rw 2 2
/dev/nda0p3.eli none swap sw 0 0
# linux
proc /proc procfs rw 0 0
#linprocfs /compat/linux/proc linprocfs rw 0 0
#linsysfs /compat/linux/sys linsysfs rw 0 0
# ubuntu
devfs /compat/ubuntu/dev devfs rw,late 0 0
tmpfs /compat/ubuntu/dev/shm tmpfs rw,late,size=1g,mode=1777 0 0
fdescfs /compat/ubuntu/dev/fd fdescfs rw,late,linrdlnk 0 0
linprocfs /compat/ubuntu/proc linprocfs rw,late 0 0
linsysfs /compat/ubuntu/sys linsysfs rw,late 0 0
/tmp /compat/ubuntu/tmp nullfs rw,late 0 0
/home /compat/ubuntu/home nullfs rw,late 0 0
rebooted
logged in the chroot as root
Code:
sudo chroot /compat/ubuntu /bin/bash
then installed the needed packages
Code:
apt install nvidia-driver-535 nvidia-cuda-toolkit ocl-icd-opencl-dev libglu1-mesa libfuse2 initramfs-tools
no errors
but when i run nvidia-smi in the chroot
Code:
nvidia-smi
i get this error
Code:
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 535.154
which is weird because i installed nvidia-driver-535 in the chroot
which is the same version as on the host
nvidia-smi on freebsd
Code:
nvidia-smi
output
Code:
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.146.02 Driver Version: 535.146.02 CUDA Version: N/A |
|-----------------------------------------+----------------------+----------------------+
| 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 55C 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 |
+---------------------------------------------------------------------------------------+
[
i set home to nullfs in freebsd fstab
but it doesnt show the contents of the home directory on the freebsd host
maybe missing something