Ubuntu NVidia Oculink ( nouveau ) Problem
Cuda Setup :
remove nouveau:
sudo tee /etc/modules-load.d/ipmi.conf <<< "ipmi_msghandler" && sudo tee /etc/modprobe.d/blacklist-nouveau.conf <<< "blacklist nouveau" && sudo tee -a /etc/modprobe.d/blacklist-nouveau.conf <<< "options nouveau modeset=0"
ubuntu-drivers devices
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-driver-560
microk8s enable nvidia --driver host
kubectl edit clusterpolicy cluster-policy -n gpu-operator-resources
Add the Environment Variable:
Under the driver section of the validator field, add the following:
spec:
validator:
driver:
env:
- name: DISABLE_DEV_CHAR_SYMLINK_CREATION
value: "true"