Defining preferred modes for each output

Fatih Aşıcı fatih.asici at gmail.com
Wed Aug 22 05:34:12 PDT 2007


Hi,

I am using the randr-1.2 branch of ati driver. The screen setup that I want to 
use:

1280x800 @ LVDS
1024x768 @ VGA-0 right of LVDS

I don't want to use xrandr command every time. So I have written all the 
needed options to xorg.conf. But when I define a preferred mode for VGA 
output, LCD also works at that mode. If I define a preferred mode for both of 
them, the preferred mode for VGA is selected for the two outputs. xorg.conf 
and Xorg.0.log files are attached.

Thanks,
Fatih
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 64047 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20070822/32d70a3d/attachment-0001.bin 
-------------- next part --------------
Section "Module"
	Load	"dbe"
	Load	"type1"
	Load	"freetype"
	Load	"record"
	Load	"xtrap"
	Load	"glx"
	Load	"dri"
	Load	"v4l"
	Load	"extmod"
	Load	"synaptics"
	SubSection "extmod"
		Option	"omit xfree86-dga" "true"
	EndSubSection
EndSection

Section "Extensions"
EndSection

Section "dri"
	Mode	0666
EndSection

Section "Files"
	RgbPath	"/usr/lib/X11/rgb"
	FontPath	"/usr/share/fonts/misc/"
	FontPath	"/usr/share/fonts/dejavu/"
	FontPath	"/usr/share/fonts/TTF/"
	FontPath	"/usr/share/fonts/freefont/"
	FontPath	"/usr/share/fonts/TrueType/"
	FontPath	"/usr/share/fonts/corefonts"
	FontPath	"/usr/share/fonts/Speedo/"
	FontPath	"/usr/share/fonts/Type1/"
	FontPath	"/usr/share/fonts/100dpi/"
	FontPath	"/usr/share/fonts/75dpi/"
	FontPath	"/usr/share/fonts/encodings/"
EndSection

Section "ServerFlags"
	Option	"BlankTime" "0"
	Option	"OffTime" "0"
	Option	"SuspendTime" "0"
	Option	"AllowMouseOpenFail" "true"
	Option	"StandbyTime" "0"
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver	"kbd"
	Option	"XkbLayout" "trq"
	Option	"AutoRepeat" "500 30"
	Option	"XkbModel" "pc105"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver	"mouse"
	Option	"Device" "/dev/input/mice"
	Option	"ZAxisMapping" "4 5 6 7"
	Option	"Protocol" "ExplorerPS/2"
	Option	"Buttons" "5"
EndSection

Section "InputDevice"
	Identifier	"Touchpad"
	Driver	"synaptics"
	Option	"LeftEdge" "1700"
	Option	"RightEdge" "5300"
	Option	"AccelFactor" "0.0015"
	Option	"MaxSpeed" "0.18"
	Option	"Protocol" "auto-dev"
	Option	"MinSpeed" "0.09"
	Option	"BottomEdge" "4200"
	Option	"MaxTapMove" "220"
	Option	"FingerLow" "25"
	Option	"TopEdge" "1700"
	Option	"MaxTapTime" "180"
	Option	"FingerHigh" "30"
	Option	"VertScrollDelta" "100"
	Option	"SHMConfig" "true"
EndSection

Section "ServerLayout"
	Identifier	"SingleHead"
	Screen	"Screen0"
	InputDevice	"Touchpad" "SendCoreEvents"
	InputDevice	"Keyboard0" "CoreKeyboard"
	InputDevice	"Mouse0" "CorePointer"
	Option	"Clone" "off"
	Option	"Xinerama" "off"
EndSection

Section "Device"
	Screen	0
	Identifier	"VideoCard0"
	Driver	"ati"
	VendorName	"ATI Technologies Inc"
	BoardName	"RC410 [Radeon Xpress 200M]"
	BusId	"PCI:1:5:0"

    Option "DynamicClocks" "true"

    Option "Monitor-LVDS" "LCD"
    Option "Monitor-VGA-0" "CRT"
    Option "Monitor-S-video" "TV"
EndSection

Section "Monitor"
	Identifier	"LCD"

    Option "PreferredMode" "1280x800"
EndSection

Section "Monitor"
	Identifier	"CRT"
    # ati driver cannot probe the VGA output.
    # So write the freqs manually.
	HorizSync	31 - 70
	VertRefresh	50 - 120

    Option "RightOf" "LVDS"
    Option "PreferredMode" "1024x768"
    Option "Enable" "true"
EndSection

Section "Monitor"
	Identifier	"TV"

    Option "Enable" "false"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device	"VideoCard0"
	Monitor	"CRT"
	DefaultDepth	24
	SubSection "Display"
		Depth	24
        Virtual 2304 800
	EndSubSection
EndSection



More information about the xorg-driver-ati mailing list