Dolphin, the GameCube and Wii emulator - Forums
S7: interpreter and JIT Recompiler giving same speed..? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Android (https://forums.dolphin-emu.org/Forum-android)
+--- Thread: S7: interpreter and JIT Recompiler giving same speed..? (/Thread-s7-interpreter-and-jit-recompiler-giving-same-speed)



S7: interpreter and JIT Recompiler giving same speed..? - mashakos - 09-12-2016

I'm a pretty experienced user of Dolphin but this one has me baffled.

Using Dolphin master build 5.0-585 apk

Knowing that an emulator like Dolphin needs every ounce of CPU performance available on Android, I went ahead and set up a CPU governor to have my Samsung S7 running at 2.6Ghz, with two cores disabled. For reference: core 1 & 2 enabled and overclocked, cores 3 & 4 disabled. 

This has worked wonderfully for PPSSPP, it is really taking advantage of the extra speed. Dolphin on the other hand... slow. 

What is stranger however, is that the JIT dynarec and the interpreter run at the same speed!

What is even stranger: setting CPU clocks back to stock (usually around 1.5GHz from Samsung's stock profile) does not result in more slowdowns (!) 
The emulator is just stuck at 4-15fps no matter what speed the CPU is running at.

I figured out that you have to press the back button after changing settings for Dolphin to save them to the ini, so it is not an issue of my settings not being saved either.

I've been researching, found mention of the iCache bug. Tried the workaround mentioned elsewhere (start a game in interpreter, exit out as soon as gfx/audio starts, set CPU to dynarec, start game again.) but no luck. 

What am I missing?


RE: S7: interpreter and JIT Recompiler giving same speed..? - zxcvbad - 09-12-2016

Potentially icache fix has impact on performance or badly broken r12p0, I'm having similar results on S7


RE: S7: interpreter and JIT Recompiler giving same speed..? - mashakos - 09-12-2016

(09-12-2016, 01:23 AM)zxcvbad Wrote: Potentially icache fix has impact on performance or badly broken r12p0, I'm having similar results on S7

Is there an older version without the fix I can test with? I don't mind using the workaround, as long as I can see performance above 5fps Big Grin


RE: S7: interpreter and JIT Recompiler giving same speed..? - jamster - 09-12-2016

(09-12-2016, 01:23 AM)zxcvbad Wrote: Potentially icache fix has impact on performance or badly broken r12p0, I'm having similar results on S7

Are you having the same issues with older versions of Dolphin? Also do you experience bad graphic issues? I'd so

I believe this is the fault of the r12p0 drivers as I had the same thing when testing on r12p0. No such graphics or performance issues on the old drivers (which I've reverted to) using any of the Dolphin builds (with or without icache fix)


RE: S7: interpreter and JIT Recompiler giving same speed..? - JosJuice - 09-12-2016

(09-12-2016, 04:03 AM)mashakos Wrote: Is there an older version without the fix I can test with? I don't mind using the workaround, as long as I can see performance above 5fps Big Grin

Yes. Builds older than 5.0-581 don't have the icache fix.


RE: S7: interpreter and JIT Recompiler giving same speed..? - zxcvbad - 09-12-2016

(09-12-2016, 04:06 AM)jamster Wrote: Are you having the same issues with older versions of Dolphin? Also do you experience bad graphic issues? I'd so

I believe this is the fault of the r12p0 drivers as I had the same thing when testing on r12p0. No such graphics or performance issues on the old drivers (which I've reverted to) using any of the Dolphin builds (with or without icache fix)

Yea, same graphical issues on r12p0. Certainly points to driver bug if you're saying you have tested icache builds on r9p0


RE: S7: interpreter and JIT Recompiler giving same speed..? - mashakos - 09-12-2016

(09-12-2016, 04:09 AM)JosJuice Wrote: Yes. Builds older than 5.0-581 don't have the icache fix.

Ok, I'm testing with version 5.0-578

  1. Set CPU Core to interpreter
  2. Leave Dual Core on
  3. Run wind waker, wait till clouds appear (after nintendo and dolby logos)
  4. exit
  5. Set CPU Core to JIT
  6. Run game
  7. Crash
Guessing that Dual Core is the culprit, I disabled it and tried the steps again but still get the crash.


RE: S7: interpreter and JIT Recompiler giving same speed..? - mashakos - 09-12-2016

Have another question. I have two games loaded on my s7: wind waker and nba street vol. 2

Wind Waker runs at 5fps with heavily corrupted graphics (half the scene is missing with a black background) while nba street vol. 2 does not exhibit any graphical corruption but runs at 2fps.

Is this related to the new vulkan drivers ..? I am not sure if I have the latest samsung update as I installed a custom rom last month which I haven't updated since.