View Single Post
Old 03-30-08, 07:19 PM   #1
Registered User
Join Date: Jun 2007
Posts: 12
Thumbs up Metamodes toggling, shortcut and control panel issue.

I have two physical displays, sometimes use only the one, sometimes both.
To that effect, I have set up two metamodes:

1. DFP-0: 1280x1024_75 +0+0, DFP-1: 1280x1024_75 +1280+0;
2. DFP-0: 1280x1024_75 +0+0, DFP-1: NULL;

I have to start up with the dual display as the first (default) mode, otherwise I will get the combined bounding box (i.e. a single 1280x1024 display scrollable on 2560x1024 canvas). I can live with that, but...

1. Using the shortcut to toggle (CTRL & ALT & NUM+/NUM-) works, except when going from dual to single, it retains the combined bounding box.

2. When using the Nvidia control panel to toggle metamode from dual to single, I get the single display just fine, with no bounding box problem, but then the keyboard shortcut to toggle back to dual display no longer works.
(The shortcut always work from dual view to single, no matter how I change into it.)

So two questions:
1. Why do I get the combined bounding box when toggling from dual to single with the shortcut, but do not have that problem when shifting from dual to single with the cp? What does the cp do extra and can I get the toggle shortcut to replicate that behavior?

2. Why does the shortcut stop working after having used the cp to shift from dual to single display?

What I really just want is the shortcut to work like the cp, i.e. without the bounding box issue!

This has been bugging me for a while, so it would be really nice if someone can come up with an idea or even - dare I hope - a solution for me.

Cheers, and thanks in advance!

Using: Fedora 8, KDE, kernel, Nvidia driver 169.12
2 x Samsung 204B, Nvidia Quatro FX1000.

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"

Section "Files"
	ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib/xorg/modules"

Section "ServerFlags"
	Option	    "Xinerama" "0"
	Option	    "AIGLX" "on"

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"

Section "Monitor"
 	Identifier   "Monitor0"
	VendorName   "Unknown"
	ModelName    "Samsung SyncMaster"
	HorizSync    30.0 - 81.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"

Section "Device"
	Identifier  "Videocard0"
	VendorName  "NVIDIA Corporation"
	BoardName   "Quadro FX 1000"
	Driver      "nvidia"
	Option	    "NoLogo" "1"
	Option	    "CursorShadow" "1"
	Option	    "NoPowerConnectorCheck"
	Option	    "AddARGBGLXVisuals" "True"

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	Option	    "TwinView" "1"
#	Option	    "metamodes" "DFP-0: 1280x1024_75 +0+0, DFP-1: NULL;"
	Option	    "metamodes" "DFP-0: 1280x1024_75 +0+0, DFP-1: 1280x1024_75 +1280+0; DFP-0: 1280x1024_75 +0+0, DFP-1: NULL;"
	SubSection "Display"
#		Viewport   0 0
		Depth     24
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"

Section "Extensions"
	Option	    "Composite" "Enable"
C-J is offline   Reply With Quote