https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12019-04-22T17:35:17ZDolphin bug trackerEmulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368692019-04-22T17:35:17ZJosJuice
<ul><li><strong>Milestone</strong> set to <i>Current</i></li><li><strong>Regression</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Regression start</strong> set to <i>5.0-8009</i></li></ul> Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368702019-04-22T18:10:41ZJMC4789JMC4789@gmail.com
<ul></ul><p>We enabled more accurate CPU emulation for a feature... the fact it's slightly slower in some spots when using that feature isn't particularly a regression. We could disable it for this game or something but honestly I'm skeptical. Considering the old method ended up with off-by-one shenanigans, I don't want to go back to it.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368712019-04-22T18:34:08ZJMC4789JMC4789@gmail.com
<ul></ul><p>Okay now that I'm up and less cranky, what kind of stutter is this? Is it like a "oh I'm running around fine- WHAT" where there's a hard stutter and then it returns to normal? Or is it a more general slowdown that lasts a couple of seconds? I wonder if the codecache is getting overflowed and it's just struggling or if it's really spamming this really obscure function.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368722019-04-22T18:51:51Zmarkwest76markwest76@hotmail.it
<ul></ul><p>If it were slightly slower it wouldn't be a problem, I mean I get 250% speed in this game and going to for example 200% wouldn't be a problem, but the problem here are the stuttering events (going from 250% to 50%) that plague the game ruining in this way the emulated gameplay.<br>
Since I have a powerful PC and I don't think it is speed related, I suspect that this kind of bug would come out even with the strongest computer on earth...also are we sure this is the only game affected? I will investigate and report it (for now quite obviously Disney Epic Mickey 1 is affected as well)</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368732019-04-22T18:52:45ZJMC4789JMC4789@gmail.com
<ul></ul><p>Someone would need to say why it's happening before anything can be done.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368742019-04-22T18:53:42Zmarkwest76markwest76@hotmail.it
<ul></ul><p>It's a hard stutter that last sometimes 1-2 seconds, sometimes 2-3...</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368752019-04-22T18:54:54ZJMC4789JMC4789@gmail.com
<ul></ul><p>I see it when testing, I wonder if it's the codecache issue.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368762019-04-22T19:14:57ZJMC4789JMC4789@gmail.com
<ul></ul><p>It's probably clearing the code cache or something, or it's firing off a shitload of instructions. This is rather interesting to say the least.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368772019-04-22T19:23:25ZJMC4789JMC4789@gmail.com
<ul></ul><p>Just verified - it's clearing the code cache. Not my fault!</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7368942019-04-22T22:32:21ZJMC4789JMC4789@gmail.com
<ul></ul><p>try this build - <a href="https://dl.dolphin-emu.org/prs/pr-8024-dolphin-latest-x64.7z" class="external">https://dl.dolphin-emu.org/prs/pr-8024-dolphin-latest-x64.7z</a></p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369342019-04-23T15:03:29Zmarkwest76markwest76@hotmail.it
<ul></ul><p>With that build the stuttering has moved from the title screen to the loading screen (now it doesn't stutter when you press A button to access loading screen, but it stutters when you click on a saved game to load)<br>
As for in-game stuttering I need a bit more time to test if it's gone...</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369382019-04-23T15:57:53Zmarkwest76markwest76@hotmail.it
<ul></ul><p>as expected during gameplay there's still some stuttering, maybe a bit less than before but due to the random appearance it's difficult to tell...</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369422019-04-23T18:35:16ZJMC4789JMC4789@gmail.com
<ul></ul><p>This is normal and would happen in old builds. I could make you another hacky build that delays it more or less indefinitely, but, it would use a tremendous amount of ram.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369432019-04-23T19:12:28Zmarkwest76markwest76@hotmail.it
<ul></ul><p>it doesn't happen in old builds: 5.0-8007 and previous builds are absolutely stutter free with Disney Epic Mickey 2 (at least on my system)</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369442019-04-23T19:15:07Zmarkwest76markwest76@hotmail.it
<ul></ul><p>Forgot to mention in my System specifications that I have an SSD Hard Drive, if that somewhat matters...</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369452019-04-23T19:16:25ZJMC4789JMC4789@gmail.com
<ul></ul><p>I have epic mickey, and while it takes longer, it absolutely will stutter after a while.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369462019-04-23T19:19:37ZJMC4789JMC4789@gmail.com
<ul></ul><p>I guess the old codepath is still being hit a bit in Disney's Epic Mickey, ballooning the jit cache hit still. I could get you a build with gigantic caches to confirm this if you want.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369472019-04-23T19:22:57Zmarkwest76markwest76@hotmail.it
<ul></ul><p>ok, let's try to confirm that...</p>
<p>P.S. Epic Mickey stuttered a bit with my 2nd PC (intel Core duo quad) but with the new PC I never had similar problems until 5.0-8009</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369482019-04-23T19:24:00ZJMC4789JMC4789@gmail.com
<ul></ul><p>I mean on that older PC it could just be general performance issues.</p>
<p>I'm going to make you a build I don't recommend you use outside of testing this as it will eat up a ton of RAM. Even if it works, it's obvious that we'll have to find a more permanent solution to reduce the JIT cache hit.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369492019-04-23T19:48:25ZJMC4789JMC4789@gmail.com
<ul></ul><p>I've made two builds here. One build is a normal Dolphin build based on current master with the message enabled that tells you when the icache is cleared. The other is the same thing, except with all the various code caches made much bigger. I do not recommend you use it on a computer with limited ram.</p>
<p><a href="https://drive.google.com/open?id=16LKihuPcNM-AgetzLoO-Qe-1pN7IEOOj" class="external">https://drive.google.com/open?id=16LKihuPcNM-AgetzLoO-Qe-1pN7IEOOj</a></p>
<p>Copy them into a normal Dolphin install.</p>
<p>In order to satisfy GPL here are the two changes - <a href="https://github.com/JMC47/dolphin/commit/949b68307cd9fb8f480e6d130c613a45d9e64a4c" class="external">https://github.com/JMC47/dolphin/commit/949b68307cd9fb8f480e6d130c613a45d9e64a4c</a></p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369522019-04-23T20:13:55Zmarkwest76markwest76@hotmail.it
<ul></ul><p>Ok here's what I found:</p>
<ol>
<li><p>using Dolphin_Normal every time the game stutters comes out the message "Clearing code cache";</p></li>
<li><p>using Dolphin_Large_Cache the stuttering is gone and game plays like 5.0-8007;</p></li>
<li><p>meanwhile I tested Disney Epic Mickey 2 with latest master 5.0-10039 on my old PC (win10, AMD RX570, Xenia X5460) much less powerful and believe it or not, in the menus there's no stuttering at all (?!?)...could it be then a Nvidia only issue?</p></li>
</ol>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369532019-04-23T20:15:21ZJMC4789JMC4789@gmail.com
<ul></ul><p>No, lol. It's a JitCache issue, just the timings of when the stutters hit will vary a bit depending on how the instructions are generated. Because an old PC uses some different codepaths, it may be avoiding some of the code bloat.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369962019-04-26T07:03:29ZJMC4789JMC4789@gmail.com
<ul></ul><p>So, I'm going to have to disagree with your bisect once again. I've reproduced the icache clears almost as often in 5.0-8007. It's just delayed by a single menu screen. There's literally a log message that plays when the icache is flushed, if you enable logging and look, you'll see it before you get in-game.</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7369982019-04-26T16:01:09Zmarkwest76markwest76@hotmail.it
<ul></ul><p>The fact is that in 5.0-8007 there's no stuttering, while 5.0-8009 stutters a lot, so I presume that for some reasons 5.0-8009 is clearing the cache in a much slower way than 5.0-8007...</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7385692020-02-09T11:41:04Zmarkwest76markwest76@hotmail.it
<ul></ul><p>Now that I have an rtx 2060 super with 8gb I'm not experiencing this problem anymore, but in fact maybe it was 5.0-11318 that fixed this? In that case you can close this issue...</p>
Emulator - Emulator Issues #11693: 5.0.8009 causes stuttering with "Disney Epic Mickey 2" [regression]https://bugs.dolphin-emu.org/issues/11693?journal_id=7401912020-09-12T09:21:21ZJMC4789JMC4789@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>Fixed in</strong> set to <i>5.0-12575</i></li></ul>