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 758781 - eglcontext: Source get dispatch without delay
eglcontext: Source get dispatch without delay
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-28 16:50 UTC by Nicolas Dufresne (ndufresne)
Modified: 2016-09-22 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2015-11-28 16:50:05 UTC
Running on Wayland (tried with Weston and Gnome Wayland):

GST_WINDOW=wayland gst-launch-1.0 videotestsrc ! glimagesink

There is a high CPU usage. Looking at the code wayland_event_source_dispatch() is triggered every 20 microseconds or so. That cause the high CPU usage.
Comment 1 Matthew Waters (ystreet00) 2016-09-22 07:42:23 UTC
I cannot reproduce this at all these days.

The wayland source _dispatch() function only seems to be run very sporadically on configure/pointer/keyboard events.  Not anywhere near the every 20 microsecond range.
Comment 2 Nicolas Dufresne (ndufresne) 2016-09-22 12:55:24 UTC
I confirm this issue is gone.