Thread: OGL + TwinView
View Single Post
Old 05-06-03, 07:16 PM   #3
Ryushe
Registered User
 
Join Date: May 2003
Posts: 4
Default OpenGL and Dual Card/Monitor Setup

Hiya,

just wondering why I can't get OpenGL to work on my second monitor. I have a GF4 Ti4200 AGP as primary and a GF2 MX PCI as secondary card. Both use the nvidia driver. Neither of the cards is a twinview card.
Now everytime I try to run an OpenGL application in the second monitor, I see absolutely nothing ...
I saw in the driver readme somewhere that OpenGL is not supported with Xinerama in a second display, but can anyone explain why this is? My windows install on same hardware does work with OpenGL over both screens ...

Any answer would be appreciated.

System Specs:
Debian Unstable Kernel 2.4.20
nVidia 43.63 Driver
GF4 Ti4200 AGP
GF2 MX PCI

I tried to attach my XF86Config-4 file, but I didn't see the option in edit mode, so here it is ... :


### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mice"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "nVidia GeForce 4"
Driver "nvidia"
# Screen 0
BusID "AGP:1:0:0"
EndSection

Section "Device"
Identifier "device2"
VendorName "nVidia Corporation"
BoardName "NVidia GeForce 2"
Driver "nvidia"
# Screen 0
BusID "PCI:0:11:0"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "CTX"
ModelName "CTX PR705F series"
HorizSync 30.0-85.0
VertRefresh 50.0-160.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "monitor2"
VendorName "CTX"
ModelName "CTX PR705F series"
HorizSync 30.0-85.0
VertRefresh 50.0-160.0
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "screen2"
Device "device2"
Monitor "monitor2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
Screen "screen2" RightOf "screen1"
Option "Xinerama"
EndSection


### END DEBCONF SECTION
__________________
I Code In Peace!

Last edited by Ryushe; 05-06-03 at 07:29 PM.
Ryushe is offline   Reply With Quote