From: mark <m....@5-...> - 2013-02-12 02:27:05
|
On 02/11/13 09:30, Troels Emtekær Linnet wrote: > Hi. > > Well, I don't know really what you wan't, but I remember pain with > graphics and computers. :-) > > I see the same error (X Error of failed request....) when I get a > kernel update to my CentOS comp. That screws up my NVIDIA driver > installation, pymol fails, and I have to reinstall the driver > package. Nope, not needed. I had not updated the system before the pymol package was installed - it did come as a package from a standard repository. > > The term "LIBGL_ALWAYS_INDIRECT=1", is controlling something with > which method draws the window. By OpenGL or by the mesa driver. > (Something like that). The OpenGL is super fast, and mesa driver is > slow. > Yeah, it appears to definitely be freeglut. In googling, I found several references to a variable or function name change. <snip> > > If this can help, our execution script for pymol is: > > ---------------------------------------------------------------------- > > [tlinnet@tomat pymolsvn]$ cat pymolMPEG.sh > #!/bin/bash if [ ! -f > $HOME/.local/share/applications/pymolsvn.desktop ]; then ln -s > /ourlab/software/pymolsvn/pymolsvn.desktop > $HOME/.local/share/applications/pymolsvn.desktop fi > > export FREEMOL=/ourlab/software/pymolsvn/svnfreemol/freemol export > PYMOL_GIT_MOD=/ourlab/software/pymolsvn/Pymol-script-repo/modules > export > PYTHONPATH=$PYTHONPATH:/ourlab/software/x64/lib64/python2.6/site-packages/PIL > > export > PYTHONPATH=$PYTHONPATH:/ourlab/software/x64/lib64/python2.6/site-packages/lib-tk > > export > PYTHONPATH=$PYTHONPATH:/ourlab/software/x64/lib64/python2.6/site-packages/lib-dynload > > export > PYTHONPATH=/ourlab/software/pymolsvn/Pymol-script-repo/modules:$PYTHONPATH > > export PYTHONPATH=/ourlab/software/pymolsvn/Pymol-script-repo:$PYTHONPATH > export > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ourlab/software/x64/lib/pymollib > *export LIBGL_ALWAYS_INDIRECT=no* > > /usr/bin/python /ourlab/software/pymolsvn/modules/pymol/__init__.py > "$@" <snip> I'll look at that tomorrow. One thing I question: why are there asterisks around the export LIBGL_ALWAYS_INDIRECT? mark |