Bug 101814

Summary: es2gears_wayland only achieves 40 FPS (in Weston and Gnome Shell)
Product: Mesa Reporter: Daniel van Vugt <daniel.van.vugt>
Component: DemosAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: daniel
Version: 17.1   
Hardware: x86-64 (AMD64)   
OS: All   
See Also: https://launchpad.net/bugs/1702653
Whiteboard:
i915 platform: i915 features:

Description Daniel van Vugt 2017-07-17 06:16:59 UTC
es2gears_wayland only achieves 40 FPS (in Weston and Gnome Shell). Or to be more precise: 39.968 FPS.

Meanwhile, es2gears/es2gears_xll achieves a smooth 60 FPS (under Xwayland which comes with Gnome Shell).

mesa-utils-extra: 8.3.0-5
mesa: 17.1.2-2ubuntu2
kernel: 4.11.0-10-generic
weston: 1.12.0-3
Comment 1 Daniel Stone 2017-07-17 11:02:20 UTC
Oh wow, eglut_wayland really was super broken. Fix on the list:
https://patchwork.freedesktop.org/patch/167336/

Thanks for the report!
Comment 2 Daniel Stone 2017-07-17 11:03:19 UTC
FWIW, weston/clients/simple-egl.c (and simple-shm.c for software rendering) is a _much_ better reference client than the Mesa ones; eglut really is a pretty terrible interface.
Comment 3 Daniel Stone 2017-07-25 10:02:24 UTC
Fix pushed to master now.
Comment 4 Daniel van Vugt 2018-01-24 03:29:00 UTC
Thanks. It looks like mesa-demos hasn't had a release for 2 years...

https://cgit.freedesktop.org/mesa/demos/

So this fix still isn't released either. Any idea of when a release might happen?
Comment 5 Daniel van Vugt 2018-03-07 03:46:09 UTC
Fix released in mesa-demos 8.4.0

Although this is a bit curious:
https://gitlab.gnome.org/GNOME/mutter/issues/55

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.