mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[GH-ISSUE #523] High CPU usage (~300%) caused by PulseAudio/GStreamer audio threads after stream/lobby reconnect #318
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#318
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 @ddfddf23 on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/523
Description
Wolf sometimes starts consuming ~250-300% CPU after a Moonlight streaming session has been stopped/reconnected or after leaving/rejoining a lobby.
The stream itself continues to work and audio is still present, but the Wolf process keeps several audio-related threads busy at ~100% CPU each.
Restarting the Wolf container resets CPU usage back to normal.
This does not appear to be caused by the client microphone or Discord. I was able to reproduce the high CPU usage without Discord running and without any microphone software active on the Moonlight client.
Expected behavior
Wolf should return to normal CPU usage after a stream/lobby teardown or reconnect.
Typical CPU usage before the issue occurs is around ~20%.
Actual behavior
After the issue is triggered:
docker stats wolfreports approximately 250-300% CPUpulseaudiodaemon itself remains around ~1% CPU/wolf/wolfis the process consuming the CPUtop -Hshows audio-related Wolf/GStreamer threads using almost a full CPU eachExample:
The following warning is also repeatedly produced:
Suppressing GStreamer warnings does not reduce the CPU usage, so the CPU usage appears to come from the audio pipeline itself rather than log output.
Possible trigger
From the logs it appears to happen around stream/lobby teardown and reconnect.
Example sequence:
After this, Wolf may remain at ~250-300% CPU.
I have not yet confirmed the exact minimal sequence required to reproduce it every time.
System information
Host OS: CachyOS / Arch Linux
CPU: AMD Ryzen 7 5700X3D
GPU: NVIDIA GeForce RTX 5070
NVIDIA driver: 615.71.09
GStreamer: 1.26.7
Wolf: ghcr.io/games-on-whales/wolf:stable
NVIDIA setup: manual NVIDIA driver volume
Video pipeline: NVIDIA zero-copy
Encoder: NVENC
Docker Image: Image=ghcr.io/games-on-whales/wolf:stable ImageID=sha256:b0ef253739f9bd49b71eba7e150c955fd05990c0d409e666d89236995351551a
Screenshots