i810/modesetting and Xinerama?

Wang Zhenyu zhenyu.z.wang at intel.com
Wed Dec 20 00:03:15 PST 2006


On 2006.12.20 00:27:27 +0000, Andreas Schildbach wrote:
> Keith Packard wrote:
> 
> >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.
> 
> As you say, I'm getting
> 
> ~$ xrandr --output LVDS --pos 0x1200 --auto
> 1920x1968: desired screen size too large
> 

I have below patch to fix the max screen size problem, which set it to
what crtc can possibly output. 

diff --git a/src/i830_randr.c b/src/i830_randr.c
index 0a10384..592b0f5 100644
--- a/src/i830_randr.c
+++ b/src/i830_randr.c
@@ -888,7 +888,7 @@ xf86RandR12CreateScreenResources12 (Scre
     }
     
     RRScreenSetSizeRange (pScreen, 320, 240,
-			  randrp->virtualX, randrp->virtualY);
+			  config->maxWidth, config->maxHeight);
     return TRUE;
 }
 



More information about the xorg mailing list