• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 43 44 45 46 47 ... 116 Next »

Development Thread
 Testing of Audio Latency Fix branch
View New Posts | View Today's Posts

Pages (7): 1 2 3 4 5 ... 7 Next »
Jump to page 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Green Notice (Development Thread) Testing of Audio Latency Fix branch
02-12-2014, 03:53 AM (This post was last modified: 02-13-2014, 10:45 PM by degasus.)
#1
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
Hi,

I've created a WIP branch to reduce the currently very high audio latency with LLE and AX-HLe (it has no effect on zelda ucode games with hle). As this changes interact both with the audio backend and with the OS+drivers, it should be tested on as much systems as possible.

Please focus on:
- Does all available audio backends still work fine?
- Are there any new audio stuttering?
- Did the audio latency improve?
- Are any games broken which works fine on master?

Builds are here:
Win64: http://dl.dolphin-emu.org/wips/degasus-dolphin-latencyFix-4.0-859-x64.7z
OSX: http://dl.dolphin-emu.org/wips/degasus-dolphin-latencyFix-4.0-859.dmg
Src: https://github.com/degasus/dolphin/tree/latencyFix

Known issues:
- Stuttering on slowdowns is wrose. Lower latency results in shorter but more frequent stutters, so they sound worse. This can't be resolved without bigger latency.
- Small pitch shift while syncing. Does anyone notice this as it's limited to 0.6% -- 0.15 semi-tone? The higher the pitch, the faster we can correct the latency.

New features:
- Audio resampling controller: The resampling rate is controlled by the mixer fifo utilization to get a latency of 40 ms which is also the timing variance of our throttler.
- Audio resampling based on framelimiter: On configuring the framelimiter, this branch also configure the resampler to avoid stuttering. It's impossible to do this based on real slowdowns without a huge audio latency, but so you'll be able to get smooth audio on limiting the speed yourself. Check out the hotkeys to change the framelimiter Smile UPDATE: This is disabled on the OpenAL backend as our OpenAL backend itself stretches the time on slowdowns.
Find
Reply
02-12-2014, 07:19 AM (This post was last modified: 02-12-2014, 07:36 AM by DJBarry004.)
#2
DJBarry004 Offline
Don't even bother...
*******
Posts: 2,456
Threads: 33
Joined: Sep 2013
Will test right now.

EDIT: Tried with DSound under HLE and there was no sutter, even if speed is under 100% (Luigi´s Mansion). Tried again with LLE (same backend) (Mario Kart DD): the stutter seems to be gone, but now it sounds like a distorted/cutted echo. Speed more or less near half.
Rig 1: Windows 10 Home | AMD A6-1450 @ 600/1000/1400 MHz | AMD Radeon HD Graphics 8250 | 4GB RAM | HP Pavilion TouchSmart 11.

Rig 2: Windows 10 Pro | Intel Core i7-2640M @ 780/2800/3500 MHz | Intel HD 3000 Mobile | 8GB RAM | Dell Latitude 6320.
Find
Reply
02-12-2014, 07:47 AM
#3
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,543
Threads: 29
Joined: Feb 2013
Luigi's Mansion is Zelda ucode, it will not be affected on HLE.

Check the actual audio latency as well. Audio latency should be lower on this build on AX-HLE games and LLE on every game.
Find
Reply
02-12-2014, 07:52 AM (This post was last modified: 02-12-2014, 07:55 AM by DJBarry004.)
#4
DJBarry004 Offline
Don't even bother...
*******
Posts: 2,456
Threads: 33
Joined: Sep 2013
Can you tell me which games use AX-HLE? Indeed, latency was lower.

EDIT: Does SMG uses AX-HLE? I don´t know a lot about audio ucode things, as you can see. Tongue
Rig 1: Windows 10 Home | AMD A6-1450 @ 600/1000/1400 MHz | AMD Radeon HD Graphics 8250 | 4GB RAM | HP Pavilion TouchSmart 11.

Rig 2: Windows 10 Pro | Intel Core i7-2640M @ 780/2800/3500 MHz | Intel HD 3000 Mobile | 8GB RAM | Dell Latitude 6320.
Find
Reply
02-12-2014, 08:31 AM
#5
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
DJBarry004: you can easy check zelda HLE, as it's the only dsp emulation which doesn't stutter on slowdowns. Both LLE + AX-HLE stutter as hell on slowdowns, both on master and on this branch. But if you want, you can test LLE with a very low framelimiter
Find
Reply
02-12-2014, 08:43 AM
#6
DJBarry004 Offline
Don't even bother...
*******
Posts: 2,456
Threads: 33
Joined: Sep 2013
(02-12-2014, 08:31 AM)degasus Wrote: DJBarry004: you can easy check zelda HLE, as it's the only dsp emulation which doesn't stutter on slowdowns. Both LLE + AX-HLE stutter as hell on slowdowns, both on master and on this branch. But if you want, you can test LLE with a very low framelimiter

You mean that I can test with any FPS limit under full speed (like 40 instead of 60, 30 instead of 50)?

I did notice a performance improvement, BTW. Dunno how it happened since the branch is related to audio, but whatever. Tongue

The thing is that, when testing MK-DD under LLE, I set Virtual XFB on. As I reported, when under full speed the sound (instead of stuttering) was like a continuously breaking echo sound. That thing dissapeared a bit with XFB on (for ex.: the VPS go to 50 and near 60 instead of 30 near 40). Again, maybe this doesn´t have anything to do but I think that it would be interesting if I told you this.
Rig 1: Windows 10 Home | AMD A6-1450 @ 600/1000/1400 MHz | AMD Radeon HD Graphics 8250 | 4GB RAM | HP Pavilion TouchSmart 11.

Rig 2: Windows 10 Pro | Intel Core i7-2640M @ 780/2800/3500 MHz | Intel HD 3000 Mobile | 8GB RAM | Dell Latitude 6320.
Find
Reply
02-12-2014, 09:19 AM
#7
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Can I ban you from this forum or should I wait for one more stupid post?
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
02-12-2014, 10:21 AM
#8
Qaazavaca Qaanic
Unregistered
 
Still 100-300 ms of latency in MKDD menu. (Zelda LLE, DAudio) (verified using Audacity recording, microphone)
Any suggestions for games that have a very clean sound effect easy to distinguish from BGM?

SSBB (LLE, XAudio2) has around 157 milliseconds or less of latency (from button sound to first sound from Dolphin). Is there any good way to record the stereo mix and the microphone simultaneously?
Reply
02-12-2014, 10:35 AM
#9
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
delroth Wrote:Can I ban you from this forum or should I wait for one more stupid post?

What did he do wrong this time? Better yet what rules did he break?
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
02-12-2014, 10:37 AM (This post was last modified: 02-12-2014, 10:37 AM by neobrain.)
#10
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
(02-12-2014, 10:35 AM)NaturalViolence Wrote:
delroth Wrote:Can I ban you from this forum or should I wait for one more stupid post?

What did he do wrong this time? Better yet what rules did he break?

Just because there are no written rules applying to this case doesn't mean we are in any way obliged to let everyone use our forum software, you know.
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
« Next Oldest | Next Newest »
Pages (7): 1 2 3 4 5 ... 7 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode