Project

General

Profile

Actions

Emulator Issues #5571

closed

PulseAudio backend is slow and cpu intensive

Added by legluondunet over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

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

Description

Hello,

I use Ubuntu precise 12.04 64 bits. This distribution uses the pulseaudio sound system.
In Dolphin, I'm not using pulseaudio but alsa or openhal plugin, because they emulate sound faster than pulseaudio and are less cpu consumers. Is it a bug? I think, normally, in a wonderful computer world ^^, a dsp plugin should have better performance with the sound system it is made for.

Config:
Ubuntu precise 64 bits
AMD Radeon 7850
Catalyst 12.6
Dolphin 3.0-750, compiled from git 11 august 2012.

I could reproduce this problem withh all games I play.
I attach some Dolphin log relative to audio.

Thanks for your help.

Actions #1

Updated by delroth over 12 years ago

  • Status changed from New to Accepted

I can confirm this, already noticed that bug a long time ago, switching from PA audio backend to Alsa backend == more than +25% speed on my system...

Actions #2

Updated by be170f5aaron about 12 years ago

I can also confirm. I am running running Ubuntu 12.04 32-bit with Dolphin build 766 and sound performance is best under alsa even though it should work best with Pulse. When I choose Pulseaudio game play performance becomes unacceptable...

Actions #3

Updated by diegojp955 almost 12 years ago

Also, the sounds (and music) aren't played correctly
Like chopping parts and .... its odd xD

Actions #4

Updated by Billiard26 almost 12 years ago

  • Issue type set to Bug
  • Relates to performance set to Yes
  • Category set to dsp
  • Relates to usability set to Yes
  • Operating system N/A added

Give the "pulseaudio-simple" branch a try!

Actions #5

Updated by delroth almost 12 years ago

  • Category deleted (dsp)
Actions #6

Updated by Billiard26 almost 12 years ago

  • Status changed from Accepted to Work started
Actions #7

Updated by Billiard26 almost 12 years ago

Is this issue relevant after r020ab743a90c165e836d4bb3cce57cb60443ad7e?

Actions #8

Updated by slmpika almost 12 years ago

After testing with Tales of Symphonia: Dawn of the New World, it runs at the same speed with the Pulse or Alsa backend. I remember that using the Pulse backend would cause this game to run significantly slower, so it looks fixed to me.

Ubuntu 12.10 x64, i5-2500k @ 3.3
Using r4ea4f2eb4507
1x IR, HLE, EFB -> Texture
Averaged 46fps in Asgard for both Pulse and Alsa 48kHz

Actions #9

Updated by Billiard26 almost 12 years ago

  • Status changed from Work started to Fixed
Actions

Also available in: Atom PDF