xorg-x11-server-Xorg 1.2.99.901 has RANDR 1.2 support. The client-side bits have been in rawhide for a while, but this adds the server support. The server itself was very close to what we had in rawhide anyway, excluding the RANDR bits, so this _should_ be a low-impact change. As far as I can tell, drivers that are unaware of RANDR 1.2 work the same as ever, so if you're using anything but the intel driver please yell at me very loudly if this regresses anything for you.
If you're using the intel driver, well, you've been in experimental land for a while anyway, and now it's going to do even more fun stuff. Stuff I've already hit:
- Gnome randr applet crashes. Like, instantly. - Old school xrandr options sometimes do nonintuitive things, particularly for rotation. - DPI is only loosely related to reality. - panel sometimes gets very confused about positioning. - i865 and below probably don't work.
But on the plus side, you can enable and disable monitors at runtime now. It's like living in the future.
Please file bugs if you hit them (and fixes if you can!), we should be able to get this pretty polished for 7 final.
- ajax
On Mon, 2007-03-05 at 18:19 -0500, Adam Jackson wrote:
- Gnome randr applet crashes. Like, instantly.
- Old school xrandr options sometimes do nonintuitive things,
particularly for rotation.
- DPI is only loosely related to reality.
- panel sometimes gets very confused about positioning.
- i865 and below probably don't work.
What exactly won't work with i865 and below? I have manually rebuilt Xorg and quite a few other packages on my FC6 installation to get RANDR 1.2 and it works for some things on my i855. I can turn monitors on and off, change the resolution (sometimes). Though sometimes the laptop froze after bootup or while the screensaver was on.
On Mon, 2007-03-05 at 20:51 -0400, Jean-Rene Cormier wrote:
On Mon, 2007-03-05 at 18:19 -0500, Adam Jackson wrote:
- Gnome randr applet crashes. Like, instantly.
- Old school xrandr options sometimes do nonintuitive things,
particularly for rotation.
- DPI is only loosely related to reality.
- panel sometimes gets very confused about positioning.
- i865 and below probably don't work.
What exactly won't work with i865 and below? I have manually rebuilt Xorg and quite a few other packages on my FC6 installation to get RANDR 1.2 and it works for some things on my i855. I can turn monitors on and off, change the resolution (sometimes). Though sometimes the laptop froze after bootup or while the screensaver was on.
LVDS panels in particular, which usually means laptops. The rumor is something like they'll occasionally program the right timing values just by luck.
- ajax
Hi.
On Mon, 05 Mar 2007 18:19:41 -0500, Adam Jackson wrote:
- Gnome randr applet crashes. Like, instantly.
- Old school xrandr options sometimes do nonintuitive things,
particularly for rotation.
- DPI is only loosely related to reality.
- panel sometimes gets very confused about positioning.
- i865 and below probably don't work.
But on the plus side, you can enable and disable monitors at runtime now. It's like living in the future.
How does one actually do this? Do I have to configure the monitors in xorg.conf, or are they autodetected? What program do I use to tell xorg to turn the monitors on and off?
Hi,
On Thu, Mar 08, 2007 at 09:27:17AM +0100, Ralf Ertzinger wrote:
How does one actually do this? Do I have to configure the monitors in xorg.conf, or are they autodetected? What program do I use to tell xorg to turn the monitors on and off?
Using the xrandr command. For example, a command xrandr --output VGA --mode 1024x768 --pos 0x800 will add the external monitor below my laptop panel.
But you may have to configure a separate Monitor section for the external monitor to be able to use modes other than those from the LVDS, which is done by a line in the Device section: Option "Monitor-VGA" "name of the monitor"
On Thu, 2007-03-08 at 14:16 +0100, Tomas Janousek wrote:
Hi,
On Thu, Mar 08, 2007 at 09:27:17AM +0100, Ralf Ertzinger wrote:
How does one actually do this? Do I have to configure the monitors in xorg.conf, or are they autodetected? What program do I use to tell xorg to turn the monitors on and off?
Using the xrandr command. For example, a command xrandr --output VGA --mode 1024x768 --pos 0x800 will add the external monitor below my laptop panel.
But you may have to configure a separate Monitor section for the external monitor to be able to use modes other than those from the LVDS, which is done by a line in the Device section: Option "Monitor-VGA" "name of the monitor"
-- TJ., BaseOS, Brno, CZ
Which version of xrandr do you have installed? Those don't seem to even options in the FC7 one I have:
continuity> xrandr --help usage: xrandr [options] where options are: -display <display> or -d <display> -help -o <normal,inverted,left,right,0,1,2,3> or --orientation <normal,inverted,left,right,0,1,2,3> -q or --query -s <size>/<width>x<height> or --size <size>/<width>x<height> -r <rate> or --rate <rate> -v or --version -x (reflect in x) -y (reflect in y) --screen <screen> --verbose continuity>
I've got a laptop with I945 video and I tried several variations and it doesn't seem like my laptop even see the other monitor when I connect it. The most telling is this error:
continuity> xrandr --verbose --screen 1 --size 1920x1200 --orientation right Invalid screen number 1 (display has 1) continuity>
Thanks,
tjb
On Fri, 2007-03-09 at 15:08 -0500, Thomas J. Baker wrote:
On Thu, 2007-03-08 at 14:16 +0100, Tomas Janousek wrote:
Hi,
On Thu, Mar 08, 2007 at 09:27:17AM +0100, Ralf Ertzinger wrote:
How does one actually do this? Do I have to configure the monitors in xorg.conf, or are they autodetected? What program do I use to tell xorg to turn the monitors on and off?
Using the xrandr command. For example, a command xrandr --output VGA --mode 1024x768 --pos 0x800 will add the external monitor below my laptop panel.
But you may have to configure a separate Monitor section for the external monitor to be able to use modes other than those from the LVDS, which is done by a line in the Device section: Option "Monitor-VGA" "name of the monitor"
-- TJ., BaseOS, Brno, CZ
Which version of xrandr do you have installed? Those don't seem to even options in the FC7 one I have:
Yeah, entirely my fault, the package never got off my hard drive. Should be available tomorrow.
- ajax
On Fri, 2007-03-09 at 17:00 -0500, Adam Jackson wrote:
On Fri, 2007-03-09 at 15:08 -0500, Thomas J. Baker wrote:
On Thu, 2007-03-08 at 14:16 +0100, Tomas Janousek wrote:
Hi,
On Thu, Mar 08, 2007 at 09:27:17AM +0100, Ralf Ertzinger wrote:
How does one actually do this? Do I have to configure the monitors in xorg.conf, or are they autodetected? What program do I use to tell xorg to turn the monitors on and off?
Using the xrandr command. For example, a command xrandr --output VGA --mode 1024x768 --pos 0x800 will add the external monitor below my laptop panel.
But you may have to configure a separate Monitor section for the external monitor to be able to use modes other than those from the LVDS, which is done by a line in the Device section: Option "Monitor-VGA" "name of the monitor"
-- TJ., BaseOS, Brno, CZ
Which version of xrandr do you have installed? Those don't seem to even options in the FC7 one I have:
Yeah, entirely my fault, the package never got off my hard drive. Should be available tomorrow.
- ajax
I have a laptop with i945 graphics. Any reason why the screen would be limited like it seems to be:
continuity> xrandr Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280 VGA connected (normal left inverted right) 1280x1024 75.0 59.9 1152x864 74.8 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 LVDS connected 1280x800+0+0 (normal left inverted right) 261mm x 163mm 1280x800 60.0*+ 60.0 1280x768 60.0 1280x720 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 TV disconnected (normal left inverted right) continuity> xrandr --output VGA --mode 1280x1024 --pos 1281x0 xrandr: screen cannot be larger than 1280x1280 (desired size 2561x1024) continuity> xrandr --output VGA --mode 1024x768 --pos 1281x0 xrandr: screen cannot be larger than 1280x1280 (desired size 2305x800) continuity> xrandr --output LDVS --mode 1280x800 --output VGA --mode 1024x768 --pos 1281x0 xrandr: screen cannot be larger than 1280x1280 (desired size 2305x800) continuity>
I connect up a Dell 2407 LCD display which doesn't seem to be correctly detected (1920x1200 native resolution) and then my max resolution doesn't seem to allow for much expansion. I thought the driver would borrow system memory as needed (so that this is not a memory problem)?
Thanks,
tjb -- ======================================================================= | Thomas Baker email: tjb@unh.edu | | Systems Programmer | | Research Computing Center voice: (603) 862-4490 | | University of New Hampshire fax: (603) 862-1761 | | 332 Morse Hall | | Durham, NH 03824 USA http://wintermute.sr.unh.edu/~tjb | =======================================================================
On Mon, 2007-03-12 at 11:13 -0400, Thomas J. Baker wrote:
I have a laptop with i945 graphics. Any reason why the screen would be limited like it seems to be:
continuity> xrandr Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280 VGA connected (normal left inverted right) 1280x1024 75.0 59.9 1152x864 74.8 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 LVDS connected 1280x800+0+0 (normal left inverted right) 261mm x 163mm 1280x800 60.0*+ 60.0 1280x768 60.0 1280x720 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 TV disconnected (normal left inverted right) continuity> xrandr --output VGA --mode 1280x1024 --pos 1281x0 xrandr: screen cannot be larger than 1280x1280 (desired size 2561x1024) continuity> xrandr --output VGA --mode 1024x768 --pos 1281x0 xrandr: screen cannot be larger than 1280x1280 (desired size 2305x800) continuity> xrandr --output LDVS --mode 1280x800 --output VGA --mode 1024x768 --pos 1281x0 xrandr: screen cannot be larger than 1280x1280 (desired size 2305x800) continuity>
The display size is limited at server startup, because XAA's memory allocator is spectacularly bad. I don't know if there's a good workaround for this. Try setting a Virtual size in the Screen section of xorg.conf?
- ajax
Hi,
On Mon, Mar 12, 2007 at 11:09:34AM -0400, Adam Jackson wrote:
The display size is limited at server startup, because XAA's memory allocator is spectacularly bad. I don't know if there's a good workaround for this. Try setting a Virtual size in the Screen section of xorg.conf?
Yeah, you have to use Virtual to specify the maximum size. It may not be possible to specify more than 2048xSomething though, because some chips are limited (at least I read this on some xorg maillist). I just ended up aligning the screens vertically, but it may not be comfortable.
Regarding the 1920x1200 resolution, did you specify that Monitor-VGA option in the device section?
On Mon, 2007-03-12 at 16:35 +0100, Tomas Janousek wrote:
Hi,
On Mon, Mar 12, 2007 at 11:09:34AM -0400, Adam Jackson wrote:
The display size is limited at server startup, because XAA's memory allocator is spectacularly bad. I don't know if there's a good workaround for this. Try setting a Virtual size in the Screen section of xorg.conf?
Yeah, you have to use Virtual to specify the maximum size. It may not be possible to specify more than 2048xSomething though, because some chips are limited (at least I read this on some xorg maillist). I just ended up aligning the screens vertically, but it may not be comfortable.
Regarding the 1920x1200 resolution, did you specify that Monitor-VGA option in the device section?
-- TJ., BaseOS, Brno, CZ
I did have some luck with this after setting a virtual size. I was able to add the external panel on the fly. Unfortunately I lose direct rendering with the virtual size set to 3200x1200:
(EE) intel(0): Cannot support DRI with frame buffer width > 2048.
In theory, isn't the driver supposed to allocate as much shared memory as it needs? (i945 hardware). Is this something that will get fixed or a limitation of the hardware?
As well as X now works, the desktop will need to catch up. After enabling the external monitor set to right of my laptop screen, my panels jump to the external monitor. After disabling the external monitor panels jump back to laptop screen but with no gravity on the panel, my icons get all messed up because the external monitor is much larger. I think I saw somewhere they're talking about adding gravity to the gnome panel in the next version.
Regardless, this is exciting stuff....
tjb
Hi,
On Wed, Mar 14, 2007 at 08:12:44PM -0400, Thomas J. Baker wrote:
I did have some luck with this after setting a virtual size. I was able to add the external panel on the fly. Unfortunately I lose direct rendering with the virtual size set to 3200x1200:
(EE) intel(0): Cannot support DRI with frame buffer width > 2048.
In theory, isn't the driver supposed to allocate as much shared memory as it needs? (i945 hardware). Is this something that will get fixed or a limitation of the hardware?
Well, it is a limitation of hardware -- it supports stride width of 8192 which is 2048 with a depth of 32 bits. The driver authors will try to workaround it somehow though, according to the traffic in xorg maillist.
On Wed, 2007-03-14 at 20:12 -0400, Thomas J. Baker wrote:
On Mon, 2007-03-12 at 16:35 +0100, Tomas Janousek wrote:
Hi,
On Mon, Mar 12, 2007 at 11:09:34AM -0400, Adam Jackson wrote:
The display size is limited at server startup, because XAA's memory allocator is spectacularly bad. I don't know if there's a good workaround for this. Try setting a Virtual size in the Screen section of xorg.conf?
Yeah, you have to use Virtual to specify the maximum size. It may not be possible to specify more than 2048xSomething though, because some chips are limited (at least I read this on some xorg maillist). I just ended up aligning the screens vertically, but it may not be comfortable.
Regarding the 1920x1200 resolution, did you specify that Monitor-VGA option in the device section?
-- TJ., BaseOS, Brno, CZ
I did have some luck with this after setting a virtual size. I was able to add the external panel on the fly. Unfortunately I lose direct rendering with the virtual size set to 3200x1200:
(EE) intel(0): Cannot support DRI with frame buffer width > 2048.
In theory, isn't the driver supposed to allocate as much shared memory as it needs? (i945 hardware). Is this something that will get fixed or a limitation of the hardware?
Hardware limitation. 3D engines only have so many address bits...
965 has a stride limit of 4096, I think, which is quite a bit better. Fixing this for the general case is hard but doable. Imagine the pain involved in submitting all your rendering multiple times in squares of 2048x2048 and you begin to get some idea of the contortions involved.
- ajax
Hi,
On Fri, Mar 09, 2007 at 03:08:07PM -0500, Thomas J. Baker wrote:
Which version of xrandr do you have installed? Those don't seem to even options in the FC7 one I have:
The one from xbase-clients 1:7.2.ds2-1 from debian experimental, but that won't help you. Ajax's answer is much better :)