5

glxgears functions fine for me when I'm directly on the server side machine. However, when I am trying to run glxgears over SSH but I get the following failure messages:

ssh server -Y
Warning: No xauth data; using fake authentication data for X11 forwarding.
$ glxinfo | grep OpenGL 
Error: couldn't find RGB GLX visual or fbconfig 
$ glxgears
Error: couldn't get an RGB, Double-buffered visual

Here's some relevant info from my xorg log:

# cat /var/log/Xorg.0.log | grep glx
[1795257.035] (II) "glx" will be loaded by default.
[1795257.035] (II) LoadModule: "glx"
[1795257.036] (II) Loading /usr/lib64/nvidia/xorg/libglx.so
[1795257.043] (II) Module glx: vendor="NVIDIA Corporation

Server Machine is a CentOS 6.9 desktop with an Nvidia Geforce GTS 450. I have nvidia drivers (Nvidia 375.51) provided by kmod-nvidia from the epel repo. I also have mesa libraries installed for OpenGL.

I am SSH'ing from a macOS Sierra 10.12.5 with an Nvidia Geforce GT 750M. Drivers seem to be NVIDIA-10.17.5.

I noticed the above commands work when the client computer has similar Nvidia graphics drivers (Nvidia 375.*). Unfortunately, I can't do this from my mac because the graphics card is not compatible with those graphics drivers.

3
  • 1
    Does your Mac have XQuartz running? Commented Jun 6, 2017 at 5:26
  • Yes, I have XQuartz running on there. The latest version too.
    – PolkaRon
    Commented Jun 6, 2017 at 16:32
  • Does this bug information is relevant to your issue? - bugs.freedesktop.org/show_bug.cgi?id=93953 - This guy seems to have fixed a simmilar problem with a specific xquartz version.
    – user34720
    Commented Jun 6, 2017 at 18:39

1 Answer 1

1

I have had a problem running an OpenGL application over X11 - essentially there is a clash of drivers.

I fixed my problem by installing VirtualGL (http://www.virtualgl.org) - you need to install it on the server and the client and use their commands to run the SSH session but it is working well for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .