i810/modesetting and Xinerama?

Keith Packard keithp at keithp.com
Tue Dec 19 14:37:00 PST 2006


On Tue, 2006-12-19 at 22:26 +0100, Andreas Schildbach wrote:
> Hi Dave and Keith,
> 
> >> Up to now, I managed to git-clone the modules drm (HEAD (=2.3.0?)),
> >> xserver (randr-1.2-for-server-1.2) and xf86-video-intel (modesetting). I
> >> got libdrm into the boat, because the other two modules were complaining
> >> about unmet dependencies and Ubuntu only comes with libdrm 2.0.2.
> > 
> > You'll need a new randrproto, and client side (libXrandr + xrandr app)..
> 
> Thanks to your help I now managed to compile, install and run
> 
> drm
> libXrandr
> randrproto
> xf86-video-intel
> xrandr
> xserver
> 
> Immediately on startup the new server picked up the 1920 x 1200 
> resolution from my external monitor, although my laptops screen 1280 x 
> 768 is still configured in xorg.conf. Is the screen section now ignored 
> completely? The picture is cloned to the laptops display, but slightly 
> distorted.

Yes, the configuration file has very little effect on the server at this
point.

> What do I need to configure in order to extend my desktop to the laptop 
> display? Do I only use xrandr? 

yes, xrandr (from the randr-1.2 branch) will reconfigure your desktop on
the fly. Try the --q12 option to see what outputs and modes are
available. The format of that data is not user friendly yet, but you
should be able to figure out what it says.

Then, you can use xrandr to place the internal screen to the right of
the external monitor:

$ xrandr --output LVDS --pos 1920x0 --auto

This presumes that you've accepted 16bpp as your depth of choice; the
hardware is limited to 8KB per scanline, so a 32bpp server can only have
a combined screen width of 2048 pixels.

> What values does it take for the -display 
> parameter (this is not documented)? 

That's just the target X server.

> What if xrandr does not list 1280 x 
> 768 resolution which I'd need for the laptop screen? How do I specify 
> the server layout?

xrandr --q12 should list the LVDS panel size as the only mode available
for that output. However, I note that your BIOS records the panel size
as 1280x800 while the mode it offers is 1280x768. Which is correct? And
does xrandr --q12 list both sizes?

Without any options, xrandr lists the old RandR 1.0 protocol data, which
is not very useful here.

> I'm attaching my Xorg.0.log for reference.

Thanks; it was quite useful.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20061219/5151ded7/attachment.pgp>


More information about the xorg mailing list