Hi,
I recently bought a Tesla P4. I followed PolloLoco vgpu install guide to set it up. The gpu is recognized inside the pve and I can pass vgpus to the vms using the different profiles. Nvidia-smi inside pve shows the different vgpus assigned to vms. Both Linux and Windows vms see the vgpu. In windows, I managed to install the drivers and everything works fine. In Linux (Mint) however, I can't seem to get the drivers to work properly. Driver manager sees the GPU and it lets me install the last drivers for the P4 (the nvidia drivers not nouveau). The problem is that after the install when I run nvidia-smi inside the vm it says that there is no gpu. If I passthrough the whole gpu instead of the vgpu, nvidia-smi shows the gpu, but it still doesn't use it when I test it with unigine heaven. I tried with both q vgpu profiles and with c vgpu profiles, but none work. I'm not quiet sure what I'm doing wrong with the drivers inside . Has anybody experience this issue? If not, can somebody help me understand the right process to install the drivers in linux? I must be doing something wrong, but I don't know what.
FYI: I'm trying to setup a Linux vm for plex. Right now, I'm using a windows one, but hdr tone mapping is not supported on the gpu so it hammers my cpu. In Linux it's supposed to be supported on the gpu.
Error message when running nvidia-smi with vgpu: "Nvidia-smi has failed because it couldn't communicate with the driver."
Thank you
I solved it, by manually installing the drivers using the terminal rather than using the gui driver manager in Linux Mint.
I recently bought a Tesla P4. I followed PolloLoco vgpu install guide to set it up. The gpu is recognized inside the pve and I can pass vgpus to the vms using the different profiles. Nvidia-smi inside pve shows the different vgpus assigned to vms. Both Linux and Windows vms see the vgpu. In windows, I managed to install the drivers and everything works fine. In Linux (Mint) however, I can't seem to get the drivers to work properly. Driver manager sees the GPU and it lets me install the last drivers for the P4 (the nvidia drivers not nouveau). The problem is that after the install when I run nvidia-smi inside the vm it says that there is no gpu. If I passthrough the whole gpu instead of the vgpu, nvidia-smi shows the gpu, but it still doesn't use it when I test it with unigine heaven. I tried with both q vgpu profiles and with c vgpu profiles, but none work. I'm not quiet sure what I'm doing wrong with the drivers inside . Has anybody experience this issue? If not, can somebody help me understand the right process to install the drivers in linux? I must be doing something wrong, but I don't know what.
FYI: I'm trying to setup a Linux vm for plex. Right now, I'm using a windows one, but hdr tone mapping is not supported on the gpu so it hammers my cpu. In Linux it's supposed to be supported on the gpu.
Error message when running nvidia-smi with vgpu: "Nvidia-smi has failed because it couldn't communicate with the driver."
Thank you
I solved it, by manually installing the drivers using the terminal rather than using the gui driver manager in Linux Mint.
Last edited: