LXC - An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel

Sep 9, 2021
41
4
8
47
Hello,
After updating proxmox kernel, it seems my Nvidia drivers are not working on my LXC with Plex.
I uninstalled the driver from both hypervisor and LXC.
I installed the last driver (NVIDIA-Linux-x86_64-510.54.run) on hypervisor.
However when I am trying to install the same driver on LXC I get this error:
"An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel"

I tried modprobe -r nvidia-drm but did not help.
Any hints to fix this ?

PS: Any way to avoid this happening on every kernel update ?

Thank you!
 
Last edited:
the lxc cannot load kernel modules, so that log seems normal? (since it's already loaded on the host)
maybe there is a way to install the driver without loading the module?
 
Do you use the --no-kernel-module option for the nvidia-driver installation inside the LXC?
 

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!