xorg uses wrong resolution for internal lcd

Matt Price matt.price at utoronto.ca
Tue May 6 23:36:00 UTC 2008


hi,

i've been using ubuntu for a long time and at some point during the
hardy release cycle - which i started tracking in february or march --
the display resolution got messed up on my laptop's internal lcd.  this
is a dell d820, running the non-free nvidia driver on an geforce go 7400
graphics card.  the monitor is 1920x1200, a resolution that has always
worked for me in earlier versions, but on startup and login -- so both
at the gdm prompt and an a gnome session -- the resolution is stuck at
1024x800.  i've gone through my xorg.conf -- attached below -- and tried
at every opportunity to insert lines forcing a 1920x1200 resolution, but
it has never worked.  

i can reset resolution with displayconfig-gtk, but the changes do not
persist, even though i use the 'save changes' button & never see error
messages when running  from the command line.  

anyway, if there are any suggestions, i'd love to hear them.  thanks!

matt


-- 
Matt Price
matt.price at utoronto.ca
-------------- next part --------------
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister at builder3)  Fri Dec 15 10:13:06 PST 2006

Section "Screen"
	Identifier	"Screen0"
	# this entry uses nvidia driver    
	Device		"Videocard0"
	# this one uses free driver instead
	# Device		"NVIDIA Corporation NVIDIA Default Card"
	Monitor		"Monitor0"
	Option		"metamodes"	"DFP: 1920x1200 +0+0; DFP: 1024x768 +0+0"
	Option		"AddARGBGLXVisuals"	"True"
	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Virtual	1920	1200
		Modes		"1920x1200 at 60"	"1920x1200 at 50"	"1600x1024 at 60"	"1440x900 at 60"	"1280x800 at 60"	"1280x720 at 60"	"1280x768 at 60"	"800x600 at 60"	"800x600 at 56"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"screen1"
	Device		"device1"
	Monitor		"monitor1"
	Option		"AddARGBGLXVisuals"	"True"
	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Modes		"1920x12000 at 60"
	EndSubSection
EndSection

Section "Device"
	Identifier	"Videocard0"
	Boardname	"nvidia"
	Busid		"PCI:1:0:0"
	Driver		"nvidia"
	Screen	0
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NVIDIA Default Card"
	Boardname	"nv"
	Busid		"PCI:1:0:0"
	Driver		"nvidia"
	Screen	0
EndSection

Section "Device"
	Identifier	"device1"
	Boardname	"nvidia"
	Busid		"PCI:1:0:0"
	Driver		"nvidia"
	Screen	1
EndSection

Section "InputDevice"
	# generated from default
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Protocol"	"auto"
	Option		"Device"	"/dev/psaux"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"	"4 5"
EndSection

Section "InputDevice"
	# generated from default
	Identifier	"Keyboard0"
	Driver		"kbd"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"	"/dev/psaux"
	Option		"Protocol"	"auto-dev"
	Option		"LeftEdge"	"130"
	Option		"RightEdge"	"840"
	Option		"TopEdge"	"130"
	Option		"BottomEdge"	"640"
	Option		"FingerLow"	"7"
	Option		"FingerHigh"	"8"
	Option		"MaxTapTime"	"180"
	Option		"MaxTapMove"	"110"
	Option		"EmulateMidButtonTime"	"75"
	Option		"VertScrollDelta"	"20"
	Option		"HorizScrollDelta"	"20"
	Option		"EdgeMotionMinSpeed"	"200"
	Option		"EdgeMotionMaxSpeed"	"200"
	Option		"UpDownScrolling"	"1"
	Option		"CircularScrolling"	"1"
	Option		"CircScrollDelta"	"0.1"
	Option		"CircScrollTrigger"	"2"
	Option		"Emulate3Buttons"	"on"
	Option		"MinSpeed"	"0.7"
	Option		"MaxSpeed"	"3"
	Option		"AccelFactor"	"0.025"
	Option		"SHMConfig"	"1"
	#       Option          "HorizScrollDelta"      "0"
	#         Option "MinSpeed" "0.60"
	#         Option "MaxSpeed" "1.10"
	#         Option "AccelFactor" "0.030"
	#         Option "SHMConfig" "on"
	#         TapButton1 "1"
	#         TapButton2 "2"
	#         TapButton3 "3"
	#         RTCornerButton "1"
	#         LTCornerButton "2"
	#         LBCornerButton "3"
EndSection

Section "ServerLayout"
	Identifier	"Layout0"
  screen 0 "Screen0" 0 0
	Inputdevice	"Keyboard0"	"CoreKeyboard"
	Inputdevice	"Mouse0"	"CorePointer"
	Inputdevice	"Synaptics Touchpad"
EndSection

Section "Module"
	Load		"extmod"
	Load		"type1"
	Load		"freetype"
	Load		"glx"
	Load		"v4l"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	Vendorname	"Generic LCD Display"
	Modelname	"LCD Panel 1920x1200"
	Horizsync	31.5-74.5
	Vertrefresh	56.0 - 65.0
  modeline  "1920x1200 at 60" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -hsync +vsync
  modeline  "1920x1200 at 50" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -hsync +vsync
  modeline  "800x600 at 56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600 at 60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "1280x768 at 60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
  modeline  "1280x720 at 60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
  modeline  "1280x800 at 60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
  modeline  "1440x900 at 60" 106.47 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
  modeline  "1600x1024 at 60" 136.36 1600 1704 1872 2144 1024 1025 1028 1060 -hsync +vsync
  modeline  "1680x1050 at 60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
	Gamma	1.0
EndSection

Section "Monitor"
	Identifier	"monitor1"
	Vendorname	"Plug 'n' Play"
	Modelname	"Plug 'n' Play"
  modeline  "640x480 at 60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
	Gamma	1.0
EndSection

Section "Extensions"
	Option		"Composite"	"Enable"
EndSection

Section "Files"
	Rgbpath		"/usr/lib/X11/rgb"
EndSection

Section "ServerFlags"
EndSection


More information about the ubuntu-users mailing list