Project

General

Profile

Actions

Emulator Issues #7729

closed

ALSA audio backend makes Dolphin consume 100% CPU while paused

Added by pauldacheez about 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
Yes
Relates to maintainability:
No
Regression start:
Fixed in:

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?

  1. Compile Dolphin with ALSA support and set audio backend to ALSA.
  2. Start a game.
  3. Pause emulation.
  4. 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.

Actions #1

Updated by Anonymous about 10 years ago

I can confirm this on my machine.

Actions #2

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?

Actions #3

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.

Actions #4

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.

Actions #5

Updated by flacs almost 10 years ago

  • Easy set to Yes
Actions #6

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 :/

Actions #7

Updated by JosJuice over 9 years ago

  • Status changed from New to Fix pending
Actions #8

Updated by JosJuice over 9 years ago

  • Status changed from Fix pending to Fixed
Actions

Also available in: Atom PDF