Public bug reported: In xserver 1.14.3-3ubuntu2, we've observed that on multimonitor systems, we are passed garbage when grabbing the pixels that are not on any monitor.
This does not appear to be a bug in our application - it can be easily reproduced by taking a screenshot of the whole screen using GIMP on Ubuntu 13.10 beta. The issue is not present in 1.13.3 as shipped in Ubuntu 13.04. What we are doing: get the geometry of the root window (XGetGeometry), create a pixbuf of the same size (XShmCreateImage/XShmAttach). Then we try and grab the whole thing using XShmGetImage. On multimonitor systems, the off-monitor portions are filling in the pixbuf with garbage (or garbled portions of other sections of the screen). That is, the monitors themselves are captured fine, but if the second monitor is smaller than the first, we used to get a black box in the dead space, where now we're getting garbage. I'm trying to track down the source of the regression - a random stab in the dark might be f21cc327a56e3b453cf0dba04457223d61c27ea6? Alternatively, it may not be a bug in upstream at all - I haven't yet looked into the huge patchset Ubuntu's currently maintaining. Ubuntu's "-3ubuntu2 patchset is far larger than the git diff between 1.13.3 and 1.14.3! ** Affects: xorg-server (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1240623 Title: XShmGetImage returns junk/garbage in between monitors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1240623/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp