Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 670
    • Issues 670
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 354
    • Merge requests 354
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Issues
  • #673

Closed
Open
Created Mar 22, 2021 by Sebastian Keller@skeller

High CPU usage in 1.18 (but not master) when pausing playback in gnome-music

I noticed that there is constant high CPU usage in gnome-music whenever playback is paused. I tried to analyze this with sysprof and basically the entire time is spent in futex syscalls from gst_system_clock_async_thread. This issue can not be reproduced using gst-play-1.0 --use-playbin3, so it probably depends on something that gnome-music is doing.

This issue seems to only affect the 1.18 branch, and can not be reproduced with the current master branch of gstreamer (+plugins-base +plugins-good). I can't find any obvious change in master that claims to fix such an issue though.

I tried to bisect the 1.18 branch and the issue started happening with b39a0606.

The relevant gnome-music code can be found here: https://gitlab.gnome.org/GNOME/gnome-music/-/blob/master/gnomemusic/gstplayer.py

Edited Apr 12, 2021 by Tim-Philipp Müller
Assignee
Assign to
Time tracking