Closed rkoyama1623-2021 closed 3 years ago
That's because you are logged into the 3D X server. VirtualGL does basically two things:
glXSwapBuffers()
), VirtualGL reads back the OpenGL-rendered frames from GPU memory and transports them to the 2D X server.Thus, if you are running a 3D application on a GPU-accelerated X server that is local from the point of view of the 3D application, then VirtualGL serves no useful purpose. If you need to do that for testing purposes, then you'll need to set VGL_DISPLAY=:1.0
or pass -d :1.0
to vglrun
if your operating system is relatively modern. The default value of VGL_DISPLAY
(:0.0
) is appropriate for using VirtualGL when the 3D X server is sitting at the login prompt (that is the purpose of vglserver_config
-- to grant a particular set of users access to the 3D X server when it is at the login prompt.) However, when you log in, GDM freezes Display :0.0, and only Display :1.0 can be used (and it can only be used by the user that is logged in.)
Thank you for the detailed information. Sorry for my lack of study. I have a better understanding now.
Hi, I'm trying to use virtualgl with Ubuntu 18.04 on Intel NUC (NUC8i7HVKVA, link), whose GPU is
Radeon RX Vega M GH
. I could once successfully install virtualgl on it, but I cannot again after clean install. Please give me your advice.Problem
I cannot run glxinfo or glxgears. No error, but looks like freezing.
I can run glxinfo attached with VirtualGL.
I can run glxspheres64.
I can run glxinfo without vglrun.
Test commands can be executed.
How I installed VirtualGL
Download amdgpu-pro-21.20-1274019-ubuntu-18.04.tar.xz from here.
Thank you.