how to configure Xorg to run at 1280x1024

Gary Kline kline at tao.thought.org
Sat Feb 5 15:17:40 PST 2005


	People,

	One of my larger servers has 5.3 and Xorg; I can't find the
	right configuration setting for the display; so it runs at 
	its maximum: 1600x1200.  This would be fine except that the
	apps shake with tiny wavy lines.  The driver may be pushing
	things to their limit.

	I've tried X -configure and Xorg -conf.  Somehow or other 
	I've generated an xorg.conf in /etc/X11, but no luck in
	changing the resolution.   The closest I've come to having 
	things work with xorg.conf and startx is to see a blank/grey
	screen--at 1600x1200.  I have ctwm set up in /root and 
	/home/kline.

	Modifying the Screen Section messes things up for some 
	reason.  I finally *do* have xorg working with /etc/X11/xorg.conf
	but only with the following commented:

###Section "Screen"
        ###Identifier "Screen0"
        ###Device     "Card0"
        ###Monitor    "Monitor0"
        ###DefaultDepth     8
        ###SubSection "Display"
                ###Viewport   0 0
                ###Depth     8
                ###Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x60
0" "640x480"
        ###EndSubSection
###EndSection


	I'll append my current xorg.conf file and hope that somebody can
	tell me how to tweak it so that my max-resolution is
	1280x1024 rather than 1600x1200.

	thanks in advance,

	gary




-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix

//
//  note this works  OR xorg work *without* any configuration file at all
//

Section "ServerLayout"
	Identifier     "X.org Configured"
	###Screen      0  "Screen0" 0 0
	Screen         "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
EndSection

###Section "Screen"
        ###Identifier "Screen0"
        ###Device     "Card0"
        ###Monitor    "Monitor0"
        ###DefaultDepth     8
        ###SubSection "Display"
                ###Viewport   0 0
                ###Depth     8
                ###Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        ###EndSubSection
###EndSection


Section "Monitor"
	#DisplaySize	  360   270	# mm
	Identifier   "Monitor0"
	VendorName   "HTC"
	ModelName    "CM751"
 ### Uncomment if you don't want to default to DDC:
	HorizSync    30.0 - 94.0
#	HorizSync    0.0 - 0.0
	VertRefresh  50.0 - 160.0
	Option	    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"              	# [<bool>]
        #Option     "crt_display"        	# [<bool>]
        #Option     "composite_sync"     	# [<bool>]
        #Option     "hw_cursor"          	# [<bool>]
        #Option     "linear"             	# [<bool>]
        #Option     "mmio_cache"         	# [<bool>]
        #Option     "test_mmio_cache"    	# [<bool>]
        #Option     "panel_display"      	# [<bool>]
        #Option     "probe_clocks"       	# [<bool>]
        #Option     "reference_clock"    	# <freq>
        #Option     "shadow_fb"          	# [<bool>]
        #Option     "sw_cursor"          	# [<bool>]
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI"
	BoardName   "3D Rage Pro AGP 1X/2X"
	ChipSet     "ati"
	ChipId      0x4742
	ChipRev     0x5c
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection



More information about the freebsd-questions mailing list