[ltp] x31, dualview with xrandr and 1680x1050

come se fosse antani linux-thinkpad@linux-thinkpad.org
Tue, 18 Dec 2007 17:48:07 +0100


------=_Part_14551_31037936.1197996487666
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Dec 18, 2007 3:09 PM, Alex Deucher <alexdeucher@gmail.com> wrote:

> On Dec 18, 2007 8:09 AM, come se fosse antani <antani@gmail.com> wrote:
> >
> >
> > On Dec 17, 2007 10:21 PM, Alex Deucher <alexdeucher@gmail.com> wrote:
> > >
> > >
> > >
> > > On Dec 17, 2007 4:07 PM, come se fosse antani <antani@gmail.com>
> wrote:
> > > >
> > > >
> > > > On Dec 17, 2007 9:39 PM, Alex Deucher < alexdeucher@gmail.com>
> wrote:
> > > > >
> > > > >
> > > > >
> > > > > On Dec 17, 2007 3:23 PM, come se fosse antani <antani@gmail.com>
> > wrote:
> > > > > > On Dec 17, 2007 6:28 PM, Alex Deucher < alexdeucher@gmail.com>
> > wrote:
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Dec 17, 2007 12:17 PM, come se fosse antani <
> antani@gmail.com>
> > > > wrote:
> > > > > > > > On Dec 15, 2007 8:47 PM, Alex Deucher <
> alexdeucher@gmail.com>
> > > > wrote:
> > > > > > > >
> > > > > > > > > On Dec 15, 2007 2:55 AM, Toens Bueker
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > < toens.bueker@lists0903.nurfuerspam.neuroserve.de >
> wrote:
> > > > > > > > > > Hi *,
> > > > > > > > > >
> > > > > > > > > > at work I just received a new display. As I have just
> > > > > > > > > > changed from crt to tft at home, I thought, I could do
> the
> > > > > > > > > > same at work.
> > > > > > > > > >
> > > > > > > > > > At home I use a 19'' tft with 1280x1024 resolution. In
> > > > > > > > > > order to get more desktop space, I use xrandr to use the
> > > > > > > > > > lcd of the x31 and the tft in a dualview configuration:
> > > > > > > > > >
> > > > > > > > > >  xrandr --output VGA-0 --right-of LVDS --mode 1280x1024
> > --rate
> > > > 60
> > > > > > > > > >
> > > > > > > > > > At the same time I've changed the Virtual setting in
> > > > > > > > > > xorg.conf to (1024 + 1280 = 2304):
> > > > > > > > > >
> > > > > > > > > >  Virtual 2304 1024
> > > > > > > > > >
> > > > > > > > > > Everything works as expected. With a windowmanager,
> which
> > > > > > > > > > supports xrandr (xmonad), windows can be moved between
> > > > > > > > > > screens but can display different virtual desktops as
> well.
> > > > > > > > > >
> > > > > > > > > > Now the problem: Changing the virtual line taking into
> > > > > > > > > > account the display size (1680x1050) of the tft at work,
> X
> > > > > > > > > > no longer starts. The virtual line in question is
> > > > > > > > > >
> > > > > > > > > >  Virtual 2704 1818
> > > > > > > > > >
> > > > > > > > > > "X no longer starts" is probably wrong. Actually the lcd
> > > > > > > > > > of the x31 becomes dark, but if I look really close, I
> see
> > > > > > > > > > a dialog box (probably from gdm), but I cannot read the
> > > > > > > > > > error message.
> > > > > > > > > >
> > > > > > > > > > Any ideas? Is there anybody out there, who uses an x31
> > > > > > > > > > with a 1680x1050 tft in a dualview configuration?
> > > > > > > > >
> > > > > > > > > 2704x1818 =~ 19 MB at 4 bytes per pixel (depth 24) which
> is
> > more
> > > > vram
> > > > > > > > > than the chip has.  If you are using depth 24, try
> switching
> > to
> > > > depth
> > > > > > > > > 16 which will cut you down to ~9.5 MB.
> > > > > > > > >
> > > > > > > > Hi.
> > > > > > > > Sorry for the thread hijacking.
> > > > > > > > I have a thinkpad x40  and I think the video chipset is the
> same
> > as
> > > > the
> > > > > > one
> > > > > > > > in the X31.
> > > > > > >
> > > > > > > It's not the same.  the x40 is intel based.
> > > > > > >
> > > > > > >
> > > > > > > > How can I know the maximal resolution I can obtain in dual
> view?
> > > > > > > > I don't care about depth (16 would be fine) but I'd like to
> use
> > a
> > > > > > 1440x900
> > > > > > > > on external vga since on non-16:9 resolutions my external
> lcd
> > sucks.
> > > > > > >
> > > > > > > The intel driver works similarly to the radeon driver so the
> same
> > > > > > > things apply (more or less).
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > can you point me to some resource to understand how the
> radeon/intel
> > hw
> > > > > > works and which external resolution can I obtain?
> > > > >
> > > > > http://www.intellinuxgraphics.com/dualhead.html
> > > > >
> > > > >
> > > > >
> > > > thank you for the link.
> > > > In that page I can't found any information about the limit (of
> xrandr's
> > > > virtual size) that can reach the video chipset or how can I
> calculate
> > it.
> > > > in the hardware  matrix I found only one laptop with my chipset, the
> > 855GM.
> > > > it's a Dell Latitude D505 and the user says that he was able with
> > > > 915resolution to set the res to 1400x1050. Googling for this laptop
> I
> > found
> > > > that the 15'' has an internal LCD with a max res of 1400x1050, so I
> > would
> > > > guess that he's not speaking about external resolution.
> > > > I tried with gutsy with the new xorg configuration tools (for both
> > internal
> > > > and external resolution) but with no luck: either the external LCD
> gives
> > me
> > > > a "input not supported" or X.org doesnt start at all.
> > > > can you give some (more) resources to read to understand this
> points?
> > >
> > > The max 3D surface on the i945 and below is 2048x2048.  I *think* you
> > > can use total desktop larger than that (by specifying a larger virtual
> > > size) but you won't be able to use 3D.  For i965 the limit is
> > > 8192x8192.  You don't need to worry about applications like
> > > 915resolution or 855resolution any more since the newer intel drivers
> > > have full mode setting support.
> > >
> >
> >
> > Thank you for the answer. You writes about 3d limitation but not XVideo
> > output, right? I remember that some months ago Xinerama had problems
> with
> > vga-out and XV on external screens.
>
> Xv is probably ok, but I'm not that familiar with the HW.
>
> > If the limit is 2048x2048 with 3d (and compiz) I guess I can't use the
> > resolution of my external LCD, 1440x900. :(
> > Do you know if it's possible to have a part of the screen with 3d and
> the
> > second one without? I know that speaking about virtual size doesn't make
> > sense making distinctions between phisical screen, but I'd like to know
> if
> > such configuration is even possible.
>
> I don't think so as IIRC, the stride register for the 3D engine is the
> limiting factor.
>
> > Or: there is any work around to obtain a 1024x768 internal resolution
> and a
> > 16:10 resolution on my external LCD with compiz and xv?
> >
>
> sure.  how about putting the external monitor above or below the built in
> panel?
> <http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad>
>

mmmh. you mean that having a above res of 1440x900 and lower 1024x768, the
resulting virtual size will be only 1440x1668? Is that right?
I've yet to imagine how can I work with such setting.. but if it is so,
thank you! :)

