OpenGL broken on Multipe Displays? (My xorg.conf)

Gilboa Davara gilboada at netvision.net.il
Mon Oct 24 06:39:09 UTC 2005


# XFree86 4 configuration created by pyxf86config

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

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us,il"
	Option	    "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "Buttons" "7"
	Option	    "ZAxisMapping" "6 7"
	Option	    "Emulate3Buttons" "no"
	Option      "SendCoreEvents" "yes"
	Option	    "Resolution" "800"
	Option	    "SampleRate" "800"
EndSection

Section "Monitor"
	Identifier   "CRT0"
	VendorName   "Monitor Vendor"
	ModelName    "Eizo T960"
	DisplaySize  320	240
	HorizSync    30.0 - 115.0
	VertRefresh  50.0 - 160.0
	Option	     "dpms"
	# 1600x1200 @ 90.00 Hz (GTF) hsync: 113.76 kHz; pclk: 251.18 MHz
	Modeline "1600x1200"  251.18  1600 1728 1904 2208  1200 1201 1204 1264
-HSync +Vsync
	# 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
	Modeline "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085
-HSync +Vsync
	# 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
	Modeline "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -
HSync +Vsync
	# 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
	Modeline "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -
HSync +Vsync
	# 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
	Modeline "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync
+Vsync
	# 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
	Modeline "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync
+Vsync
EndSection

Section "Monitor"
	Identifier   "TV0"
	Option       "DPMS" "off"
	HorizSync    15.0 - 50.0
	VertRefresh  50 - 60
EndSection 

Section "Device"
	Screen 0
	Identifier  "Videocard0_CRT"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce FX6800GT"
	Option      "ConnectedMonitor"     "CRT"
	Option      "IgnoreDisplayDevices" "TV"
	Option      "DPMS"                 "on"
	Option      "RenderAccel"          "true"
	BusID       "PCI:129:0:0"
EndSection

Section "Device"
	Screen 1
	Identifier  "Videocard0_TV"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce FX6800GT"
	Option      "ConnectedMonitor"     "TV"
	Option      "IgnoreDisplayDevices" "CRT"
	Option      "TVStandard"           "PAL-B"
	BusID       "PCI:129:0:0"
EndSection

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

Section "Screen"
	Identifier "Screen1"
	Device     "Videocard0_TV"
	Monitor    "TV0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier     "Layout0"
	Screen         0  "Screen0"
	Screen         1  "Screen1" rightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection


Note that you'll need to change the different monitor mode-lines to
match your own.

GIlboa

On Sun, 2005-10-23 at 22:34 -0400, oleksandr korneta wrote: 
> 
> on 10/23/2005 04:58 PM Gilboa Davara wrote:
> > Works for me.
> > Dual Opteron, GF6800GT using nVidia's latest drivers (FC4/x86-64).
> > Screen 0 on CRT @1600x1280.
> > Screen 1 on TV @800x600. 
> > I see the OpenGL scereen-saver on both display running at full speed.
>  could you Gilboa, send me your xorg.conf for this crt/tv configuration
> please? Do you have pure console mode working on both crt ad tv?
> 
> 
> 
> > 
> > What driver / hardware / OpenGL are you using?
> > 
> > Gilboa
> > 
> > On Sun, 2005-10-23 at 16:34 -0400, Chris Spencer wrote:
> > 
> >>I have a dual-monitor setup, and I noticed OpenGL only seems to work on 
> >>my first monitor. For instance, if I open Blender and drag it onto my 
> >>second monitor, the window will only display garbage.
> >>
> >>Is OpenGL not supported on dual monitors or do I simply have something 
> >>mis-configured? I'm running a fairly standard install of FC4.
> >>
> >>Chris
> >>
> > 
> > 
> 
> -- 
> regards,
> Oleksandr Korneta
> 




More information about the fedora-list mailing list