Skip to content

Commit 10c6786

Browse files
authored
chore: add secure boot for nvidia smi (#16)
1 parent 65f8a2d commit 10c6786

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

advanced/game-streaming/nvidia.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ nvidia-smi
5555

5656
You should see your GPU(s) listed with the driver version.
5757

58+
::: warning Secure Boot
59+
If Secure Boot is enabled, `nvidia-smi` will fail to load the driver because the kernel module isn't signed by a trusted key. Enroll NVIDIA's Machine Owner Key so the module is accepted:
60+
61+
```bash
62+
sudo mokutil --import /var/lib/shim-signed/mok/MOK.der
63+
```
64+
65+
You'll be prompted to set a one-time password. Reboot, complete MOK enrollment in the blue MOK Manager screen using that password, then re-run `nvidia-smi`. Alternatively, disable Secure Boot in your firmware.
66+
:::
67+
5868
## 3. Restart K3s containerd
5969

6070
K3s detects the NVIDIA container runtime when it starts and adds the matching runtime entries to its generated containerd config. Restart the K3s agent on each GPU node:

0 commit comments

Comments
 (0)