Email me Call me on Skype RSS feed Twitter Facebook Last.fm Spotify Flickr Steam  Github

PyMOL with Ubuntu 11.10 rendering problems

Fri, 24/02/2012 - 12:45 -- Morgan

Recently my (Ubuntu 11.10 64bit) machine stopped playing nice with PyMOL and whenever I tried to render or move an object I was facing a >40 second render time, while both of my CPU cores jumped to >90%

When I paid close attention to the startup messages in the PyMOL command window I could see:

Detected OpenGL version 2.0 or greater.  Shaders available.

 PyMOLShader_NewFromFile-Error: Unable to open file '/usr/lib/pymodules/python2.7/pymol/data/shaders/default.vs' PYMOL_PATH='/usr/lib/pymodules/python2.7/pymol'

 PyMOLShader_NewFromFile-Warning: default shader files not found, loading from memory.

 PyMOLShader_NewFromFile-Error: Unable to open file '/usr/lib/pymodules/python2.7/pymol/data/shaders/volume.vs' PYMOL_PATH='/usr/lib/pymodules/python2.7/pymol'

 PyMOLShader_NewFromFile-Warning: volume shader files not found, loading from memory.

In short, the current version of PyMOL supported by Ubuntu (1.4.1-1) was having troubles playing nicely with the new version of Python (2.7).

Going through the Debian bug pages you can find that there's a similar problem for all Debian OSs, which is apparently solved in PyMOL 1.5.

 

So all we need to do is download the new PyMOL and install it.

The x64 version is available here and can be installed with pointing a terminal window at your Downloads folder

cd ~/Downloads

sudo dpkg -i pymol_1.5.0.1-1_amd64.deb

However, the installation fails because our OpenGL drivers aren't modern enough and we need at least version 1.7 of the libglew library, Ubuntu currently supports v1.5.

So download libglew v1.7 from Debian and install

sudo dpkg -i libglew1.7_1.7.0-3_amd64.deb

Now PyMOL will install correctly with

sudo dpkg -i pymol_1.5.0.1-1_amd64.deb

Load up PyMOL and you'll find that it responds now as it should.

 

Add new comment

Latest posts

...is the ability that every day provides the opportunity,...
3 weeks 5 days ago
MISHAP is yet to be made available for general release...
1 month 6 days ago
Faced with fitting well over 30 experiments at room and low...
3 months 2 weeks ago
  It has been some time since my last blog post, but this...
4 months 3 weeks ago
E2AF or "EPR 2 ASCII folder" is a folder version of E2A,...
6 months 4 weeks ago

Latest comments

Latest tweets