Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU Usage #2

Open
stuaxo opened this issue Sep 15, 2016 · 2 comments
Open

High CPU Usage #2

stuaxo opened this issue Sep 15, 2016 · 2 comments

Comments

@stuaxo
Copy link

stuaxo commented Sep 15, 2016

Weirdly there seems to be really high CPU usage when I try this on a Pi.

(Weirdly - since manually running a gstreamer pipeline has very low CPU usage)

These pipelines both have about 3% cpu

$ gst-launch-1.0 playbin uri="file://$PWD/1.mp4"

$ gst-launch-1.0 filesrc location=1.mp4 ! decodebin ! glimagesink

Running pi-wall in slave mode gets 103% on one CPU core and 99% on another.

I took out the audio_sink code from player.py and still have the same result.

@vigsterkr
Copy link
Owner

@stuaxo thnx for the report! can you give me some details on the OS you use (version) and the version of pi you use?

@vigsterkr
Copy link
Owner

@stuaxo ok i've just tested and i can see the 98% vs 20-25% cpu time (running in slave mode, or running only manually)... i'll debug it and get back to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants