Automagically populated list of videomodes.

Wolfgang Draxinger wdraxinger at darkstargames.de
Sun Jul 13 12:01:26 PDT 2008


Am Sonntag, 13. Juli 2008 schrieb Daniel Stone:

> Option "IgnoreEDID" (or maybe Option "NoEDID") in the Driver
> section of xorg.conf should do the trick there.

No, it doesn't. On one of my systems I've got connected a CRT using 
it's BNC connectors, i.e. no DDC signals. So I have to set IgnoreEDID 
and NoDDC to make the driver accept the modes I supply (EDID and DDC 
are also used for validation, but w/o those the nonstandard modes for 
this CRT are not accepted).

However still all the VESA modes up to the maximum capabilities of the 
Monitor show up.

Here's my notebook's xorg.conf

========================= File xorg.conf ============================
Section "ServerLayout"
	Identifier     "Server Layout"
	Screen         "Screen" 0 0
	InputDevice    "Touchpad" "CorePointer"
	InputDevice    "Keyboard" "CoreKeyboard"
	Option	    "BlankTime" "10"
	Option	    "StandbyTime" "10"
	Option	    "SuspendTime" "10"
	Option	    "OffTime" "10"
	Option      "AIGLX" "true"
EndSection

Section "Files"
# The module search path.  The default path is shown here.
	FontPath "/usr/share/fonts/Type1"
	FontPath "/usr/share/fonts/TTF"
	FontPath "/usr/share/fonts/corefonts"
	FontPath "/usr/share/fonts/ttf-bitstream-vera"
	FontPath "/usr/share/fonts/urw-fonts"
	FontPath "/usr/share/fonts/latex-xft-fonts"
	FontPath "/usr/share/fonts/freefont"
	FontPath "/usr/share/fonts/sharefonts"
	FontPath "/usr/share/fonts/misc"
	FontPath "/usr/share/fonts/default"
	FontPath "/usr/share/fonts/default/ghostscript"
	FontPath "/usr/share/fonts/unifont"
	FontPath "/usr/share/fonts/100dpi"
	FontPath "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "type1"
	Load  "freetype"
	Load  "bitmap"
	Load  "glx"
	Load  "dri"
	Load  "drm"
EndSection

Section "Extensions"
EndSection

Section "InputDevice"
	Identifier  "Keyboard"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 30"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "de"
	Option	    "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
	Identifier  "Touchpad"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor"
	DisplaySize  340 255
	HorizSync    30.0-96.0
	VertRefresh  60-100
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "ATI Graphics Adapter"
	Driver      "radeon"

	Option	"AGPMode"		"4"
	Option	"AccelMode"		"XAA"
	Option	"GARTSize"		"64"
	Option	"EnablePageFlip"	"1"
	Option	"EnableColorTiling"	"1"
	
	Option      "MonitorLayout" "LVDS, CRT"
	Option      "MergedFB" "true"
	Option      "CRT2HSync" "50-160"
	Option      "CRT2VRefresh" "60-100"
	Option      "MetaModes" "1400x1050, 1280x1024, 1024x768"

	Option	"IgnoreEDID"
	Option	"NoDDC"
EndSection

Section "Screen"
	Identifier "Screen"
	Device     "ATI Graphics Adapter"
	Monitor    "Monitor"
	DefaultDepth     24

	SubSection "Display"
		Depth     24
		Modes    "1400x1050, 1280x1024, 1024x768"
	EndSubSection
EndSection

Section "DRI"
    Group 0
    Mode  0666
EndSection
============================ EOF xorg.conf ==========================

And here's the output of 'xrandr -q'

======================== output of xrandr -q ========================
Screen 0: minimum 640 x 350, current 1400 x 1050, maximum 1400 x 1050
default connected 1400x1050+0+0 0mm x 0mm
   1400x1050      60.0*
   640x350        60.0
   640x400        60.0
   720x400        60.0
   640x480        60.0
   800x600        60.0
   1024x768       60.0
   1152x864       60.0
   1280x960       60.0
   1280x1024      60.0
   832x624        60.0
   1152x768       60.0
==================== end of output of xrandr -q =====================

-- 
Wolfgang Draxinger
lead programmer - DARKSTARgames
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20080713/5bf08681/attachment.pgp>


More information about the xorg mailing list