vgpu_unlock: Not work for NVIDIA 460.32.03 driver

On Ubuntu 20.04 with 5.8.0.48 kernel.

Try to install 460.32.03 driver downloaded in the portal (NVIDIA-Linux-x86_64-460.32.03-grid.run)

Minor issue, have to fix nvidia/nv-vgpu-vmbus.c to rename PAGE_KERNEL_RX to PAGE_KERNEL_ROX to make dkms happy.

  1. Cannot find fore-mentioned vgpud.service and vgpu-mgr.service, only gridd.service available.
  2. Upon switching to vgpu_unlock to launch gridd.service, still get license issue:
# systemctl status nvidia-gridd.service

Apr 10 00:41:28 sz77 systemd[1]: Starting NVIDIA Grid Daemon...
Apr 10 00:41:28 sz77 systemd[1]: Started NVIDIA Grid Daemon.
Apr 10 00:41:29 sz77 nvidia-gridd[1685]: Started (1685)
Apr 10 00:41:32 sz77 nvidia-gridd[1685]: Licensing not supported for GPUs in the system
Apr 10 00:41:32 sz77 nvidia-gridd[1685]: Failed to handle license change events
Apr 10 00:41:32 sz77 nvidia-gridd[1685]: Licensing not supported for GPUs in the system
Apr 10 00:41:32 sz77 nvidia-gridd[1685]: Failed to unlock PID file: Bad file descriptor
Apr 10 00:41:32 sz77 nvidia-gridd[1685]: Failed to close PID file: Bad file descriptor
Apr 10 00:41:32 sz77 nvidia-gridd[1685]: Shutdown (1685)
Apr 10 00:41:32 sz77 systemd[1]: nvidia-gridd.service: Succeeded.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20

Most upvoted comments

What we are trying to achieve is to merge the kvm files into a client driver, so we can still use the GPU on the host machine. I think the normal consumer driver would be best for this, as the grid version is intended for use with vGPUs and has licensing stuff. Once we have a merged driver we can patch it using the vgpu_unlock method, so we can use the vGPU function on normal consumer GPUs.

Our goal, however, seems outside the scope of the vgpu_unlock project, which only unlocks the typical grid driver for use with consumer GPUs in the intended use case. I also don’t yet know if guest vGPU licensing is going to be an issue.

Correct. So far, I was able to merge the consumer driver with the vgpu-kvm driver and install it.

Good side:

  1. Display uses NVIDIA driver hence you are at the right resolution now;
  2. I haven’t tried any testing program with OpenGL, but Steam and Civ6 opens with this setup;
  3. nvidia_vgpu_vfio shows up as kernel module.

Bad side:

  1. CUDA doesn’t work at all, fail at initialization;
  2. Because of 1, I am not inclined to setup a vgpu and try it in a VM at the moment.