You are not logged in.

#1 2012-04-06 14:55:21

hume's doona
Member
Registered: 2009-12-11
Posts: 206

[SOLVED]A sample working triple monitor setup:

Just got this working, so thought I'd share it, since there is often questions asked.

3 standard monitors, 2 ATI cards [1 onboard, 1 PCI-E 5450] WM = dwm

I had to enable "surround view" in my asrock bios, to get both cards going.

10-monitor.conf:

Section "Monitor"
    Identifier             "Monitor0"
EndSection
Section "Monitor"
    Identifier             "Monitor1"
EndSection
Section "Monitor"
    Identifier		   "Monitor2"
EndSection
Section "Device"
    Identifier             "Device1"
    Driver                 "radeon"
    Option	           "ZaphodHeads" "VGA-1"
    BusID                  "PCI:1:05:0"
EndSection
Section "Device"
    Identifier             "Device2"
    Driver                 "radeon"
    Option		   "ZophodHeads" "DVI-0"
#    Option		   "ZaphodHaeds" "VGA-0"
    BusID                  "PCI:2:0:0"
EndSection
Section "Device"
    Identifier             "Device3"
    Driver                 "radeon"
    Option		   "ZophodHeads" "VGA-0"
    BusID		   "PCI:2.0.0"
EndSection
Section "Screen"
    Identifier             "Screen2"  
    Device                 "Device1"
    Monitor                "Monitor1"
    DefaultDepth            16 
    SubSection             "Display"
        Depth               16
        Modes              "1280x1024_60.00" 
    EndSubSection
EndSection
Section "Screen"
    Identifier             "Screen1"  
    Device                 "Device2"
    Monitor                "Monitor0"
    DefaultDepth            16 #Choose the depth (16||24)
    SubSection             "Display"
        Depth               16
        Modes              "1024x768_60.00" 
	Virtual		   2048 768
    EndSubSection
EndSection
Section "Screen"
    Identifier		   "Screen3"
    Device		   "Device3"
    Monitor		   "Monitor2"
    DefaultDepth	    16
    SubSection		   "Display"
	    Depth	    16
	    Modes	   "1280x1024_60.00"
    EndSubSection
EndSection
Section "ServerLayout"
    Identifier     "TripleSreen"
    Screen       0 "Screen1" 0 0
    Screen       1 "Screen2" RightOf "Screen1" 
    Screen	 2 "Screen3" LeftOf "Screen1" 
    Option	   "Clone" "off"
    Option         "Composite" "off"
#    Option         "Xinerama" "on"
#    Option         "Xinerama" "0"
EndSection

then i run startx, and have a bash script ~/.triplehead.sh

xrandr --output DVI-0 --mode 1280x1024 --left-of VGA-1 &&
	xrandr --output VGA-1 --mode 1280x1024 &&
	DISPLAY=:0.1 setsid dwm &

and I had to change the mfact in dwm.config.h to 0.5, to get it to tile one on each screen, since the two left screens don't get the whole "edge of the monitor" thing.

 25 /* layout(s) */
 26 static const float mfact      = 0.5; /* factor of master area size [0.05..0.95] */
 27 static const int nmaster      = 1;    /* number of clients in master area */
 28 static const Bool resizehints = True; /* True means respect size hints in tiled resizals */

my net connection is too slow tonight to upload a thumbnail and pic to post. But as you can see, no compositing of that nature, it's mostly terminals, with vimperator

... anyway, hope it helps someone out someday smile

Offline

Board footer

Powered by FluxBB