GNOME Bugzilla – Bug 690518
screenshots of a window are corrupted
Last modified: 2021-07-05 14:41:41 UTC
Created attachment 231924 [details] corrupted screenshot When the system is running for a while, then from some point on the Alt+Print Screen screenshots are corrupted. It happens when pressing Alt+Print Screen or when issuing the command gone-screenshot -w from the command line. The screenshots of both the whole screen and a selected area are still fine. Attached you will find an example of such a corrupted screenshot.
Please provide ahrdware and graphics driver information.
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 Driver; NVIDIA 304.64 Please let me know if you need specific command output.
Created attachment 234406 [details] Window screenshot with corruption
I've got issues with taking a screenshot of a window (ALT+PRINTSCREEEN) as well. Bug #692520 is another ticket with the same. The difference is the type of corruption. Large parts of the window end up being transparent in my case. Attached you'll find a screenshot of Nautilus e.g. Taking a partial screenshot with SHIFT+PRINTSCREEN and selecting an area does work as expected. Details: - Ubuntu 12.10 (x64) with GNOME 3.6 - AMD Radeon HD 6950 with Catalyst 13.1 drivers Let me know if you need any more info.
*** Bug 692520 has been marked as a duplicate of this bug. ***
André Klapper, I don't understand why you changed the status to UNCONFIRMED? Including me, three people are affected by this bug, shouldn't the status be changed to CONFIRMED instead? I'm using Fedora 18 with an AMD Radeon HD7850 and Catalyst 12.11, by the way.
It was NEEDINFO before; It's not clear whether this is a bug in GNOME code.
It might of course be driver related. But it is also striking that this problem only occurs when using alt+PrtScr and not in the other cases. For both nvidia and ati. I think this indicates that Gnome has some special trick for the alt+PrtScr handling instead of the others resulting in this behavior.
I just tested with Fedora 18 on my laptop which has Intel graphics, but can't reproduce this bug.
I have the same problem as the original reporter. The video card is also nvidia, the bug is reproducible with any driver from 3xx series. The same problem is also discussed here http://www.nvnews.net/vbulletin/showthread.php?p=2570902
I use gentoo ~amd64 and gnome 3.6
Confirming on Mageia 3 (Cauldron), NVIDIA 310.40, gnome-screenshot 3.6.1, gnome-shell 3.6.2, X11 server 1.13.1.901. I simply get a black rectangle instead of screenshot (with correct dimensions though). Whole-screen and area screenshots work correctly.
Have this problem too. Fedora 18 (64 bit), NVIDIA GeForce GTX 570 with "nvidia" driver 304.64, gnome-screenshot 3.6.1
Created attachment 239760 [details] Alt+print window screenshot
*** Bug 694992 has been marked as a duplicate of this bug. ***
Also with this problem - Arch with gnome 3.8 and catalyst drivers, but with xorg 1.13
Same here, Fedora 18 x86_64, Nvidia proprietary driver 319.17. Very annoying having to take a screenshot of the whole screen and use GIMP to crop to a specific window, every time.
BTW if anyone wants a temporary fix, [Shift] + [PrtScrn] will allow you to select a custom area to take a screenshot of :)
Screenshots are taken by the Shell since 3.6. This is probably either a bug in cogl or in the drivers. Reassigning to gnome-shell for further triaging.
(In reply to comment #18) > BTW if anyone wants a temporary fix, [Shift] + [PrtScrn] will allow you to > select a custom area to take a screenshot of :) THANK YOU =) it's *much* better than having to use gimp after every screenshot. It's weird that both this and full screen screenshots work, and only window screenshots fail. I'm glad Cosimo reassigned this bug for further triaging.
Just a quick note: bug still exists on GNOME 3.8 (tested on Fedora 19).
Apparently, this was specific to the Nvidia driver, and has been fixed by 319.49: "Fixed a bug that resulted in corrupt texels when a previously empty texture image was specified with glXBindTexImageEXT. In GNOME 3, this caused gnome-screenshot to produce garbled window screenshots." http://www.nvidia.com/object/linux-display-amd64-319.49-driver.html Haven't tested it myself because RPMFusion didn't catch it yet for F19, but it looks promising ;-)
Do note that systems with ATI Catalyst drivers are also experiencing this issue. If the fix mentioned above fixes it for NVIDIA drivers, it might as well be an ATI driver issue.
At least one driver has been fixed, so has this been seen recently?
Created attachment 299787 [details] sample screenshot march 19 2105 Updated my system and took a screenshot with Alt+PrintScreen, problem persists.
On Fedora 21 with NVIDIA driver version 346.47 the bug no longer occurs.
I'm still experiencing the issue on Ubuntu GNOME 14.10 with GNOME 3.14 and ATI Catalyst 14.12.
Created attachment 366112 [details] Screenshot corruption under Gnome 3.22.2 Half of a screenshot is always corrupted
(In reply to merhalak from comment #28) > Created attachment 366112 [details] > Screenshot corruption under Gnome 3.22.2 > > Half of a screenshot is always corrupted add information: Debian 9. Intel HD Graphics (Core i7-4770). Gnome 3.22.2. Extensions enabled: Topicons Plus & Alternatetab. The right half of screenshot (Alt+PrintScreen) is cropped always (white space).
(In reply to merhalak from comment #29) > (In reply to merhalak from comment #28) > > Created attachment 366112 [details] > > Screenshot corruption under Gnome 3.22.2 > > > > Half of a screenshot is always corrupted > > add information: > > Debian 9. > Intel HD Graphics (Core i7-4770). > Gnome 3.22.2. > > Extensions enabled: Topicons Plus & Alternatetab. > > The right half of screenshot (Alt+PrintScreen) is cropped always (white > space). Can't reproduce after: apt-get update && apt-get upgrade && poweroff
Created attachment 366210 [details] Can't reproduce after reboot Add attachment to "can't reproduce". It's strange, but the bug disappeared.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.