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 774882 - Display not refreshing properly on nvidia 680M
Display not refreshing properly on nvidia 680M
Status: RESOLVED DUPLICATE of bug 771815
Product: mutter
Classification: Core
Component: general
3.22.x
Other Linux
: Normal major
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2016-11-22 21:55 UTC by Julian Sikorski
Modified: 2016-11-23 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julian Sikorski 2016-11-22 21:55:52 UTC
Description of problem:
Since I upgraded to Fedora 25 the gnome has become unusable. It appears there are serious problems with refreshing the display, with previous frames being displayed interchangeably with current ones. This happens with both wayland and x.

Version-Release number of selected component (if applicable):
gnome-desktop3-3.22.1-1.fc25.x86_64
xorg-x11-server-Xorg-1.19.0-0.8.rc2.fc25.x86_64
libwayland-server-1.12.0-1.fc25.x86_64
libwayland-server-1.12.0-1.fc25.i686
mutter-3.22.1-8.fc25.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install Fedora 25 x86_64 on a Clevo P150HM with nvidia 680M GPU
2. Start gnome session

Actual results:
screen flickers and old frames are shown interchangeably with new ones

Expected results:
desktop is shown without issues

Additional info:
I have made some videos to show the problem:
https://www.youtube.com/watch?v=5kbExMvORss
https://www.youtube.com/watch?v=L0xtR4-tLQc

In the first video, observe how current and previous frames swap with each press of the keyboard.
I started LXDE and the problem is gone, so it looks like the problem is somewhere in the gnome stack.
Comment 1 Julian Sikorski 2016-11-22 21:56:27 UTC
GDM is affected as well. This happens on both nouveau and nvidia drivers.
Comment 2 Jonas Ådahl 2016-11-23 02:00:26 UTC
Do you have any system wide clutter configuration? Such as in /etc/clutter-1.0/.
Comment 3 Julian Sikorski 2016-11-23 06:36:01 UTC
It does not look like any system-wide configuration exists:
$ ls /etc | grep clutter
clutter-imcontext
Comment 4 Chris Le Sueur 2016-11-23 11:43:04 UTC
I also have this issue on different hardware (Intel integrated graphics.) No funny clutter configuration.
Comment 5 Chris Le Sueur 2016-11-23 18:45:09 UTC
Ah, I did not look hard enough for clutter configuration - the discussion here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837786 pointed out that a common workaround for screen tearing problems and similar things is to put:

CLUTTER_PAINT=disable-clipped-redraws:disable-culling

in /etc/environment. Commenting out this line fixed it. I had actually tried it out in 3.20 to fix the black bars I get when resizing XWayland windows.

That makes this bug 771815 for me.
Comment 6 Julian Sikorski 2016-11-23 19:15:21 UTC
Chris, thank you for finding this! indeed, I also had the CLUTTER_PAINT=disable-clipped-redraws:disable-culling line in /etc/environment which I don't remember why I put it there. Marking as duplicate.

*** This bug has been marked as a duplicate of bug 771815 ***