Hello,
I have a Nvidia Quadro P2000 card which is shared with a Centos container. The host running a container is a headless server. I started vncserver in the container, and connected to from a remote client. Unfortunately, i am not able to use any hardware accelaration.
In the container i get the following:
$ /opt/VirtualGL/bin/vglrun -display :1 glxgears
failed to create drawable
[VGL] ERROR: in OGLDrawable--
[VGL] 83: Could not create Pbuffer
$ ls -la /dev/nvidia*
crw-rw-rw- 1 nfsnobody nfsnobody 237, 0 Nov 22 01:32 /dev/nvidia-uvm
crw-rw-rw- 1 nfsnobody nfsnobody 237, 1 Nov 22 01:32 /dev/nvidia-uvm-tools
crw-rw---- 1 root vglusers 195, 0 Nov 22 05:11 /dev/nvidia0
crw-rw-rw- 1 nfsnobody nfsnobody 195, 255 Nov 22 01:32 /dev/nvidiactl
$ nvidia-smi
Sat Nov 23 03:28:40 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.31 Driver Version: 440.31 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro P2000 Off | 00000000:82:00.0 Off | N/A |
| 58% 56C P0 19W / 75W | 10MiB / 5059MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Any idea how to fix this?
Thanks