Dolphin, the GameCube and Wii emulator - Forums

Full Version: Winwaker / Dolphin 5.0-1589 / HTC 10 SD 820
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
So up til now what changes have been made which have no effect on the look or sound of the game which have a benefit in terms of speed?

I changed the output resolution on mine to a lower setting, could have been a placebo but it appeared to make a difference.

Can we change the audio bitrate output so it costs less? What about PCMCIA instead of full output? Similar settings on the neogeo emulator, bits of audio are removed from emulation, unless it's emulated anyway in which case it'd be a waste.
(01-09-2017, 08:39 PM)JosJuice Wrote: [ -> ]That's correct.

Thanks Smile
(01-09-2017, 08:42 PM)dlads Wrote: [ -> ]So up til now what changes have been made which have no effect on the look or sound of the game which have a benefit in terms of speed?

I changed the output resolution on mine to a lower setting, could have been a placebo but it appeared to make a difference.

Can we change the audio bitrate output so it costs less? What about PCMCIA instead of full output? Similar settings on the neogeo emulator, bits of audio are removed from emulation, unless it's emulated anyway in which case it'd be a waste.

Once we are able to disable audio or change it's impact on performance like you said, emulation speed on wind waker should be pretty smooth consistently without any drop to 22-24. Wonder if there is an .ini tweak to fully disable audio, or if the feature has to be added in by a developer.

I'll try to test in a minute if lower resolution than 1x helps with framerate.
(01-09-2017, 09:04 PM)Snomelbelak Wrote: [ -> ]Once we are able to disable audio or change it's impact on performance like you said, emulation speed on wind waker should be pretty smooth consistently without any drop to 22-24. Wonder if there is an .ini tweak to fully disable audio, or if the feature has to be added in by a developer.

It's not possible to disable audio emulation. If you modify Dolphin's source code to disable it, you'll notice that Wind Waker won't work right at all. Some PPC code depends on correct DSP behavior.
(01-09-2017, 09:18 PM)JosJuice Wrote: [ -> ]It's not possible to disable audio emulation. If you modify Dolphin's source code to disable it, you'll notice that Wind Waker won't work right at all. Some PPC code depends on correct DSP behavior.

Ah, thanks for the info. At least we won't be looking the wrong way. We will have to look elsewhere for more speed.
There is no need to handle with audio emulation at all. We spend less than 5% of the CPU time on audio emulation. About 70% of the CPU time is spend in the PPC emulation, so if you want to improve the performance, check out the JITARM64 [1]. About 20% is used for the GPU emulation, but it is mostly in portable C++ and shared with the desktop builds, so already well optimized.
This profilation assumes you have *good* GPU drivers. Just pick the Null Video backend to check your raw CPU performance.


[1] - https://github.com/dolphin-emu/dolphin/tree/master/Source/Core/Core/PowerPC/JitArm64
(01-09-2017, 09:26 PM)degasus Wrote: [ -> ]There is no need to handle with audio emulation at all. We spend less than 5% of the CPU time on audio emulation. About 70% of the CPU time is spend in the PPC emulation, so if you want to improve the performance, check out the JITARM64 [1]. About 20% is used for the GPU emulation, but it is mostly in portable C++ and shared with the desktop builds, so already well optimized.
This profilation assumes you have *good* GPU drivers. Just pick the Null Video backend to check your raw CPU performance.


[1] - https://github.com/dolphin-emu/dolphin/tree/master/Source/Core/Core/PowerPC/JitArm64

The info is very much appreciated. I suppose I have been running on JIT ARM64 Recompiler, assuming that is the one you are talking about.
I read up that the manufacturer of my phone LeEco, I have the LeEco Le Pro 3, supposedly added in custom GPU tweaks to the adreno 530 gpu. Haven't looked into it myself, but I do wonder if that is giving my FPS a slight boost depending on what they did.
(01-09-2017, 09:49 PM)Snomelbelak Wrote: [ -> ]Haven't looked into it myself, but I do wonder if that is giving my FPS a slight boost depending on what they did.
Unlikely. We are usually not bottlenecked by raw GPU performance. It's more about the driver overhead and its CPU requirements.
(01-09-2017, 09:49 PM)Snomelbelak Wrote: [ -> ]I suppose I have been running on JIT ARM64 Recompiler, assuming that is the one you are talking about.

After reading your comment again, I think I haven't expressed myself well. I've assumped that you are running the JIT ARM64 recomplier. Else you'd get about 1 fps. I wanted to say that when you are looking for optimizations, you have to look in the linked code regions. There are still many ideas to optimize this code further, but doing so is by far not an easy task. There is no magic switch to just make something faster. The good part here, you only need to know about 8 thousands lines of code, mostly unrelated to most other stuff of dolphin. Bad luck, this is the most plattform depedent code of dolphin.

So if you think you're skilled enough to improve a C++ programm which generates ARMv8 assembly on the fly, just start hacking on it and have fun Big Grin
(01-09-2017, 09:18 PM)JosJuice Wrote: [ -> ]It's not possible to disable audio emulation. If you modify Dolphin's source code to disable it, you'll notice that Wind Waker won't work right at all. Some PPC code depends on correct DSP behavior.

Ah thanks mate, this is the type of info we need for this.
Pages: 1 2 3 4 5 6