Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2008 15:19:32 +0200
From:      Zbigniew Baniewski <zb@ispid.com.pl>
To:        freebsd-multimedia@freebsd.org
Subject:   FreeBSD7/xorg/radeon: Section "Screen" totally ignored
Message-ID:  <20080510131932.GA5444@sarge.my.own.domain.no-net>

next in thread | raw e-mail | index | archive | help
I've got a problem while replacing NVidia GeForce4 with Radeon 9000Pro: it
seems, that xorg totally ignores either entire `Section "Screen"' paragraph,
or at least every single `SubSection "Display"' entry inside that paragaraph.

As a result, I'm unable to have desired resolution at desired bpp, when
starting X-server, it always chooses on its own. The second consequence is,
that there's no possibility to switch resolutions using <Ctrl>-<Alt>-<+ ->
anymore.

Below a copy of my xorg.conf. I'm using the same config under Linux (got
dual-boot install) - with just slight differences (mouse, /dev/* etc. - you
know; nothing screen-related) - without any problems. So, it must be a bug
in FreeBSD's port of radeon driver, most probably. Does there exist any
workaround?

Or perhaps there's missing something FreeBSD specific?


=========================================================================
# xorg.conf (Xorg X Window System server configuration file)

# Transparency on
Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
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/webfonts/"
	FontPath     "/usr/local/lib/X11/fonts/freefont-ttf/"
	FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
	FontPath     "/usr/local/lib/X11/fonts/freefont/"
	FontPath     "/usr/local/lib/X11/fonts/sharefont/"
	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/"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc101"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Device"		"/dev/sysmouse"
	Option		"Protocol"		"Auto"
	Option		"Buttons"		"5"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Card0"
	Driver		"radeon"
	VendorName	"ATI"
	BoardName	"ATI Radeon 9000 Pro"
	Option		"AccelMethod"	"XAA"
	Option		"AGPMode"	"1"
	Option		"EnablePageFlip"	"1"
	Option		"ColorTiling"	"1"
	BusID		"PCI:1:0:0"
	Option "backingstore" "true"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	VendorName	"Proview"
	ModelName	"900 P"
	Option		"DPMS"
	HorizSync	30.0 - 80.0
	VertRefresh	60.0 - 85.0
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Card0"
	Monitor		"Monitor0"
	DefaultDepth	16
#	SubSection "Display"
#		Viewport	0 0
#		Depth		16
#		Virtual		1280 1024
#	EndSubSection
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"800x600" "1024x768" "1280x1024" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group	0
	Mode	0666
EndSection

-- 
				pozdrawiam / regards

						Zbigniew Baniewski



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080510131932.GA5444>