[PyMOL] SOLUTION to nVidia driver problem

2005-04-22 Thread Peter Dudek
Hello everyone, 

I found a temporary solution to the driver problem, in case there are people 
out there who are too lazy to roll them back (like me). Basically, when 
running pymol from the command-line with the new drivers, an error regarding 
the TLS library is produced:

ImportError: libnvidia-tls.so.1: cannot handle TLS data

This was the exact same error I was getting after installing the 6111 drivers 
for the first time - but at the time, it seemed I was the only one on this 
list with this problem (you can scan the archive for the thread). However, 
the solution remains the same. Renaming /usr/lib/tls to something else 
(/usr/lib/tls_backup) for instance, solved this issue. Now pymol launches and 
is accelerated normally.

I'm running Debian SID, kernel 2.4.26, on AMD64 hardware.

Regards,
Peter

--  
Laboratory of Dr. Didier Picard
University of Geneva
Department of Cell Biology
Sciences III
30, Quai Ernest-Ansermet
1211 Geneva 4
Switzerland
Tel: +41 22 379 3254
Fax: +41 22 379 6442
Email: du...@cellbio.unige.ch
http://www.picard.ch/DP/DPhome.html



[PyMOL] exporting surfaces

2004-10-19 Thread Peter Dudek
Dear Pymol users,

Does anyone know if there is a way to export surfaces into a file format 
suitable for import into 3D modellers (ie. Blender, 3DSMax, Lightwave, etc)? 
For that matter, is it possible at all to export anything in pymol?

I realize that asking for support of a particular 3D file format is a bit of a 
slippery slope - if one export format is supported, everyone will want 
support for their favourite format. This is why I embarked on a bit of a 
solitary crusade a few months ago - I wrote a small (and dubious) python 
script that converts MSMS calculated surfaces into the RAW file format, which 
*every* 3D modeller can import. Unfortunately, I could never figure out how 
to extrapolate or calculate the normals, so quite a bit of detail is lost in 
the conversion.

How are surfaces calculated and stored in pymol? If writing an export 
filter/extension is trivial, I'd be willing to do it with a bit of hand 
holding. 

Cheers,
Peter

-
Laboratory of Dr. Didier Picard
University of Geneva
Department of Cell Biology
Sciences III
30, Quai Ernest-Ansermet
1211 Geneva 4
Switzerland
Tel: +41 22 379 3254
Fax: +41 22 379 6442
Email: du...@cellbio.unige.ch
http://www.picard.ch/DP/DPhome.html



Re: [PyMOL] Warning: Nvidia 6111 drivers for linux

2004-10-14 Thread Peter Dudek
Chen,

Kernel: 2.4.26 (I observe the same with 2.4.25)
Distribution: Debian (straight SARGE, and pymol was acquired with apt-get, so
no
funny compiling business here)
Python: 2.3 (2.4 is also there, but only for testing purposes)

I've noticed on other mailing lists, that people have reported similar error
messages with other packages. This is how I found the original solutions. I
just wanted to report that it also occurs with Pymol. Perhaps you are right,
perhaps it's a python problem, but I'm not prepared to roll back to 2.2 to test
it.

 What Linux are you using? Seems it's not a problem on RedHat linux, I am 
 running both 7.3 and EL-AS, with 2.4.20 and 2.4.21 kernel respectively, 
 and the exact same NVIDIA version without any problem at all.
 Although we are using python2.2, looks like you are using python2.3, maybe 
 that's the problem?
 
 Best
 Chen

Robert, 

According to what I've managed to learn from googling around a bit, this
problem
doesn't occur on 2.6.x kernels.

 I'm running Fedora Core 2 with:
 (II) Module glx: vendor=NVIDIA Corporation
 compiled for 4.0.2, module version = 1.0.6111

 And:
 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT 2004 i686 athlon i386 GNU/Linux

 With no problems whatsover...
 
 Robert

Well, I'm glad to hear this problem isn't as endemic for Pymol users as I had
feared. What surprised me was that it happened on a fresh Debian install. The
solutions I had posted earlier *do* solve the problem (they did for me), so
hopefully the information will be useful to some people who encounter it. 

Regards,
Peter  

_.--'`'--.__.--'`'--.__.--'`'--.__  
 -:`.'|`|':-.  '-:`.'|`|':-.  '-:`.'|`|':-.  '.` :
  '.  | |  | |'.  '.  | |  | |'.  '.  | |  | |'.  '.:
'.  '.| |  | |  '.  '.| |  | |  '.  '.| |  | |  '.  '.
  '.  `.:_ | :_.' '.  `.:_ | :_.' '.  `.:_ | :_.' '.  `.
 `-..,..-'   `-..,..-'   `-..,..-'   `
  
Laboratory of Dr. Didier Picard
University of Geneva
Department of Cell Biology
Scinces III
30, Quai Ernest-Ansermet
1211 Geneva 4
Switzerland

Tel: +41 22 379 3254
Fax: +41 22 379 6442

Email: du...@cellbio.unige.ch

http://www.picard.ch/DP/DPhome.html

_.--'`'--.__.--'`'--.__.--'`'--.__  
 -:`.'|`|':-.  '-:`.'|`|':-.  '-:`.'|`|':-.  '.` :
  '.  | |  | |'.  '.  | |  | |'.  '.  | |  | |'.  '.:
'.  '.| |  | |  '.  '.| |  | |  '.  '.| |  | |  '.  '.
  '.  `.:_ | :_.' '.  `.:_ | :_.' '.  `.:_ | :_.' '.  `.
 `-..,..-'   `-..,..-'   `-..,..-'   `