Bug 1401313 - Minimal love2d example with multiple canvases misbehaves and flickers with Gnome3/Wayland/Intel(Skylake), works fine with X11
Summary: Minimal love2d example with multiple canvases misbehaves and flickers with Gn...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: wayland
Version: 25
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-04 16:16 UTC by ell1e
Modified: 2017-12-12 10:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:55:43 UTC
Type: Bug


Attachments (Terms of Use)
Source code for minimal love2d test "game" to reproduce the issue (1.50 KB, text/plain)
2016-12-04 16:16 UTC, ell1e
no flags Details

Description ell1e 2016-12-04 16:16:47 UTC
Created attachment 1227939 [details]
Source code for minimal love2d test "game" to reproduce the issue

Description of problem:
Minimal love2d example with multiple canvases misbehaves and flickers with Gnome3/Wayland/Intel(Skylake). The same example works perfectly fine with X11.
I attached the source code for testing.

I would just like to say this is not a purely cosmetic lab-crafted issue, I made this example code after having huge flickering issues with an actual game project of mine. which currently would suffer from those problems in the default configuration as Fedora 25 now ships with, unless this issue is fixed. 

Also I don't know of any good workaround except tell users to run an X11 session, which is a somewhat sub-optimal situation especially for games who may also target a less technically inclined audience.

Version-Release number of selected component (if applicable):
GNOME Shell 3.22.2
mutter 3.22.2
love2d 0.10.2
Mesa 12.0.3

How reproducible:
100% (may take a minute of waiting and causing some additional system load, see below)

Steps to Reproduce:
1. Download attached source code and place into file named "main.lua" in new empty directory
2. Install love2d (dnf install love)
3. Change into directory with main.lua
4. Type this to launch program: love .

Actual results:
When running a GNOME Wayland session (Fedora 25 default), the window flickers to black (every 5-30 seconds). The problem appears more often under system load and  when a video is playing in a web browser at the same time. In a GNOME X11 session, it displays a perfect white window all the time.

Expected results:
Window is white under all conditions, including when running with wayland.

Additional info:

Comment 1 Fedora End Of Life 2017-11-16 19:50:26 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:55:43 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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