Bug 23851

Summary: Strange window positioning and root window size with multihead and KMS
Product: xorg Reporter: Bob Ham <rah>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Photo of monitors
none
Screenshot of incorrect root window
none
Xorg log
none
Xorg configuration file
none
Output of xrandr --verbose
none
Output of dmesg none

Description Bob Ham 2009-09-10 13:51:36 UTC
Created attachment 29392 [details]
Photo of monitors

As shown by comparison of the attached photos, there are problems with the positioning of windows and with various program's concept of the root window.

Firstly, the window manager (metacity) maximises windows to the full width of the larger monitor, but not the full height.  The height is that of the smaller monitor.  The window manager also allows for the presence of a GNOME panel at the bottom of the screen.  The panel, however, is correctly placed, below where the window manager thinks it is.

Secondly, the root window is misunderstood by both GNOME's desktop background settings and the import command from imagemagick.  Both programs believe that the desktop is the size of the two of the smaller monitors, rather than the smaller monitor plus the larger one.  The import command only imports part of the larger display.  The GNOME desktop background start to tile on the larger monitor as if it were the size of the smaller monitor (which is odd as well because you wouldn't expect it to bother tiling the background image.)

This an r7xx using KMS DRM from drm-next and git master for everything else.
Comment 1 Bob Ham 2009-09-10 13:52:25 UTC
Created attachment 29393 [details]
Screenshot of incorrect root window
Comment 2 Bob Ham 2009-09-10 14:51:01 UTC
Created attachment 29395 [details]
Xorg log
Comment 3 Bob Ham 2009-09-10 14:51:26 UTC
Created attachment 29396 [details]
Xorg configuration file
Comment 4 Michel Dänzer 2009-09-13 04:03:00 UTC
Please attach the output of xrandr --verbose when the problem occurs.

dmesg output might also be interesting.
Comment 5 Bob Ham 2009-09-15 03:37:11 UTC
Created attachment 29560 [details]
Output of xrandr --verbose
Comment 6 Bob Ham 2009-09-15 03:37:36 UTC
Created attachment 29561 [details]
Output of dmesg
Comment 7 Bob Ham 2009-10-09 15:54:30 UTC
Seems to be an issue with gnome-settings-daemon's xrandr plugin as these problems go away when manually setting up displays using the command-line xrandr program.

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.