problem of configuring stereo in xorg.conf

Donglu Xie donglu at calmail.berkeley.edu
Fri Jul 14 09:08:56 PDT 2006


Hi,

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"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "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"
        ModelName    "VP2030b"
        HorizSync    24.0 - 92.0
        VertRefresh  50.0 - 85.0
        Option      "dpms"
EndSection

Section "Monitor"
        Identifier   "CRT"
        VendorName   "Viewsonic"
        ModelName    "G225fb"
        HorizSync    30.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"
        #VideoRam    262144
        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"
        #VideoRam    262144
        BusID       "PCI:5:0:0"
        Screen      1
        Option     "NoPowerConnectorCheck"
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Videocard1"
        Monitor    "LCD"
        DefaultDepth     24
        SubSection "Display"
               Viewport   0 0
                Depth     24
                Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960"
"1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "CRT"
        DefaultDepth     24
        SubSection "Display"
                Viewport 0     0
                Depth     24
                Modes    "1600x1200_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 (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "Stereo" "3"
(**) NVIDIA(0): Option "NoPowerConnectorCheck"
(**) NVIDIA(0): Onboard stereo requested (DIN connector)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Skipping Power Connector Check.
(II) NVIDIA(0): NVIDIA GPU Quadro FX 3400 at PCI:5:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.40.02.41.04
(II) NVIDIA(0): Detected PCI Express Link width: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on Quadro FX 3400 at
PCI:5:0:0: (--) NVIDIA(0):     ViewSonic G225f (CRT-0)
(--) NVIDIA(0):     ViewSonic VP2030 SERIES (CRT-1)
(--) NVIDIA(0): ViewSonic G225f (CRT-0): 400 MHz maximum pixel clock (--)
NVIDIA(0): ViewSonic VP2030 SERIES (CRT-1): 400 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1600x1200_99.00"
(II) NVIDIA(0):     "1600x1200"
(II) NVIDIA(0):     "1400x1050"
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
(--) NVIDIA(0): DPI set to (99, 101); computed from "UseEdidDpi" X config
option
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Option "NoPowerConnectorCheck"
(**) NVIDIA(1): Enabling RENDER acceleration
(II) NVIDIA(1): NVIDIA GPU Quadro FX 3400 at PCI:5:0:0
(--) NVIDIA(1): VideoRAM: 262144 kBytes
(--) NVIDIA(1): VideoBIOS: 05.40.02.41.04
(II) NVIDIA(1): Detected PCI Express Link width: 8X
(--) NVIDIA(1): Interlaced video modes are supported on this GPU
(--) NVIDIA(1): Connected display device(s) on Quadro FX 3400 at
PCI:5:0:0: (--) NVIDIA(1):     ViewSonic G225f (CRT-0)
(--) NVIDIA(1):     ViewSonic VP2030 SERIES (CRT-1)
(--) NVIDIA(1): ViewSonic G225f (CRT-0): 400 MHz maximum pixel clock (--)
NVIDIA(1): ViewSonic VP2030 SERIES (CRT-1): 400 MHz maximum pixel clock
(II) NVIDIA(1): Assigned Display Device: CRT-1
(II) NVIDIA(1): Validated modes:
(II) NVIDIA(1):     "1600x1200"
(II) NVIDIA(1):     "1400x1050"
(II) NVIDIA(1):     "1280x1024"
(II) NVIDIA(1):     "1280x960"
(II) NVIDIA(1):     "1152x864"
(II) NVIDIA(1):     "1024x768"
(II) NVIDIA(1):     "800x600"
(II) NVIDIA(1):     "640x480"
(II) NVIDIA(1): Virtual screen size determined to be 1600 x 1200
(--) NVIDIA(1): DPI set to (99, 98); computed from "UseEdidDpi" X config
option
(II) NVIDIA(0): Setting mode "1600x1200_99.00"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) NVIDIA(1): Setting mode "1600x1200"
(II) NVIDIA(1): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(1): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(1): Backing store disabled
(==) NVIDIA(1): Silken mouse enabled
(**) NVIDIA(1): DPMS enabled
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type:
Other)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type:
Other)
(II) NVIDIA(0): Setting mode "1600x1200_99.00"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(II) NVIDIA(1): Setting mode "1600x1200"
(II) NVIDIA(1): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(1): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(1): DPMS enabled
(II) NVIDIA(0): Setting mode "1600x1200_99.00"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(II) NVIDIA(1): Setting mode "1600x1200"
(II) NVIDIA(1): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(1): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(1): DPMS enabled
(II) NVIDIA(0): Setting mode "1600x1200_99.00"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(II) NVIDIA(1): Setting mode "1600x1200"
(II) NVIDIA(1): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(1): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(1): DPMS enabled
(II) NVIDIA(0): Setting mode "1600x1200_99.00"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(II) NVIDIA(1): Setting mode "1600x1200"
(II) NVIDIA(1): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(1): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(1): DPMS enabled










More information about the xorg mailing list