View Single Post
Old 06-10-11, 08:00 AM   #1
karl.cary
Registered User
 
Join Date: Mar 2009
Posts: 18
Default Strange Panning Issue

I have a highly customized xorg.conf file to allow for booting to required resolutions regardless of what monitor is detected. This is a result of some video extenders that do not allow for EDID repeating. Everything has been working fine for quite some time now as we have had a separate xorg.conf file for each resolution. I am now looking at having a single xorg.conf file and then using xrandr to change the resolution depending on need. I would like to have it default to 1280x1024. I am VERY close to making this work perfectly, but I am having an issue with panning.

If I set it up to use 1920x1200, my largest resolution, as the default, I can then xrandr to any of the other resolutions without any problem. It works fine. But if I set 1280x1024 as the default, the screen is set up to pan to some unknown resolution. When I open nvidia-settings though, it tells me the panning domain is 1280x1024. But if I can do it with a different resolution as the default, shouldn't I be able to use 1280x1024 as my default and have it work?

I did find a blurb about it in the Chapter 13. Configuring TwinView 13.1 Frequently Asked TwinView Questions section. It stated that the NVIDIA driver computes the bounding box of the panning domains after readin in all the MetaModes and therefore could set your panning domain up as something you didn't expect. However, I would then expect 1280x1024 to pan even with xrandr but it's not. I have tried adding @1280x1024 to my 1280x1024 metamode, but to no avail.

Below is my xorg.conf file. This is the one for 1920x1200 as the default, but the commented out line for MetaModes is the one I was trying to use for 1280x1024 as the default. Any thoughts would be helpful.

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 256.44  (buildmeister@builder103.nvidia.com)  Thu Jul 29 01:52:36 PDT 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 256.44  (buildmeister@builder103.nvidia.com)  Thu Jul 29 01:52:55 PDT 2010
# Xorg configuration created by pyxf86config

Section "ServerFlags"
	Option		"BlankTime"		"0"
	Option		"StandbyTime"	"0"
	Option		"SuspendTime"	"0"
	Option		"OffTime"		"0"
	Option		"Xinerama"		"False"
EndSection

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

Section "Module"
	Load		"vnc"
	Load		"glx"
	Load		"fbdevhw"
	Load		"extmod"
EndSection

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

Section "InputDevice"
	Identifier	"Mouse"
	Driver		"mouse"
	Option		"Protocol" "IMPS/2"
	Option		"Device" "/dev/input/mice"
	Option		"Emulate3Buttons" "no"
	Option		"ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier	"Console Monitor"
	HorizSync	31.0 - 82.0
	VertRefresh	60.0
EndSection

Section "Monitor"
	Identifier	"Samsung SyncMaster"
	VendorName	"Samsung"
	ModelName	"SyncMaster"
	HorizSync	31.0 - 82.0
	VertRefresh	60.0

	#Modelines (Use gtf to generate, ex for 1280x1024_60: gtf 1280 1024 60)
	Modeline	"1920x1200_60"  193.16  1920 2048 2256 2592  1200 1201 1204 1242  -HSync +Vsync
	Modeline	"1920x1080_60"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
	Modeline	"1600x1200_60"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
	Modeline	"1400x1050_60"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
	Modeline	"1360x768_60"  84.72  1360 1424 1568 1776  768 769 772 795  -HSync +Vsync
	Modeline	"1280x1024_60"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
	Modeline	"1280x960_60"  102.10  1280 1360 1496 1712  960 961 964 994  -HSync +Vsync
	Modeline	"1024x768_60"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
	Modeline	"800x600_60"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
	Modeline	"640x480_60"  23.86  640 656 720 800  480 481 484 497  -HSync +Vsync
EndSection

Section "Device"
	Identifier	"GTX 570"
	Driver		"nvidia"
	VendorName	"NVIDIA Corporation"
	BoardName	"GeForce GTX 570"
	#BusID		"PCI:3:0:0"
	Screen		0
EndSection

Section "Screen"
	Identifier		"Screen 0"
	Device			"GTX 570"
	Monitor			"Samsung SyncMaster"
	DefaultDepth	24
	Option			"ConnectedMonitor"		"DFP-0,CRT-1"
	Option			"UseEDID"				"False"
	Option			"UseEDIDFreqs"			"False"
	Option			"UseEDIDDpi"			"False"
	Option			"ModeValidation"		"NoEdidModes"
	Option			"ExactModeTimingsDVI"	"True"
	Option			"CustomEDID"			"DFP-0:/etc/X11/SamsungSyncMasterEDID.bin;CRT-1:/etc/X11/SamsungSyncMasterEDID.bin"
	Option			"TwinView"				"True"
	Option			"TwinViewOrientation"	"Clone"
	Option			"HorizSync"				"DFP-0: 31.0-82.0; CRT-1: 31.0-82.0"
	Option			"VertRefresh"			"DFP-0: 60.0; CRT-1: 60.0"
	#Option			"MetaModes"				"DFP-0: 1280x1024_60, CRT-1: 1280x1024_60; DFP-0: 1920x1200_60, CRT-1: 1920x1200_60; DFP-0: 1920x1080_60, CRT-1: 1920x1080_60; DFP-0: 1600x1200_60, CRT-1: 1600x1200_60; DFP-0: 1400x1050_60, CRT-1: 1400x1050_60; DFP-0: 1360x768_60, CRT-1: 1360x768_60; DFP-0: 1280x960_60, CRT-1: 1280x960_60; DFP-0: 1024x768_60, CRT-1: 1024x768_60; DFP-0: 800x600_60, CRT-1: 800x600_60; DFP-0: 640x480_60, CRT-1: 640x480_60"
	Option			"MetaModes"				"DFP-0: 1920x1200_60, CRT-1: 1920x1200_60; DFP-0: 1920x1080_60, CRT-1: 1920x1080_60; DFP-0: 1600x1200_60, CRT-1: 1600x1200_60; DFP-0: 1400x1050_60, CRT-1: 1400x1050_60; DFP-0: 1360x768_60, CRT-1: 1360x768_60; DFP-0: 1280x1024_60, CRT-1: 1280x1024_60; DFP-0: 1280x960_60, CRT-1: 1280x960_60; DFP-0: 1024x768_60, CRT-1: 1024x768_60; DFP-0: 800x600_60, CRT-1: 800x600_60; DFP-0: 640x480_60, CRT-1: 640x480_60"

	SubSection     "Display"
		Depth       24
		Modes		"1920x1200_60" "1920x1080_60" "1600x1200_60" "1400x1050_60" "1360x768_60" "1280x1024_60" "1280x960_60" "1024x768_60" "800x600_60" "640x480_60"
	EndSubSection

	Option			"SecurityTypes"			"VncAuth"
	Option			"UserPasswordVerifier"	"VncAuth"
	Option			"PasswordFile"			"/home/trainer/.vnc/passwd"
EndSection

Section "ServerLayout"
	Option		"BlankTime"		"0"
	Option		"StandbyTime"	"0"
	Option		"SuspendTime"	"0"
	Option		"OffTime"		"0"
	Identifier	"Default Layout"
	Screen		0	"Screen 0"	0 0
	InputDevice		"Mouse"		"CorePointer"
	InputDevice		"Keyboard"	"CoreKeyboard"
EndSection
karl.cary is offline   Reply With Quote