Hi,

Thanks for the tip. However, I can't see how to solve the problem. I have a NVidia Gforce6600 video card, with the nvidia driver installed (1.0-8774). In fact, when I launch PyMOL it seems to detect everithing OK except from the freeGLUT problem. I attach the complete message from PyMOL and my xorg.conf file, any ideas where the problem can be??
I am used v99-rc6 pre-compiled version on a FC5-x86_64 distribution.
# pymol
freeglut (/home/hteran/tmp/programs/pymol/pymol.exe): Unable to create direct context rendering for window 'PyMOL Viewer'
This may hurt performance.

PyMOL(TM) Incentive Product - Copyright (C) 2006 DeLano Scientific LLC.

A current PyMOL Maintenance and/or Support Subscription may be required
for legal use of this Build beyond a finite honor-system evaluation period.
Please visit http://www.pymol.org/funding.html for more information.

This PyMOL Executable Build incorporates Open-Source PyMOL 0.99rc6.
OpenGL graphics engine:
 GL_VENDOR: NVIDIA Corporation
 GL_RENDERER: GeForce 6600/PCI/SSE2
 GL_VERSION: 1.4 (2.0.2 NVIDIA 87.74)
Adapting to GeForce hardware.
Detected 2 CPUs.  Enabled multithreaded rendering.

My xorg.conf file:


# Xorg configuration created by system-config-display

Section "ServerLayout"
       Identifier     "single head configuration"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
       ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
       ModulePath   "/usr/lib64/xorg/modules"
       FontPath     "unix/:7100"
EndSection

Section "Module"
       Load  "dbe"
       Load  "extmod"
       Load  "fbdevhw"
       Load  "record"
       Load  "freetype"
       Load  "type1"
       Load  "glx"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
       Identifier  "Keyboard0"
       Driver      "kbd"
       Option      "XkbModel" "pc105"
       Option      "XkbLayout" "es"
EndSection

Section "InputDevice"
       Identifier  "Mouse0"
       Driver      "mouse"
       Option      "Protocol" "IMPS/2"
       Option      "Device" "/dev/input/mice"
       Option      "ZAxisMapping" "4 5"
       Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
#       HorizSync    30.0 - 70.0
#       VertRefresh  50.0 - 150.0
       Identifier   "Monitor0"
       VendorName   "Monitor Vendor"
       ModelName    "Visual Sensa"
       DisplaySize  310        230
### Comment all HorizSync and VertSync values to use DDC:
       HorizSync    30.0 - 83.0
       VertRefresh  56.0 - 75.0
       Option      "dpms"
EndSection

Section "Device"
       Identifier  "Videocard0"
       Driver      "nvidia"
       VendorName  "Videocard vendor"
       BoardName   "nVidia Corporation NV43 [GeForce 6600]"
EndSection

Section "Screen"
       Identifier "Screen0"
       Device     "Videocard0"
       Monitor    "Monitor0"
       DefaultDepth     24
       SubSection "Display"
               Viewport   0 0
               Depth     16
               Modes    "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Viewport   0 0
               Depth     24
               Modes    "1280x1024"
       EndSubSection
EndSection

Section "DRI"
       Group        0
       Mode         0666
EndSection





DeLano Scientific wrote:
Hugo,

I believe Donnie is mistaken:  PyMOL runs just fine with FreeGLUT 2.4.0
(don't know about all 2.4.x though).  Lack of an ability to create a direct
rendering context is most likely a problem with your graphics driver, X11
configuration, pixel depth, or with the interaction between FreeGLUT and
your graphics driver.
Cheers,

DeLano Scientific LLC
Email Support Services
-----Original Message-----
From: pymol-users-boun...@lists.sourceforge.net [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Hugo Gutiérrez de Teran
Sent: Friday, November 03, 2006 1:30 AM
To: Donnie Berkholz
Cc: pymol-users@lists.sourceforge.net
Subject: Re: [PyMOL] freeglut problem

Same problem with freeglut2.2.0
Isn't it strange that pymol + freeglut2.4 is NOT compatible, when it is specifically said in pymol distribution that one of the dependences is freeglut2.4????

Thanks,
Hugo

Donnie Berkholz wrote:
        Hugo Gutiérrez de Teran wrote:
freeglut (/home/hteran/tmp/programs/pymol/pymol.exe): Unable to create direct context rendering for window 'PyMOL Viewer' This may hurt performance.
                
                But my system says I have freeglut installed:
                
                # yum search glut
freeglut.i386 2.4.0-4 installed freeglut.x86_64 2.4.0-4 installed
        
freeglut-2.4 + pymol = broken. Try glut instead, or perhaps freeglut-2.2
        or freeglut CVS.
        
        Thanks,
        Donnie
        


--
Hugo G. de Teran, PhD.
Departmento de Farmacología / Instituto de Farmacia Industrial Universidade Santiago de Compostela

Facultad de Farmacia           Phone: +34 981 563 100 ext 13040
Campus Sur, s/n E-15782 Fax: +34 981 594595 Santiago de Compostela (SPAIN) e-mail:hugo...@usc.es






--
Hugo G. de Teran, PhD.
Departmento de Farmacología / Instituto de Farmacia Industrial
Universidade Santiago de Compostela

Facultad de Farmacia           Phone: +34 981 563 100 ext 13040
Campus Sur, s/n E-15782 Fax: +34 981 594595 Santiago de Compostela (SPAIN) e-mail:hugo...@usc.es


Reply via email to