Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia Dual Monitor OpenGL=blank screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
WaVeX
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 102
Location: USA, Michigan or Ohio

PostPosted: Thu Apr 14, 2005 6:16 pm    Post subject: Nvidia Dual Monitor OpenGL=blank screen Reply with quote

I have been trying to figure this out. For some reason with this xorg.conf below I can't get OpenGL to work. It works with a single monitor xorg.conf I have. But no this dual screen one. Everything works just not OpenGL. glxgears just shows a blank window.

Code:
#Section "ServerLayout"
#   Identifier     "X.org Configured"
#   Screen      0  "Screen0" 0 0
#   InputDevice    "Mouse0" "CorePointer"
#   InputDevice    "Keyboard0" "CoreKeyboard"
#EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Speedo/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/ttf-bitstream-vera/"
   FontPath     "/usr/share/fonts/terminus/"
   FontPath     "/usr/share/fonts/corefonts/"
   FontPath     "/usr/share/fonts/freefont/"
   FontPath     "/usr/share/fonts/artwiz/"
   FontPath     "/usr/share/fonts/local/"
   FontPath     "/usr/share/fonts/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/encodings/"
   FontPath     "/usr/share/fonts/util/"
   FontPath     "/usr/share/fonts/sharefont/"
   FontPath     "/usr/share/fonts/lfp-fix/"
   FontPath     "/usr/share/fonts/unifont/"
EndSection

Section "Module"
   Load  "extmod"
   #Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "glx"
   Load  "speedo"
   Load  "type1"
   Load  "freetype"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   #Driver      "keyboard"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "ImPS/2"
   Option       "Device" "/dev/input/mice"
   Option       "ZaxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"

       
        Option     "NoLogo"   "true"   
        Option     "NvAGP"     "3"
        Option     "RenderAccel"   "true"
        Identifier  "nvidia0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "GeForce FX 5600SE"
   BusID       "PCI:1:0:0"
   Screen 0
EndSection
Section "Device"
    Identifier  "nvidia1"
    Driver      "nvidia"
    Option   "NvAGP" "3"
    Option   "NoLogo" "true"
    Option      "RenderAccel" "true"
    Option     "NoLogo"   "true"
    Option  "Twinview" "true"
    BusID   "PCI:1:0:0"
    Screen 1
EndSection
Section "Screen"
   Identifier "Screen0"
   Device     "nvidia0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024" "1024x768" "800x600"
   EndSubSection
EndSection
Section "Screen"
   Identifier "Screen1"
   Device     "nvidia1"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024" "1024x768" "800x600"
   EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
    Identifier  "DualDesktopsAndMonitors"

    Screen 0 "Screen0" rightof "Screen1"
    Screen 1 "Screen1" leftOf "Screen0"

   InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "Xinerama" "on"
    Option "TwinView" "true"
EndSection
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54391
Location: 56N 3W

PostPosted: Thu Apr 14, 2005 8:34 pm    Post subject: Reply with quote

WaVeX

I'm not one for RTFM but it looks like what you want is here
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-7174/README.txt
in Appendix R
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
WaVeX
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 102
Location: USA, Michigan or Ohio

PostPosted: Thu Apr 14, 2005 10:38 pm    Post subject: Reply with quote

Quote:
o OpenGL + Xinerama
Currently, OpenGL will not display to anything other than the
first head in a Xinerama environment.

So I am guessing I should try opening the OpenGL on the other monitor?

I'm getting confused on this one as well. I need twinview to tell which monitor to use for the left and right. and I need xinerama to make gnome and fluxbox to work properly with two monitors correct?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54391
Location: 56N 3W

PostPosted: Thu Apr 14, 2005 11:16 pm    Post subject: Reply with quote

WaVeX,

Its worth tring openGL on both monitors.
I don't know about twinview and xinerama though.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum