3D acceleration while using VNC connection

I’m not well-versed in X or how graphics acceleration works on Linux.

I have an Ubuntu 22.04 workstation with an RTX 3080 that will be used for some 3D simulation work. I installed the nvidia-driver-515-server driver package. I will access the box remotely, so I’ve set up VNC (using TigerVNC).

Ideally what would like is for the program to run with GPU acceleration at full frame rate, and have the VNC server sample the pixel buffer as fast as it can keep up. (I don’t expect the full frame rate on the client side.)

Although nvidia-settings seems to show that the GPU drivers are working, when I execute glmark2 from within my VNC session, it reports GL_VENDOR: Mesa/X.org and the GPU appears to remain inactive according to nvtop, so I think that it’s doing software rendering.

Is it possible to achieve what I’m going for?

I may have achieved this by installing VirtualGL and then running /opt/VirtualGL/bin/vglrun glmark2 – it reports NVIDIA as the GL_VENDOR and my GPU utilization definitely increases now.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.