------=_Part_14551_31037936.1197996487666
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div class="gmail_quote">On Dec 18, 2007 3:09 PM, Alex Deucher &lt;<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Dec 18, 2007 8:09 AM, come se fosse antani &lt;<a href="mailto:antani@gmail.com">antani@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; On Dec 17, 2007 10:21 PM, Alex Deucher &lt;<a href="mailto:alexdeucher@gmail.com">
alexdeucher@gmail.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On Dec 17, 2007 4:07 PM, come se fosse antani &lt;<a href="mailto:antani@gmail.com">antani@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On Dec 17, 2007 9:39 PM, Alex Deucher &lt; <a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; On Dec 17, 2007 3:23 PM, come se fosse antani &lt;<a href="mailto:antani@gmail.com">antani@gmail.com</a>&gt;<br>&gt; wrote:<br>&gt; &gt; &gt; &gt; &gt; On Dec 17, 2007 6:28 PM, Alex Deucher &lt; <a href="mailto:alexdeucher@gmail.com">
alexdeucher@gmail.com</a>&gt;<br>&gt; wrote:<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; On Dec 17, 2007 12:17 PM, come se fosse antani &lt; 
<a href="mailto:antani@gmail.com">antani@gmail.com</a>&gt;<br>&gt; &gt; &gt; wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; On Dec 15, 2007 8:47 PM, Alex Deucher &lt; <a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com
</a>&gt;<br>&gt; &gt; &gt; wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; On Dec 15, 2007 2:55 AM, Toens Bueker<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &lt; <a href="mailto:toens.bueker@lists0903.nurfuerspam.neuroserve.de">toens.bueker@lists0903.nurfuerspam.neuroserve.de</a> &gt; wrote:
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi *,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; at work I just received a new display. As I have just<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; changed from crt to tft at home, I thought, I could do the
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; same at work.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; At home I use a 19&#39;&#39; tft with 1280x1024 resolution. In
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; order to get more desktop space, I use xrandr to use the<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; lcd of the x31 and the tft in a dualview configuration:<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;xrandr --output VGA-0 --right-of LVDS --mode 1280x1024<br>&gt; --rate<br>&gt; &gt; &gt; 60<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; At the same time I&#39;ve changed the Virtual setting in
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; xorg.conf to (1024 + 1280 = 2304):<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;Virtual 2304 1024<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Everything works as expected. With a windowmanager, which<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; supports xrandr (xmonad), windows can be moved between<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; screens but can display different virtual desktops as well.
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Now the problem: Changing the virtual line taking into<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; account the display size (1680x1050) of the tft at work, X
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; no longer starts. The virtual line in question is<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;Virtual 2704 1818<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;X no longer starts&quot; is probably wrong. Actually the lcd<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; of the x31 becomes dark, but if I look really close, I see
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; a dialog box (probably from gdm), but I cannot read the<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; error message.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Any ideas? Is there anybody out there, who uses an x31
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; with a 1680x1050 tft in a dualview configuration?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 2704x1818 =~ 19 MB at 4 bytes per pixel (depth 24) which is
<br>&gt; more<br>&gt; &gt; &gt; vram<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; than the chip has. &nbsp;If you are using depth 24, try switching<br>&gt; to<br>&gt; &gt; &gt; depth<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 16 which will cut you down to ~9.5 MB.
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Sorry for the thread hijacking.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; I have a thinkpad x40 &nbsp;and I think the video chipset is the same
<br>&gt; as<br>&gt; &gt; &gt; the<br>&gt; &gt; &gt; &gt; &gt; one<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; in the X31.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; It&#39;s not the same. &nbsp;the x40 is intel based.
<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; How can I know the maximal resolution I can obtain in dual view?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; I don&#39;t care about depth (16 would be fine) but I&#39;d like to use
<br>&gt; a<br>&gt; &gt; &gt; &gt; &gt; 1440x900<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; on external vga since on non-16:9 resolutions my external lcd<br>&gt; sucks.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; The intel driver works similarly to the radeon driver so the same
<br>&gt; &gt; &gt; &gt; &gt; &gt; things apply (more or less).<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; can you point me to some resource to understand how the radeon/intel
<br>&gt; hw<br>&gt; &gt; &gt; &gt; &gt; works and which external resolution can I obtain?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; <a href="http://www.intellinuxgraphics.com/dualhead.html" target="_blank">http://www.intellinuxgraphics.com/dualhead.html
</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; thank you for the link.<br>&gt; &gt; &gt; In that page I can&#39;t found any information about the limit (of xrandr&#39;s<br>&gt; &gt; &gt; virtual size) that can reach the video chipset or how can I calculate
<br>&gt; it.<br>&gt; &gt; &gt; in the hardware &nbsp;matrix I found only one laptop with my chipset, the<br>&gt; 855GM.<br>&gt; &gt; &gt; it&#39;s a Dell Latitude D505 and the user says that he was able with<br>&gt; &gt; &gt; 915resolution to set the res to 1400x1050. Googling for this laptop I
<br>&gt; found<br>&gt; &gt; &gt; that the 15&#39;&#39; has an internal LCD with a max res of 1400x1050, so I<br>&gt; would<br>&gt; &gt; &gt; guess that he&#39;s not speaking about external resolution.<br>&gt; &gt; &gt; I tried with gutsy with the new xorg configuration tools (for both
<br>&gt; internal<br>&gt; &gt; &gt; and external resolution) but with no luck: either the external LCD gives<br>&gt; me<br>&gt; &gt; &gt; a &quot;input not supported&quot; or <a href="http://X.org" target="_blank">X.org</a>
 doesnt start at all.<br>&gt; &gt; &gt; can you give some (more) resources to read to understand this points?<br>&gt; &gt;<br>&gt; &gt; The max 3D surface on the i945 and below is 2048x2048. &nbsp;I *think* you<br>&gt; &gt; can use total desktop larger than that (by specifying a larger virtual
<br>&gt; &gt; size) but you won&#39;t be able to use 3D. &nbsp;For i965 the limit is<br>&gt; &gt; 8192x8192. &nbsp;You don&#39;t need to worry about applications like<br>&gt; &gt; 915resolution or 855resolution any more since the newer intel drivers
<br>&gt; &gt; have full mode setting support.<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; Thank you for the answer. You writes about 3d limitation but not XVideo<br>&gt; output, right? I remember that some months ago Xinerama had problems with
<br>&gt; vga-out and XV on external screens.<br><br></div></div>Xv is probably ok, but I&#39;m not that familiar with the HW.<br><div class="Ih2E3d"><br>&gt; If the limit is 2048x2048 with 3d (and compiz) I guess I can&#39;t use the
<br>&gt; resolution of my external LCD, 1440x900. :(<br>&gt; Do you know if it&#39;s possible to have a part of the screen with 3d and the<br>&gt; second one without? I know that speaking about virtual size doesn&#39;t make
<br>&gt; sense making distinctions between phisical screen, but I&#39;d like to know if<br>&gt; such configuration is even possible.<br><br></div>I don&#39;t think so as IIRC, the stride register for the 3D engine is the<br>
limiting factor.<br><div class="Ih2E3d"><br>&gt; Or: there is any work around to obtain a 1024x768 internal resolution and a<br>&gt; 16:10 resolution on my external LCD with compiz and xv?<br>&gt;<br><br></div>sure. &nbsp;how about putting the external monitor above or below the built in panel?
<br><div><div></div><div class="Wj3C7c"><a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank"></a></div></div></blockquote><div><br>mmmh. you mean that having a above res of 1440x900 and lower 1024x768, the resulting virtual size will be only 1440x1668? Is that right?
<br>I&#39;ve yet to imagine how can I work with such setting.. but if it is so, thank you! :)<br></div></div><br>

------=_Part_14551_31037936.1197996487666--