Jump to content

NVIDIA

From 1G-N15's Place
Revision as of 14:07, 27 December 2025 by 1G-N15 (talk | contribs)

NVIDIA Toolkit Breaking On Fedora Silverblue After Update

Updating NVIDIA drivers broke the NVIDIA container toolkit. I fixed this by re-installing the NVIDIA container toolkit in rpm-ostree by uninstalling, rebooting, installing, rebooting. Yes, that actually somehow changes things, but it works now.

In short, run this on your host machine, in order:

 export NVIDIA_CONTAINER_TOOLKIT_VERSION=1.17.8-1
 sudo rpm-ostree uninstall \
   nvidia-container-toolkit-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
   nvidia-container-toolkit-base-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
   libnvidia-container-tools-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
   libnvidia-container1-${NVIDIA_CONTAINER_TOOLKIT_VERSION}
   
 systemctl reboot
 

After the reboot...

 export NVIDIA_CONTAINER_TOOLKIT_VERSION=1.17.8-1
 sudo rpm-ostree install \
   nvidia-container-toolkit-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
   nvidia-container-toolkit-base-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
   libnvidia-container-tools-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
   libnvidia-container1-${NVIDIA_CONTAINER_TOOLKIT_VERSION}
   
 systemctl reboot

Source