Emulator Issues #7729
closedALSA audio backend makes Dolphin consume 100% CPU while paused
0%
Description
What's the problem? Describe what went wrong in few words.
-> If you're using the ALSA audio backend, you'll find that while emulation is paused Dolphin will chew on 100% of a CPU core for no fucking reason.
What did you expect to happen instead?
-> I EXPECTED A REAL DOLPHIN TO FLY OUT OF MY SCREEN AND BEAT THE SHIT OUT OF ME WITH ITS GIRTHY GODDAMN TAIL
What steps will reproduce the problem?
- Compile Dolphin with ALSA support and set audio backend to ALSA.
- Start a game.
- Pause emulation.
- Look at your CPU usage monitor.
Which versions of Dolphin did you test on?
-> 3.5-1xxx-era versions, 4.0-3518
Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
-> AFAIK, this issue's been present since ALSA support was implemented.
What are your PC specifications? (including, but not limited to: operating system, CPU and GPU)
-> Arch Linux x64, kernel 3.16.3-1, alsa-lib 1.0.28-1.
Y'all know the hardware by now and it's not really relevant.
Updated by cool.test.cool about 10 years ago
i just compiled a fresh copy, using Dolphin 4.0-3638 on Linux version 3.13.0-34-generic Ubuntu 14.04.1 LTS and I just tried this using LLE and HLE audio and there was no jump in cpu, maybe it was resolved?
Updated by pauldacheez about 10 years ago
I'm still experiencing this on 4.0-3673. cool.test.cool, either you're not actually testing the issue correctly (it only uses 100% of one core, not of all cores) or it's hardware/distro/config-specific.
Updated by broderickgrogan about 10 years ago
Just built 4.0-3689 and can confirm 100% usage on a single core with ALSA. Didn't happen on any other backend. I tried HLE, LLE and LLE on seperate thread and still 100% usage. I'm also running x86_64 Arch Linux.
Updated by degasus almost 10 years ago
Does also support a callback based API? If so, use it. All other backends do so already but OpenAL :/
Updated by JosJuice over 9 years ago
- Status changed from New to Fix pending
Updated by JosJuice over 9 years ago
- Status changed from Fix pending to Fixed