Nvidia Driver upgade issue with lxc

stevo

Member
Apr 26, 2021
6
0
21
50
Please help!! So I am currently running proxmox in a cluster, but the node in question has 1x Quadro P2000, 1x Quadro RTX 4000 and AMD WX4100. As I couldnt see the RTX 4000 in my plex lxc I starting looking into upgrading the nvidia driver on the host once i upgrade the host I checked the host to see if the upgrade worked with nvidia-smi and got the following output below saying the update has taken place

s1.png

but when I try to use the P2000 and RTX4000 in my fileflows lxc it say display the following error.

NVIDIA Quadro P2000 (Failed to initialize NVML: Driver/library version mismatch NVML library version: 550.163)
GPUNVIDIA Quadro RTX 4000 (Failed to initialize NVML: Driver/library version mismatch NVML library version: 550.163)
but the host is running version : 590.126.09
S2.png

I have edited the lxc config file as follow to look at the drives from the host but this error continues can some someone tell me what I am doing wrong ??
 

Attachments

  • s1.png
    s1.png
    25.1 KB · Views: 3
So I have now solved the problem myself the issue was when I created the lxc I had let the script for the creation of fileflows install it own drivers, hence why it was by passing the uptodate drivers on the host.
 
On an aside but slightly related - i have the 580.126.09 drivers installed on host, blacklisted, lxc driver installed with no dkms, etc. All working - but i'm confused as to how to update the driver package (if and when I get to that)
- stop lxc,
- run the install steps again on host (remove nvidia drivers first?) - reboot,
- reinstall on lxc with no dkms flag? won't there be an issue of driver mismatch between lxc and host in that case?
 
My issue was that I had upgrade the driver on the host, which worked perfectly fine, but when I was creating the lxc I was installing an old driver which was creating a driver mismatch, what I did is not install the driver on the lxc and then the lxc used the driver from the host as that was the only driver it had to use