Need to change screen resolution...

Polytropon freebsd at edvax.de
Thu Apr 16 00:12:43 UTC 2009


On Wed, 15 Apr 2009 18:33:45 -0500, Neal Hogan <nealhogan at gmail.com> wrote:
> Do you have an /etc/X11/xorg.conf?

Yes, of course. Why not? :-) Reason: All this magical autodetect,
autoset and autoguess doesn't work on my ancient GPU (ATI Radeon
9200). And I haven't done the "big update" of X yet, because I
prefer to keep things working for a while.

If anybody needs something for "ripp off", feel free to use the
attached file. (I hope it works, never tried this before.)

You can always create your own one using "X -configure",
but I think it won't be so tidy. :-) Of course, you can
make "one file from two" (as I did).



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
-------------- next part --------------
# /etc/X11/xorg.conf
# ==================

Section "ServerLayout"
	Identifier	"Layout0"
	Screen	0	"Screen0"		0	0
	InputDevice	"Mouse0"		"CorePointer"
	InputDevice	"Keyboard0"		"CoreKeyboard"
	Option		"SingleCard"		"true"
EndSection

#Section "ServerFlags"
#	Option		"DontVTSwitch"		"false"
#	Option		"DontZap"		"false"
#	Option		"DontZoom"		"false"
#	Option		"Xinerama"		"false"
#	Option		"AIGLX"			"true"
#EndSection

Section "Files"
	RgbPath		"/usr/local/share/X11/rgb"
	ModulePath	"/usr/local/lib/xorg/modules"
	FontPath	"/usr/local/lib/X11/fonts/misc/"
	FontPath	"/usr/local/lib/X11/fonts/TTF/"
	FontPath	"/usr/local/lib/X11/fonts/OTF"
	FontPath	"/usr/local/lib/X11/fonts/Type1/"
	FontPath	"/usr/local/lib/X11/fonts/100dpi/"
	FontPath	"/usr/local/lib/X11/fonts/75dpi/"
	FontPath	"/usr/local/share/ghostscript/fonts/"
	FontPath	"/usr/local/share/fonts/amspsfont/type1/"
	FontPath	"/usr/local/share/fonts/cmpsfont/type1/"
EndSection

Section "Module"
	Load		"GLcore"
	Load		"dbe"
	Load		"dri"
	Load		"extmod"
	Load		"glx"
	Load		"record"
	Load		"xtrap"
	Load		"freetype"
	Load		"type1"
EndSection

Section "DRI"
	Mode		0666
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"kbd"
	Option		"XkbModel"		"pc105"
	Option		"XkbLayout"		"de"
	Option		"AutoRepeat"		"250 30"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Protocol"		"auto"
	Option		"Device"		"/dev/sysmouse"
	Option		"Emulate3Buttons"	"true"
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
        Option          "ZAxisMapping"		"4 5"
#	Option		"ZAxisMapping"		"4 5 6 7"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	VendorName	"EIZO"
	ModelName	"FlexScan F980"
	HorizSync	30.0 - 137.0
	VertRefresh	50.0 - 160.0
#	DisplaySize	400 300
	Option		"DPMS"		"false"
#	ModeLine	"1400x1050"	155.80 1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync
#	Modeline	"1152x864"  	108.00 1152 1216 1344 1600   864  865  868  900 +hsync +vsync
#	Modeline	"1024x768"	 94.50 1024 1072 1168 1376   768  769  772  808 +hsync +vsync
#	Modeline	"800x600"	 56.30  800  832  896 1048   600  601  604  631 +hsync +vsync
#	Modeline	"640x480"	 36.00  640  696  752  832   480  481  484  509 -hsync -vsync
	Option		"PreferredMode"	"1152x864"
	# freezes system if set to 1400x1050
EndSection

Section "Device"
	Identifier	"Card0"
	Driver		"ati"
#	Driver		"radeon"
	VendorName	"ATI Technologies Inc"
	BoardName	"Radeon RV250 If [Radeon 9000]"
	BusID		"PCI:1:0:0"
	Screen		0
#	VideoRam	131072
EndSection

Section "Device"
	Identifier	"Card1"
	Driver		"ati"
#	Driver		"radeon"
	VendorName	"ATI Technologies Inc"
	BoardName	"Radeon RV250 If [Radeon 9000] (Secondary)"
	BusID		"PCI:1:0:1"
#	VideoRam	131072
	Screen		1
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Card0"
	Monitor		"Monitor0"
	Option		"Accel"
	DefaultDepth	24
	SubSection	"Display"
#		Virtual		1400 1050
#		ViewPort	0 0
		Depth	24
		Visual	"TrueColor"
		Modes	"1152x864"
#		Modes	"1400x1050"
		# doesn't work
#		Modes	"1400x1050" "1152x864" "1024x768" "800x600" "640x480" "320x240"
		# worked with XFree86, Ctrl+Alt+<+>/<-> for changing
	EndSubSection
EndSection



More information about the freebsd-questions mailing list