Re: [PyMOL] (no subject)

2006-07-17 Thread Donglu Xie
Hi Warren,

Thank you very much. Under the help of one of PyMol users, at last figure
out the right configuration. It needs AllowDFPStereo on in LCD and
XineramaStereoFlipping on in CRT. Following is the part I changed:

== begin the partial xorg.conf 

# for CRT
Section Device
Identifier  Videocard0
Driver  nvidia
VendorName  Videocard vendor
BoardName   NVIDIA Quadro FX3400
BusID   PCI:5:0:0
Option  Stereo 3
Screen 0
Option UBB   1
Option NoPowerConnectorCheck
Option   XineramaStereoFlipping 1
EndSection


# for LCD
Section Device
Identifier  Videocard1
Driver  nvidia
VendorName  Videocard vendor
BoardName   NVIDIA Quadro FX3400
BusID   PCI:5:0:0
Screen  1
Option UBB   1
Option Stereo   3
Option NoPowerConnectorCheck
Option   AllowDFPStereo 1
EndSection

== end 

Bests,
-Donglu


 Donglue,

 My suspicion is that stereo and windows spanning multiple displays may
 be mutually exclusive, possibly because the displays aren't necessarily
 sync'd on the VBL, or because the LCD context may not be stereo-capable.

 Cheers,
 Warren

 -Original Message-
 From: pymol-users-boun...@lists.sourceforge.net
 [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Donglu
 Xie
 Sent: Saturday, July 15, 2006 9:36 AM
 To: pymol-users@lists.sourceforge.net
 Subject: [PyMOL] (no subject)

 Hi Dear Pymol-users,

 Sorry about this long message. I am struggling to configure X Windwo to
 enable stereo.

 Two monitors are connected with the NVIDIA GPU Quadro FX 3400 card. One
 monitor is ViewSonic VP2030b LCD, another is ViewSonic G225fb CRT. Try
 to
 configure X widnow to enable stereo with Xinerama on so that application
 can cross the screen boundaries. There is no any error or warning
 message
 in Xorg.0.log (xorg.conf is below). However, when tried to run stereo
 application, such as PyMol or Coot, it doesn't work. It came out with
 different error messages.

 In PyMol, error is following:
 X Error of failed request:  BadValue (integer parameter out of range for
 operation)
   Major opcode of failed request:  78 (X_CreateColormap)
   Value in failed request:  0x0
   Serial number of failed request:  14
   Current serial number in output stream:  16
  PyMOL: abrupt program termination.

 In Coot, the error is
 Gdk-ERROR **: BadValue (integer parameter out of range for operation)
   serial 390 error_code 2 request_code 78 minor_code 0

 Googling doesn't get much useful information.

 I also tried to use Twinview. The stereo works well. However, the
 application interface cannot move cross the screen boundaries.

 The Xinerama enabled setting works perfect with systems connected with a
 CRT and a LCD monitors
 (2.4.20-6smp #1 SMP Thu Feb 27 09:36:38 EST 2003 i686 athlon i386
 GNU/Linux)
 (NVIDIA Quadro4 750 XGL).

 The system with stereo problem is
 2.6.9-34.0.1.ELlargesmp #1 SMP Wed May 17 17:19:07 EDT 2006 x86_64
 x86_64
 x86_64 GNU/Linux

 xorg.conf and partial of Xorg.0.log files is below.

 Any help or suggestion is appreciated.
 Best,
 -Donglu Xie

 xorg.conf is following
 =
 Section ServerLayout
 Identifier Dual Layout
 Option Xinerama true
 Screen 0  Screen0
 Screen 1 Screen1 RightOf Screen0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
 RgbPath  /usr/X11R6/lib/X11/rgb
 FontPath unix/:7100
 EndSection

 Section Module
 Load  dbe
 Load  extmod
 Load  fbdevhw
 Load  glx
 Load  glx
 Load  record
 Load  freetype
 Load  type1
 #   Load  dri
 EndSection

 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel pc105
 Option  XkbLayout us
 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
 Identifier   LCD
 VendorName   Viewsonic
 ModelNameVP2030b
 HorizSync24.0 - 92.0
 VertRefresh  50.0 - 85.0
 Option  dpms
 EndSection

 Section Monitor
 Identifier   CRT
 VendorName   Viewsonic
 ModelNameG225fb
 HorizSync30.0 - 130.0
 VertRefresh  50.0 - 160.0
 Option  dpms
 Modeline 1600x1200_99.00  277.61  1600 1728 1904 2208  1200
 1201
 1204 1270  -HSync +Vsync
 EndSection

 Section Device
 Identifier  Videocard0
 Driver  nvidia
 VendorName  Videocard vendor
 BoardName   NVIDIA Quadro FX3400

[PyMOL] (no subject)

2006-07-13 Thread Donglu Xie
Hi Dear Pymol-users,

Sorry about this long message. I am struggling to configure X Windwo to
enable stereo.

Two monitors are connected with the NVIDIA GPU Quadro FX 3400 card. One
monitor is ViewSonic VP2030b LCD, another is ViewSonic G225fb CRT. Try to
configure X widnow to enable stereo with Xinerama on so that application
can cross the screen boundaries. There is no any error or warning message
in Xorg.0.log (xorg.conf is below). However, when tried to run stereo
application, such as PyMol or Coot, it doesn't work. It came out with
different error messages.

In PyMol, error is following:
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  78 (X_CreateColormap)
  Value in failed request:  0x0
  Serial number of failed request:  14
  Current serial number in output stream:  16
 PyMOL: abrupt program termination.

In Coot, the error is
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 390 error_code 2 request_code 78 minor_code 0

Googling doesn't get much useful information.

I also tried to use Twinview. The stereo works well. However, the
application interface cannot move cross the screen boundaries.

The Xinerama enabled setting works perfect with systems connected with a
CRT and a LCD monitors
(2.4.20-6smp #1 SMP Thu Feb 27 09:36:38 EST 2003 i686 athlon i386 GNU/Linux)
(NVIDIA Quadro4 750 XGL).

The system with stereo problem is
2.6.9-34.0.1.ELlargesmp #1 SMP Wed May 17 17:19:07 EDT 2006 x86_64 x86_64
x86_64 GNU/Linux

xorg.conf and partial of Xorg.0.log files is below.

Any help or suggestion is appreciated.
Best,
-Donglu Xie

xorg.conf is following
=
Section ServerLayout
Identifier Dual Layout
Option Xinerama true
Screen 0  Screen0
Screen 1 Screen1 RightOf Screen0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
FontPath unix/:7100
EndSection

Section Module
Load  dbe
Load  extmod
Load  fbdevhw
Load  glx
Load  glx
Load  record
Load  freetype
Load  type1
#   Load  dri
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc105
Option  XkbLayout us
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
Identifier   LCD
VendorName   Viewsonic
ModelNameVP2030b
HorizSync24.0 - 92.0
VertRefresh  50.0 - 85.0
Option  dpms
EndSection

Section Monitor
Identifier   CRT
VendorName   Viewsonic
ModelNameG225fb
HorizSync30.0 - 130.0
VertRefresh  50.0 - 160.0
Option  dpms
Modeline 1600x1200_99.00  277.61  1600 1728 1904 2208  1200 1201
1204 1270  -HSync +Vsync
EndSection

Section Device
Identifier  Videocard0
Driver  nvidia
VendorName  Videocard vendor
BoardName   NVIDIA Quadro FX3400
#VideoRam262144
BusID   PCI:5:0:0
Option  Stereo 3
Screen 0
Option NoPowerConnectorCheck
EndSection

Section Device
Identifier  Videocard1
Driver  nvidia
VendorName  Videocard vendor
BoardName   NVIDIA Quadro FX3400
#VideoRam262144
BusID   PCI:5:0:0
Screen  1
Option NoPowerConnectorCheck
EndSection

Section Screen
Identifier Screen1
Device Videocard1
MonitorLCD
DefaultDepth 24
SubSection Display
   Viewport   0 0
Depth 24
Modes1600x1200 1400x1050 1280x1024 1280x960
1152x864 1024x768 800x600 640x480
EndSubSection
EndSection

Section Screen
Identifier Screen0
Device Videocard0
MonitorCRT
DefaultDepth 24
SubSection Display
Viewport 0 0
Depth 24
Modes1600x1200_99.00 1600x1200 1400x1050
1280x1024 1024x768 800x600 640x480
EndSubSection
EndSection

 end of xorg.conf ==


Partial of Xorg.0.log

(II) Module glx: vendor=NVIDIA Corporation
(II) Module nvidia: vendor=NVIDIA Corporation
(II) NVIDIA dlloader X Driver  1.0-8756  Wed Mar 29 15:14:16 PST 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(--) Chipset NVIDIA GPU found
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction