[ltp] x31, dualview with xrandr and 1680x1050

come se fosse antani linux-thinkpad@linux-thinkpad.org
Tue, 18 Dec 2007 14:09:44 +0100


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

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.
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.
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?

thank you

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

<br><br><div class="gmail_quote">On Dec 17, 2007 10:21 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 17, 2007 4:07 PM, 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 9:39 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 3:23 PM, come se fosse antani &lt;<a href="mailto:antani@gmail.com">antani@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; On Dec 17, 2007 6:28 PM, Alex Deucher &lt; 
<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&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; wrote:<br>&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; wrote:
<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; On Dec 15, 2007 2:55 AM, Toens Bueker<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; &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; Hi *,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&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; changed from crt to tft at home, I thought, I could do the<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; same at work.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&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; order to get more desktop space, I use xrandr to use the<br>&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;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;xrandr --output VGA-0 --right-of LVDS --mode 1280x1024 --rate<br>&gt; 60<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&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; xorg.conf to (1024 + 1280 = 2304):<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;Virtual 2304 1024<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Everything works as expected. With a windowmanager, which
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; supports xrandr (xmonad), windows can be moved between<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; screens but can display different virtual desktops as well.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Now the problem: Changing the virtual line taking into<br>&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; no longer starts. The virtual line in question is
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;Virtual 2704 1818<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&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; of the x31 becomes dark, but if I look really close, I see<br>&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; error message.
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&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; with a 1680x1050 tft in a dualview configuration?<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; 2704x1818 =~ 19 MB at 4 bytes per pixel (depth 24) which is more<br>&gt; vram<br>&gt; &gt; &gt; &gt; &gt; &gt; than the chip has. &nbsp;If you are using depth 24, try switching to
<br>&gt; depth<br>&gt; &gt; &gt; &gt; &gt; &gt; 16 which will cut you down to ~9.5 MB.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Hi.<br>&gt; &gt; &gt; &gt; &gt; Sorry for the thread hijacking.<br>&gt; &gt; &gt; &gt; &gt; I have a thinkpad x40 &nbsp;and I think the video chipset is the same as
<br>&gt; the<br>&gt; &gt; &gt; one<br>&gt; &gt; &gt; &gt; &gt; in the X31.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; It&#39;s not the same. &nbsp;the x40 is intel based.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; How can I know the maximal resolution I can obtain in dual view?
<br>&gt; &gt; &gt; &gt; &gt; I don&#39;t care about depth (16 would be fine) but I&#39;d like to use a<br>&gt; &gt; &gt; 1440x900<br>&gt; &gt; &gt; &gt; &gt; on external vga since on non-16:9 resolutions my external lcd sucks.
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The intel driver works similarly to the radeon driver so the same<br>&gt; &gt; &gt; &gt; things apply (more or less).<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; can you point me to some resource to understand how the radeon/intel hw<br>&gt; &gt; &gt; works and which external resolution can I obtain?<br>&gt; &gt;<br>&gt; &gt; <a href="http://www.intellinuxgraphics.com/dualhead.html" target="_blank">
http://www.intellinuxgraphics.com/dualhead.html</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; thank you for the link.<br>&gt; In that page I can&#39;t found any information about the limit (of xrandr&#39;s<br>&gt; virtual size) that can reach the video chipset or how can I calculate it.
<br>&gt; in the hardware &nbsp;matrix I found only one laptop with my chipset, the 855GM.<br>&gt; it&#39;s a Dell Latitude D505 and the user says that he was able with<br>&gt; 915resolution to set the res to 1400x1050. Googling for this laptop I found
<br>&gt; that the 15&#39;&#39; has an internal LCD with a max res of 1400x1050, so I would<br>&gt; guess that he&#39;s not speaking about external resolution.<br>&gt; I tried with gutsy with the new xorg configuration tools (for both internal
<br>&gt; and external resolution) but with no luck: either the external LCD gives me<br>&gt; a &quot;input not supported&quot; or <a href="http://X.org" target="_blank">X.org</a> doesnt start at all.<br>&gt; can you give some (more) resources to read to understand this points?
<br><br></div></div>The max 3D surface on the i945 and below is 2048x2048. &nbsp;I *think* you<br>can use total desktop larger than that (by specifying a larger virtual<br>size) but you won&#39;t be able to use 3D. &nbsp;For i965 the limit is
<br>8192x8192. &nbsp;You don&#39;t need to worry about applications like<br>915resolution or 855resolution any more since the newer intel drivers<br>have full mode setting support.<br><font color="#888888"></font></blockquote>
<br><br>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.<br>If the limit is 2048x2048 with 3d (and compiz) I guess I can&#39;t use the resolution of my external LCD, 1440x900. :(
<br>Do you know if it&#39;s possible to have a part of the screen with 3d and the second one without? I know that speaking about virtual size doesn&#39;t make sense making distinctions between phisical screen, but I&#39;d like to know if such configuration is even possible. 
<br>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?<br><br>thank you<br></div>

------=_Part_13647_5912788.1197983384736--