Hardware ID's Changing, Causing LXC's to have wrong passthrough configuration

sirebral

Member
Feb 12, 2022
50
10
13
Oregon, USA
Hi All,

I've noticed that every time I upgrade my kernel to the latest prod PVE version the ID's on my NVIDIA cards change. I have to alter the configuration file for the LXC's that use video cards manually every time after a ls /dev/nvidia* and ls /dev/dri* to match the changes. Is there a manner in which to avoid this, perhaps somehow locking the ID's? I'd appreciate an assist as it's quite a pain to do this every time the kernel changes.

Thanks!

Keith
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!