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.