Step-by-step nvidia GPU passthrough for cuda/vulkan compute applications revisions

Go back to topic: Step-by-step nvidia GPU passthrough for cuda/vulkan compute applications

  1. v3 anchor; v3 full version
  2. v2 anchor; v2 full version

Revision #3

Edited on
2025-10-30
Edited by user
tunt
## Step 7: Maintenance On normal linux systems the nvidia driver kernel module will be rebuilt whenever a new kernel is installed. However on Qubes, the kernel comes from Dom0 so the drivers aren't rebuilt automatically. This means if dom0 updates the linux kernel version that it provides to your `sys-gpu` VM, then the drivers may stop working. This sometimes occurs after running `qubes-dom0-update`. To fix this, you just need to spin up your `sys-gpu` VM and rebuild the kernel modules. ``` sudo dpkg-reconfigure nvidia-kernel-open-dkms ```

Revision #2

Edited on
2025-10-30
Edited by user
tunt