[Chimera-users] openGL error.

Greg Couch gregc at cgl.ucsf.edu
Wed Apr 8 14:01:00 PDT 2015

Remotely displaying OpenGL hasn't worked well for many, many years, and 
it appears that it will be going away once Wayland replaces X11, so long 
term, you're better off switching to vnc or some other remote desktop 
interface.  In the short term, it does still work sometimes, and when it 
does work, it is very good -- usually if the graphics driver on both 
ends is from the same vendor.  But, for most people, the long term 
solution is still the best short term solution.

In your particular case, with a Linux server and a Mac client, both 
sides could be buggy.  On the Mac side, I would use the latest version 
of XQuartz from xquartz.macosforge.org as the X11, try both the latest 
stable release and the latest development release.  If that doesn't fix 
the problem, then my guess would be that the bug is with the ancient 
version of Mesa that is installed on the Linux server.  The fix for that 
is difficult, you need to compile Mesa from source, and set the 
LD_LIBRARY_PATH environment variable to the directory with the compiled 
Mesa libraries before starting Chimera.

     Good luck!


On 04/07/2015 07:11 PM, Mosavverul Hassan wrote:
> Hi,
>     I am trying to get chimera run remotely on a linux server while 
> logging into it from a mac terminal. I get the following error
> libGL error: failed to load driver: swrast
> X Error of failed request:  GLXBadContextTag
> Major opcode of failed request:  150 (GLX)
> Minor opcode of failed request:  5 (X_GLXMakeCurrent)
> Serial number of failed request:  1386
> Current serial number in output stream:1386
> glxinfo gives me the following
> name of display: localhost:13.0
> libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
> libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
> libGL: driver does not expose __driDriverGetExtensions_swrast(): 
> /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: 
> __driDriverGetExtensions_swrast
> libGL: Can't open configuration file /mnt/raidc2/mhassan/.drirc: No 
> such file or directory.
> libGL: Can't open configuration file /mnt/raidc2/mhassan/.drirc: No 
> such file or directory.
> libGL error: failed to load driver: swrast
> display: localhost:13  screen: 0
> direct rendering: No (If you want to find out why, try setting 
> LIBGL_DEBUG=verbose)
> server glx vendor string: SGI
> server glx version string: 1.4
> It seems to run fine from a linux computer but has problems with a 
> mac. I am using X11 forwarding  when I log in. I have X11 on my mac. 
> Could someone please help me out?
> Regards,
> Mosavverul Hassan.
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150408/1aaee748/attachment.html>

More information about the Chimera-users mailing list