Bug 16728 - [GM965 dual-head] Virtual desktop width is set incorrectly to 2048, while the larget monitor width is 1680
Summary: [GM965 dual-head] Virtual desktop width is set incorrectly to 2048, while the...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 03:39 UTC by Bryce Harrington
Modified: 2010-05-10 11:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bryce Harrington 2008-07-16 03:39:42 UTC
This is a bug report forwarded from Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/221898

"I'm running hardy on a Samsung Q45 laptop, see: https://wiki.ubuntu.com/LaptopTestingTeam/SamsungQ45Dalia

I had to put in a "Virtual" stance into my xorg.conf to get multi-head working.

Now when I start up with the external monitor connected, the width of the virtual desktop is set to the maximum even if the largest monitor does not cover it. The height is set correctly.

If I start X without the external monitor, the virtual desktop is set to the size of the laptop display.

I'll attach relevant outputs, but notice these lines from xrandr:

Without external monitor:
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 2048 x 2048
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm

With external monitor:
Screen 0: minimum 320 x 200, current 2048 x 1050, maximum 2048 x 2048
VGA connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm"

Without external monitor:
 xorg.conf:  http://launchpadlibrarian.net/13895080/xorg.conf
 xrandr:     http://launchpadlibrarian.net/13895091/xrandr.single.txt
 Xorg.0.log: http://launchpadlibrarian.net/13895133/Xorg.0.log.single

With external monitor:
 xorg.conf:  http://launchpadlibrarian.net/13895080/xorg.conf
 xrandr:     http://launchpadlibrarian.net/13895105/xrandr.dual.txt
 Xorg.0.log: http://launchpadlibrarian.net/13895133/Xorg.0.log.single


In reviewing the files, I see it is DDC detecting the second GSM monitor twice, but otherwise don't notice anything obviously erroneous from the logs.

 (II) intel(0): EDID vendor "GSM", prod id 20039
 (II) intel(0): EDID vendor "SEC", prod id 16705
 (II) intel(0): EDID vendor "GSM", prod id 20039
 (II) intel(0): Using hsync ranges from config file
 (II) intel(0): Using vrefresh ranges from config file

I'm not sure why it'd be saying its using the h/v ranges from the config file when afaik they're not in the config file.
Comment 1 Wang Zhenyu 2008-07-20 20:43:43 UTC
sorry, I can't what's wrong with this, as you have set virtual in config as 2048x2048, so display front buffer size will be that. Anything broken?
Comment 2 Wang Zhenyu 2008-07-20 22:55:29 UTC
so it looks the only problem you saw is xrandr reported width in clone mode as 2048 instead of 1680? I've been testing with a 1680x1050 monitor, which looks I can't see the problem. Would you try current xrandr git or 1.2.3 release? and you seems missing the xorg log in dual monitor case.
Comment 3 Mika Fischer 2008-07-22 05:09:52 UTC
(In reply to comment #2)
> so it looks the only problem you saw is xrandr reported width in clone mode as
> 2048 instead of 1680?

That would be cosmetic and not such an issue. The real problem is that the width really *is* 2048. That is, I can move the mouse to the right outside of the region that is displayed by a screen, I can move windows there, etc.

> I've been testing with a 1680x1050 monitor, which looks I
> can't see the problem. Would you try current xrandr git or 1.2.3 release?

I'll see what I can do. I can offer testing Ubuntu Intrepid in the near future. I don't know what version it has, though.

> and you seems missing the xorg log in dual monitor case.

Ah, that was a c&p error by Bryce. The log is here:
http://launchpadlibrarian.net/13895141/Xorg.0.log.dual
Comment 4 Michael Fu 2008-11-25 00:49:11 UTC
would you please try the latest ubuntu to see if it's resolved? Anyway, it's not our bug... reassign...
Comment 5 Adam Jackson 2010-05-10 11:26:33 UTC
Fixed in KMS.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.