When UCSF Chimera doesn't like Ubuntu

As a Mac user UCSF Chimera has always run smoothly in portables and desktop computers.
Maybe I've ran into some problems with OpenGl but that is about it. However, as I have been using some Linux machines in the last few years I ran into another unexpected bug:

An libGl driver error.

Here is the full text of the error.


libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: unable to load driver: swrast
X Error of failed request: GLXBadContextTag
  Major opcode of failed request 156 (GLX)
  Minor opcode of failed request 5 (GLXMakeCurrent)
  Serial number of failed request: 1475
  Current serial number in output stream: 1475

As can be read, the drivers correspond to a flavor of ATI Radeon that is recognized but fails to load.
Then, there is the GLX error. As the modern adage goes, I "google it" and what I got was interestingly accurate for Gl/GLX drivers but totally left field (well, maybe not that much): failure to load Steam on Linux. The symptoms were similar, failure to load the GUI. The cure, replace a libstdc++.so.6.

In my hands, and after some tinkering, the cure for my problem was to go into the lib folder inside the UCSF Chimera folder and erase two files:


libgcc_s.so.1
libstdc++.so.6

 After that, UCSF Chimera loaded right and performed normally. So far, this fix has worked without obviously breaking anything else.

Afterword: modern Linux is pretty stable and simple to use. But the above type of fix reminds me that Linux used to feel very "hacky". Some things change others never change.

Comments

Popular Posts