Bug#781757: Please apply upstream workaround for nvidia-driver background garbage on resume

Jason Rhinelander jagerman at jagerman.com
Thu Apr 2 15:39:06 UTC 2015


Package: gnome-shell
Version: 3.14.2-3+b1
Severity: normal
Tags: upstream

Dear Maintainer,

The proprietary NVIDIA driver has a bug where it doesn't preserve OpenGL 
frame buffer objects (FBOs) across power events (most noticeably across 
a suspend/resume cycle).  This is reported in Debian as bug 
https://bugs.debian.org/761360 (and a couple others that got merged into 
that), and upstream as https://bugzilla.gnome.org/739178.  GNOME started 
storing the backgrounds for the desktop and lock screen in FBOs in 3.14, 
which is why the issue didn't show up before 3.14.

This is NVIDIA's problem, of course, and NVIDIA has admitted as much, 
but the word from NVIDIA is just that this will be fixed at some 
indeterminate point "in the future."

In the meantime, upstream has applied a patch included in the 3.14.4 
releases of gnome-shell and mutter, and will also include this fix in 
the 3.16.1 release.  The patch adds an ability to mutter to redraw all 
FBO background instances, and invokes this from gnome-shell during resume.

The upstream patches (reattached here) apply to the gnome-shell and 
mutter versions currently in sid/testing.  I've rebuilt the packages 
locally (on amd64/unstable) with the patches applied, and can confirm 
that this does work around the problem with the proprietary NVIDIA driver.

It would be nice for proprietary NVIDIA jessie users if we could get 
these patches applied to jessie as well, perhaps for the first jessie 
point update, either with a package update to 3.14.4, or by applying 
these patches to the current 3.14.2 version: this is going to be an 
issue that affects a lot of jessie users, and it doesn't sound as though 
NVIDIA is particularly concerned about fixing it in the immediate future.

The upstream patches are attached here for convenience: 
background-instance-refresh.patch is the mutter side of the fix, 
refresh-bg-after-suspend.patch is the gnome-shell side of the fix.

Thanks,

Jason Rhinelander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: background-instance-refresh.patch
Type: text/x-patch
Size: 2152 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150402/4c01a132/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refresh-bg-after-suspend.patch
Type: text/x-patch
Size: 3523 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150402/4c01a132/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list