Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 21:03:15 -0800 (AKDT)
From:      peter stern <pstern@65north.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        Kurt Jaeger <lists@c0mplx.org>, freebsd-stable@freebsd.org
Subject:   Re: recovering from the 6.3 xorg mess 
Message-ID:  <20080319205745.N15619@jago.65north.com>
In-Reply-To: <20080318142235.989DE45014@ptavv.es.net>
References:  <20080318142235.989DE45014@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Mar 2008, Kevin Oberman wrote:

>> Date: Mon, 17 Mar 2008 21:23:09 -0800 (AKDT)
>> From: peter stern <pstern@65north.com>
>>
>>
>> This is an ugly way to have to deal with X. So this definitely means the
>> mga driver is broken?
>>
>> I would appreciate a copy of your xorg.conf
>>
>> Thanks for your suggestions.
>>
>> peter
>
> Peter,
>
> Here is the config file from my G550 dual-head system. I won't promise
> that it is "correct". In fact, I suspect it is not, but it works for me.
>
> Section "ServerLayout"
> 	Identifier     "xrandr"
> 	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/bitstream-vera/"
> 	FontPath     "/usr/local/lib/X11/fonts/URW/"
> 	FontPath     "/usr/local/lib/X11/fonts/urwfonts-ttf/"
> EndSection
>
> Section "DRI"
> 	Mode  0666
> EndSection
>
> Section "Extensions"
> 	Option "Composite" "Disable"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "kbd"
> 	Option	"XkbOptions"	"ctrl:swapcaps"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "auto"
> 	Option	    "Device" "/dev/sysmouse"
> 	Option	    "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
> 	#DisplaySize      370   300     # mm
> 	Identifier   "Monitor0"
> 	VendorName   "DEL"
> 	ModelName    "DELL 1701FP"
> 	### Comment all HorizSync and VertSync values to use DDC:
> #	HorizSync    24.0 - 80.0
> #	VertRefresh  56.0 - 75.0
> 	Option      "DPMS"
> 	Option      "Position" "0 0"
> EndSection
>
> Section "Monitor"
> 	Identifier   "Monitor1"
> 	VendorName   "DEL"
> 	ModelName    "DELL 1701FP"
> 	HorizSync    24.0 - 36.0
> 	VertRefresh  56.0 - 75.0
> 	Option       "DPMS"
> 	Option       "Position" "1280 0"
> EndSection
>
> Section "Device"
> 	Identifier  "Card0"
> 	Driver      "mga"
> 	VendorName  "Matrox Graphics, Inc."
> 	BoardName   "MGA G400/G450"
> 	BusID       "PCI:1:0:0"
>        Option      "HWcursor"           	"off"
> 	Option      "AGPMode"			"4"
> 	Option      "Monitor-VGA1"		"Monitor0"
> 	Option      "Monitor-VGA2"		"Monitor1"
> EndSection
>
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Monitor0"
> 	SubSection "Display"
> 		Virtual    2560 1024
> 	EndSubSection
> EndSection
>
> -- 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman@es.net			Phone: +1 510 486-8634
> Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
>

I looked through my xorg.conf and it looked fairly similar. I do not have

Identifier "xrandr"
Screen 0 "Screen0" 0 0

I don't have DRI enabled.

I have moved this discussion over to the freebsd-x11 list in the hope 
someone there might be able to figure this out.

I guess for now, I have to be happy that xrandr control makes life with 
the mga device semi-tolerable.

Thanks,

peter



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