Bug 1314208 - GTK3 Popover menu cause screen flicking on Wayland with intel
Summary: GTK3 Popover menu cause screen flicking on Wayland with intel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: WaylandRelated
TreeView+ depends on / blocked
 
Reported: 2016-03-03 08:51 UTC by Tommy He
Modified: 2016-03-15 04:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-15 04:16:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tommy He 2016-03-03 08:51:21 UTC
Description of problem:

Screen flicking observed if invoking GTK3 Popover menu on Intel Graphics if Wayland is chosen as display server.

Version-Release number of selected component (if applicable):

xorg-x11-drv-intel-2.99.917-19.20151206.fc23.x86_64
mutter-3.18.2-1.fc23.x86_64
gedit-3.18.3-1.fc23.x86_64
mesa-libwayland-egl-11.1.0-2.20151218.fc23.x86_64
kernel-4.4.3-300.fc23.x86_64
libdrm-2.4.66-1.fc23.x86_64

Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz


How reproducible:
100%

Steps to Reproduce:
1. Select "GNOME on Wayland" in GDM login
2. Launch gedit with GDK_BACKEND=wayland gedit
3. Invoke hamburger menu
4. Click anywhere else to dismiss the menu
5. Close gedit
6. Observe

Actual results:

Screen starts flicking from bottom part.

Expected results:

No screen flicking.

Additional info:

See my video recording of this issue on https://www.youtube.com/watch?v=1NGT5GJVhI0.

This issue doesn't happen if launched with GDK_BACKEND=x11 in a "GNOME on Wayland" session.

And this issue cannot be reproduced on a handful of devices using radeon driver.

Also, the screen flicking can go away by launching a full screen application like playing a video in full screen mode in VLC.

Comment 1 Tommy He 2016-03-03 08:54:41 UTC
Note this issue does not only happens on Gedit but any other apps which utilizing GTK3 Popover menu.

Comment 2 Olivier Fourdan 2016-03-03 09:47:12 UTC
Unlikely the X11 ddx being the problem in Wayland, either a gtk bug or a clutter/mutter issue (more likely because it occurs after gedit is closed)

Comment 3 Tommy He 2016-03-04 04:53:51 UTC
(In reply to Olivier Fourdan from comment #2)
> Unlikely the X11 ddx being the problem in Wayland, either a gtk bug or a
> clutter/mutter issue (more likely because it occurs after gedit is closed)

Thanks for pointing it out.

Do you think I need to file a separate bug in GNOME Bugzilla? Or the one here is sufficient?

Comment 4 Christian Stadelmann 2016-03-04 08:50:04 UTC
Are you sure this is an issue in Gtk/X11/Wayland? I'm just asking because the 4.4.x kernels before 4.4.4 which is due to be build probably today have a regression on intel GPUs that leads to flicker. See bug #1313318 for details.

Comment 5 Tommy He 2016-03-07 00:59:39 UTC
Well, like I said, the problem does not happen if specifying GDK_BACKEND=x11.

Anyway, I'm pulling kernel 4.4.4 from updates-testing to give another try.

Comment 6 Tommy He 2016-03-15 04:16:23 UTC
This issue is no longer present after following two updates:

mutter-3.18.3-1.fc23.x86_64
kernel-4.4.4-301.fc23.x86_64

Whatever fixes in mutter or kernel issue, it's gone now.


Note You need to log in before you can comment on or make changes to this bug.