Bug 101814 - es2gears_wayland only achieves 40 FPS (in Weston and Gnome Shell)
Summary: es2gears_wayland only achieves 40 FPS (in Weston and Gnome Shell)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Demos (show other bugs)
Version: 17.1
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-17 06:16 UTC by Daniel van Vugt
Modified: 2018-03-07 03:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.