We have been using vgl to run Slicer remotely with HW acceleration on a Linux server quite a while now. I just installed one of the nightly from 12/06 and I am getting a blank Slicer window with these errors
[maga@magalab-head ~]$ vglrun +v /home/apps/Slicer-4.11.0-2018-12-06-linux-amd64/Slicer
[VGL] NOTICE: Added /usr/lib64/VirtualGL to LD_LIBRARY_PATH
[VGL] Shared memory segment ID for vglconfig: 809205760
[VGL] VirtualGL v2.4 64-bit (Build 20150505)
[VGL] Opening connection to 3D X server :0
[VGL] Shared memory segment ID for vglconfig: 809271310
[VGL] VirtualGL v2.4 64-bit (Build 20150505)
[VGL] Opening connection to 3D X server :0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-maga’
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Switch to module: “Data”
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QOpenGLWidget: Failed to create context
4.8.1 works fine with the same vgl version.
[maga@magalab-head ~]$ vglrun +v /home/apps/Slicer-4.8.1-linux-amd64/Slicer
[VGL] NOTICE: Added /usr/lib64/VirtualGL to LD_LIBRARY_PATH
[VGL] Shared memory segment ID for vglconfig: 809402427
[VGL] VirtualGL v2.4 64-bit (Build 20150505)
[VGL] Opening connection to 3D X server :0
[VGL] Shared memory segment ID for vglconfig: 809467966
[VGL] VirtualGL v2.4 64-bit (Build 20150505)
[VGL] Opening connection to 3D X server :0
Number of registered modules: 169
Number of instantiated modules: 166
[VGL] WARNING: VirtualGL attempted and failed to obtain a true color visual on
[VGL] the 3D X server :0 suitable for off-screen rendering.
[VGL] This is normal if the 3D application is probing for visuals with
[VGL] certain capabilities, but if the app fails to start, then make sure
[VGL] that the 3D X server is configured for true color and has accelerated
[VGL] 3D drivers installed.
[VGL] Using Pbuffers for rendering
[VGL] Using pixel buffer objects for readback (BGR → BGRA)
^XNumber of loaded modules: 166
Switch to module: “Data”
Any suggestions how to mitigate this issue? I should note that nightly works fine if I actually interactively login to the server through regular X-session. Running through vgl seems to cause the issue.