>=334.21 Redrawing problems in Gnome 3.10/3.12 - GTX 580

Quick tip for all the people who have to live with this bug daily:

Try to append to /etc/profile:

export CLUTTER_PAINT=continuous-redraw

On laptops this might lead to higher power consumption, but it’s probably better than starting nvidia-settings every day and to set the driver to “Prefer Maximum Performance”. Even on the desktop my card gets to ~ 45 C° which probably burns even more power when it never clocks down to 50 Mhz.

On my system this works as a workaround for this bug and the fan keeps quiet.

What drivers version do you use?

352.09

OK, same as me… it’s really strange that this workaround keeps crashing GNOME on my system and not on yours.

Do you get any coredumps in coredumpctl that you could investigate? I’m running it like this for 1-2 days now and it works just fine using Gnome 3.16.

In fact it does not coredump, it freezes gradually, just like rtcm’s patch.

To the nvidia devs, don’t do this with this issue!!

External Media

I just left the PC running for a while and when I woke it back up the clock on the lock screen was slightly glitched, but it wasn’t as bad as with the patch that was talked about on the GNOME bug tracker, where I had to reboot the PC. So the CLUTTER_PAINT=continous-redraw workaround has some side effects.

Just an update up for anyone affected by this bug:

  • There was a patch for mutter to fix this issue which it did, but it caused some systems to hang after a while
  • The latest NVIDIA driver has some fixes to get rid of this hanging issue when the patch is applied, but it isn't the 100% fix, yet.
  • The driver with the remaining changes to fix the hanging issues will be "out soon" at that point Gnome will merge the patch so that it makes it into Gnome 3.18. At that point distros could also backport the patch into their mutter 3.16 package.
  • In summary both Gnome and the driver need an update to finally resolve this.

Source:
https://bugzilla.gnome.org/show_bug.cgi?id=728464#c90

Thank you for the update, blackout24. Great news. I’ve been using the mutter patch ever since, since I prefer having my desktop freeze for 5-20 seconds (it never freezes completely) over being completely sluggish and unusable 100% of the time. I noticed there already was some improvement with the previous driver releases but now there’s proof that we’ll get rid of this bug in the next couple of months.

generix, since you seem to be well-versed in installing patched versions of mutter, can you please try this commit to see if it fixes the freezing problems for you too? compositor: Fix GL_EXT_x11_sync_object race condition (9df6cda3) · Commits · GNOME / mutter · GitLab

I’ll give it a shot. Will take some time though to get enough data, doesn’t freeze that often since 352.21. (Now on 352.30)

I have been running mutter 3.16.3 with this:

https://bug728464.bugzilla-attachments.gnome.org/attachment.cgi?id=298718
and this:

patch applied for 24h now. I also removed export CLUTTER_PAINT=continuous-redraw from /etc/profile which I used as workaround. With the 355.06 driver I haven’t had any hangs which often occurred when waking the pc back up and unlocking the lockscreen.
Will this patch also fix the hangs with the 352.30 driver?

Three days without a single freeze, looks like it’s fixed, thank you.

740M Optimus, Kernel 3.14.49, Driver 352.30, Mutter 3.14.4+Patches

Could someone tell me how to apply the patch to mutter (using Ubuntu 15.04, GNOME 3.14.4).
Where Do I get the source code from mutter? how can I compile and replace the libs without messing up my installation?

Thnx

Ok. Solved it no more glitching! For ppl interested:

(works for Ubuntu 15.04, Gnome 3.14)

#git clone GitHub - GNOME/mutter: Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
#cd mutter
#git checkout gnome-3-14
#./auotgen
#./configure --prefix=/usr
#sudo make install

reboot.
done!

Hi Users, Please test with mutter version 3.17.90 or higher and report whether you are still seeing issues? We believe packages for this version of mutter are available for Fedora Core 23 now. Other bleeding-edge distros may have picked them up as well.

Hi, i’m using 64bit F22 on a HPZ1 workstation with nvidia quadro 3000M.

After updating the latest mutter fix from updates-testing repo both 355.xx and 352.xx drivers just work perfect!!!
All glitches are simply gone (xterm, xlib based programs and most annoying gedit).
Thanks a lot for this!

Hanno

Great! Closing this thread as issue is fixed with latest Mutter.