mga dualhead was Re: ports/116851

Kevin Oberman oberman at es.net
Wed Oct 31 15:23:50 PDT 2007


> Date: Thu, 25 Oct 2007 11:43:52 -0600 (MDT)
> From: Warren Block <wblock at wonkity.com>
> 
> On Wed, 24 Oct 2007, Kevin Oberman wrote:
> 
> > Can anyone provide a clue as to how to get both monitors configured?
> > Studying the xorg.conf man page has not made anything obvious to me.
> 
> I've experimented a bit more with my configuration.  As I mentioned 
> earlier, you can assign monitors to outputs in the Device section. 
> What I found was that specifying HorizSync or VertRefresh in the Monitor 
> section caused problems.  What works:
> 
> Section "Monitor"
>          Identifier   "Monitor0"
>          VendorName   "PNR"
>          ModelName    "Planar PE190"
>          Option       "Position" "1024 0"
> EndSection
> 
> Section "Monitor"
>          Identifier   "Monitor1"
>          VendorName   "Philips"
>          ModelName    "Philips 150B3"
>          Option       "Position" "0 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
> 
> This runs both monitors at their DDC-detected resolution.  In my case, 
> that's 1280x1024 for Monitor0 and 1024x768 for Monitor1.  If I tried to 
> explicitly set a Mode for Monitor1, it went to 640x480.
> 
> 'Option "Position" is not used' is still in the log, although it also 
> shows the positions set for both monitors.
> 
> -Warren Block * Rapid City, South Dakota USA
> 

Thanks, Warren. I finally have it all working.

I used the following series of commands:
% xrandr --addmode VGA2 1280x1024
% xrandr --output VGA2 --mode 1280x1024
% xrandr --output VGA1 --left-of VGA2

Now it is working exactly as I would expect and with the advantages of
xrandr. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20071031/2758a27a/attachment.pgp


More information about the freebsd-x11 mailing list