Skip to content

Use the new rules with nvidia-modprobe

Okay, I'm pretty sure I've already screwed everyone up with these rules, but I've analyzed past errors and I think I figured out what was wrong with it. The previous issue #2 (closed) was caused by the fact that KERNEL=="nvidia" check always fails if the driver is not loaded before the udev rule is tirggered to. I thought about it, and came to the conclusion that we only need to skip this rule when using vfio-pci when it comes to GPU passthrough, because I don't see any other cases where the nvidia-utils package needs to be installed and the modules are blacklisted. I checked node creation of /dev/nvidia-uvm and it looks correct. The vfio-pci also loads correctly with this rules when the modules are blacklisted.

So, I'd like others to test this, but from my side this is the only version that allows us to avoid all the past issues and #8 (closed).

Closes: #8 (closed)

Merge request reports