After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647355 - Wallpaper shows corrupted graphics buffer after changing VTs with nvidia driver
Wallpaper shows corrupted graphics buffer after changing VTs with nvidia driver
Status: RESOLVED NOTGNOME
Product: gnome-shell
Classification: Core
Component: drivers
3.0.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 651025 651492 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-10 13:00 UTC by Lubosz Sarnecki
Modified: 2011-06-14 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Desktop with wallpaper before suspending (201.10 KB, image/jpeg)
2011-04-10 13:00 UTC, Lubosz Sarnecki
Details
Corrupted wallpaper after wake (81.06 KB, image/jpeg)
2011-04-10 13:00 UTC, Lubosz Sarnecki
Details
Screenshot of corrupted desktop with open windows (518.04 KB, image/png)
2011-06-13 20:04 UTC, Kelly Sinnott
Details
Screenshot of activities menu with corrupted desktop (660.75 KB, image/png)
2011-06-13 20:05 UTC, Kelly Sinnott
Details

Description Lubosz Sarnecki 2011-04-10 13:00:19 UTC
Created attachment 185634 [details]
Desktop with wallpaper before suspending

After suspending and waking the wallpaper disappears and shows different elements that are stored in the graphics buffer. For example a pidgin icon, like in my screen shot. Restarting the shell fixes it, since it reloads the wallpaper.

My graphics driver is nvidia proprietary 270.30. Kernel 2.6.38, Archlinux testing. GNOME Shell 3.0.0.2.
Comment 1 Lubosz Sarnecki 2011-04-10 13:00:46 UTC
Created attachment 185635 [details]
Corrupted wallpaper after wake
Comment 2 Rui Matos 2011-04-10 17:06:34 UTC
Just to make sure it's driver related, can you try with the nouveau driver?
Comment 3 lancaster.rob 2011-05-10 21:56:53 UTC
(In reply to comment #2)
> Just to make sure it's driver related, can you try with the nouveau driver?

I can confirm that when I suspend my laptop to RAM using the proprietary nVidia drivers I see this same behavior.  However, I also noticed on a few occasions my machine became completely unresponsive.  By this I mean I couldn't even bring up my virtual terminals and I had to hard restart my machine.  

Switching to the Nouveau drivers did fix this problem.  However, I lose an hour of battery life with the Nouveau drivers since they have no power management so I will not be able to reliably use Gnome 3 until it works well with the proprietary drivers.

Card is a GeForce 8600M GT (G84)
nVidia driver version is: 270.41
Kernel version is: 2.6.38
Comment 4 Rui Matos 2011-05-10 22:03:19 UTC
(In reply to comment #3)
> Switching to the Nouveau drivers did fix this problem.

It seems this isn't a gnome-shell bug then. If you have evidence otherwise feel free to re-open this bug.
Comment 5 lancaster.rob 2011-05-10 22:11:34 UTC
I'm not a graphics guy so I will most likely respect your opinion. I would be inclined to believe that this is a gnome-shell bug in the way that it is making calls to the graphics subsystem.  Since this behavior is not seen with other window managers.  They either a) have a work around or b) do it properly.  I don't really think switching to the nouveau drivers can be considered a bug fix.  Thank you for looking in to this.
Comment 6 Rui Matos 2011-05-30 19:41:54 UTC
It seems several people are filing this so I'm re-opening to see if there's a workaround that could be done on the gnome-shell side.
Comment 7 Rui Matos 2011-05-30 19:42:06 UTC
*** Bug 651025 has been marked as a duplicate of this bug. ***
Comment 8 Rui Matos 2011-05-30 19:42:13 UTC
*** Bug 651492 has been marked as a duplicate of this bug. ***
Comment 9 Artur 2011-05-31 13:37:26 UTC
Every window of open applications corrupts, not just the wallpaper. They can be moved, but show a garbage as their content. Please see http://www.2shared.com/video/sFOa24Cn/gnome_shell_garbage.html

Corruption occurs also this way:
1) login to Gnome session, run some apps,
2) block session,
3) switch to VT1,
4) switch to VT7,
5) issue user password,
6) display corrupted.
Above gargage has been recorded after switching from VT1, not after resume. Gnome shell restart restored normal display.

If I restart gnome shell immediately after first logon, then this problem occurs less often.
Comment 10 lancaster.rob 2011-06-01 18:37:57 UTC
(In reply to comment #9)

I can confirm that I see this same behavior after going through the steps mentioned by Artur.
Comment 11 Kelly Sinnott 2011-06-13 20:03:55 UTC
Driver: nvidia 270.41.19-1.1 (proprietary)
OS: ArchLinux 2.6.38-ARCH

uname -a:

Linux blackmesa 2.6.38-ARCH #1 SMP PREEMPT Mon Jun 6 22:49:29 CEST 2011 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux

My experience is slightly different with the same results. Steps:

1) login
2) open a full-screen java application (Minecraft) among other apps
3) toggle from full-screen to windowed several times
4) exit from Minecraft
5) desktop is corrupted.

I don't suspend my computer at all, and did not switch terminals during this time. I have attached several screenshots, both with normal windows open and with the activities window open.
Comment 12 Kelly Sinnott 2011-06-13 20:04:44 UTC
Created attachment 189846 [details]
Screenshot of corrupted desktop with open windows
Comment 13 Kelly Sinnott 2011-06-13 20:05:41 UTC
Created attachment 189847 [details]
Screenshot of activities menu with corrupted desktop
Comment 14 Rui Matos 2011-06-13 20:40:22 UTC
nvidia seems to be working on this: http://www.nvnews.net/vbulletin/showthread.php?p=2443797#post2443797
Comment 15 Rui Matos 2011-06-14 19:27:17 UTC
nvidia driver fix: http://www.nvnews.net/vbulletin/showthread.php?p=2445094#post2445094