[Intel-gfx] Separate X-Screen feature - dual monitoring

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 24 09:11:00 CEST 2014


On Thu, Apr 24, 2014 at 06:53:08AM +0000, Stig Eriksson wrote:
> I am searching for a solution for the following problem, that I found
> in an old post from 2009.
> 
> >> I would like to know the possibility to manage two separate X-screens
> >> with the above configuration.  I had seen an article from
> >> http://intellinuxgraphics.org/dualhead.html , demonstrates extended
> >> desktop. But i am looking for separate X-screens, like two 
> >> separate menus, separate panels on each screen. Please provide me some
> >> information.
> 
> > If I understand your problem correctly, the solution is not related to
> > the driver.
> >
> > I know you can from a console start a second X session using something
> > like the following command. (Not sure if that is entirely correct.)
> >
> >	$ startx -- :1 -config /path/to/xorg.conf/with/other/monitor
> >
> > You should also be able to configure your system to start two login
> > screen at start up. You should search the WWW for that, i. e. "gdm two
> > login screen".
> 
> This is really a driver question. We do not want to run two independent
> X servers, we want to run one server with 2 separate screens, so that
> the displays would be :0.0 and :0.1.

The configuration you are looking for is called ZaphodHeads, for
example;

Section "ServerLayout"
	Identifier "zaphod"
	Screen 0 "external"
	Screen 1 "internal" RightOf "external"
EndSection

Section "Device"
	Identifier "device-external"
	Driver "intel"
	Option "ZaphodHeads" "HDMI1"
	Screen 0
EndSection

Section "Device"
	Identifier "device-internal"
	Driver "intel"
	Option "ZaphodHeads" "LVDS1"
	Screen 1
EndSection
	
Section "Screen"
	Identifier "internal"
	Device "device-internal"
EndSection

Section "Screen"
	Identifier "external"
	Device "device-external"
EndSection

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list