Root, OpenGL, X2Go


Please read tips for efficient and successful posting and posting code

_ROOT Version:6.20.04
_Platform:Ubuntu 18.04
_Compiler:gcc 7.4


Hello,
has anybody experience using OpenGL within Root in a X2Go session?
When executing an OpenGL tutorial I get:

Error in <TGLWidget::CreateWindow>: No good OpenGL visual found!

The GL example “glxgears” provided by Ubuntu works.
Cheers
Otto

The “remote” machine runs Ubuntu 18.04 and what is your “local” machine?
What graphics cards do both machines have?

Can you run “glxinfo” and “glxgers” / “glxheads” / “glxdemo” on both machines, the “remote” and your “local” machine?

On the “remote” machine, you could try some of (there are also graphics card driver specific variables):
export LIBGL_ALWAYS_INDIRECT=1
export LIBGL_ALWAYS_SOFTWARE=1

You can also have a look at: CMSPublic -> OpenGL and X11 problems
and search for graphics card specific solutions, e.g.: Intel graphics

Hi Wile,
great, this helps:

Thanks
Otto

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