Wed, 24 Jun 2015

Triple monitor setup with two video cards using nouveau

I upgraded my debian desktop from wheezy to jessie today, and in doing so my triple monitor setup stopped working. This was originally a complicated thing to setup, and I had originally done it with a very specific xorg.conf file using Xinerama and some LeftOf RightOf screen setups. This didn't work after the upgrade, and X just launched into a black screen, and the Xorg.0.log just ended with a weird message about "dropping master: -22(invalid argument)".

So anyways I was messing around with the xorg.conf without any luck, and finally stumbled upon some useful information searching for a solution.

It turns out you can now just configure this whole thing with xrandr. In my case I was able to just run:

xrandr --setprovideroutputsource 1 0

This enables the second video card. And then I used a program (apt-get'able of course) called arandr which let me activate the third monitor on the second video card, and drag and drop the monitors into the correct physical layout location. arandr allows you to save a script that just runs the xrandr command needed. I had to add the bit from above to give me the following:

xrandr --setprovideroutputsource 1 0
xrandr --output VGA-1 --mode 1440x900 --pos 2880x0 --rotate normal --output HDMI-1 --off --output HDMI-1-2 --off --output DVI-I-1-2 --off --output VGA-1-2 --mode 1440x900 --pos 0x0 --rotate normal --output DVI-I-1 --mode 1440x900 --pos 1440x0 --rotate normal

Put that into your .Xsession or whatever you run on startup, and your monitors will get setup correctly.

posted at: 18:48 | path: /debian | permanent link to this entry


2019-Jun
2019-May
2018-Dec
2018-Jan
2017-Aug
2017-Jun
2017-May
2016-Nov
2015-Dec
2015-Nov
2015-Oct
2015-Jul
2015-Jun
2014-Dec
2012-Oct
2012-Sep
2012-Jun
2012-Feb
2012-Jan
2011-Dec
2011-Sep
2011-Aug
2011-May
2011-Feb
2010-Jun
2010-Apr
2010-Jan
2009-Sep
2009-Jul
2009-May
2009-Jan
2008-Oct
2008-Sep
2008-Jun
2008-May
2008-Jan
2007-Nov
2007-Oct
2007-Aug
2007-Jun
2007-May
2007-Mar
2007-Feb
2007-Jan
2006-Nov
2006-Oct
2006-Sep
2006-Aug
2006-Jun
2006-Apr
2006-Jan
2005-Dec
2005-Nov
2005-Oct
2005-Sep
2005-Aug
2005-Jul
2005-Jun
2005-May
2005-Apr
2005-Mar
2005-Feb
2005-Jan
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Aug
2004-Jul
2004-Jun
2004-May

Powered by PyBlosxom | RSS 2.0