mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #949] Very high CPU in idle with Rodio in Docker #465
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#465
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @agramner on GitHub (Jan 26, 2022).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/949
I've built and run librespot (v0.3.1) on a linux machine (amd64) in docker. After a couple of minutes in idle top is showing 100% (1 core) for librespot. Ran it with -v flag but nothing is written to the log. I rebuilt librespot from tag v0.2.0 but same problem. Finally rebuilt librespot with [--no-default-features --features="alsa-backend"] and configured it to use alsa as backend. After this the problem disappeared and everything works fine.
@roderickvd commented on GitHub (Jan 26, 2022):
That seems like a bug in Rodio then, perhaps in combination with Docker. Please report it upstream: https://github.com/RustAudio/rodio
@agramner commented on GitHub (Jan 26, 2022):
Ok, that was my guess as well. Will report it, thanks!
@roderickvd commented on GitHub (Jan 26, 2022):
If you want you can try
827b815onnew-apibut if that doesn't work, not much more we can do.@agramner commented on GitHub (Jan 28, 2022):
Ok I understand, maybe I'll try that if I have some time over but I'll probably stick with using alsa backend for less layers of abstraction