Project

General

Profile

Actions

Emulator Issues #2072

closed

Dolphin slowdown cause by Idle Skipping / Dual Core

Added by imant23 almost 15 years ago.

Status:
Fixed
Priority:
Low
Assignee:
% Done:

0%

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

Description

What steps will reproduce the problem?
1.Just run any gc game
2.
3.

What is the expected output? What do you see instead?
After r4891 Dolphin is slowdown twice(Before 60 - 55fps? After 30-25)

What version of the product are you using? On what operating system?
r4899 Win Vista

Please provide any additional information below.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #2034: Dual Core causes desync between CPU-GPU (disable dual core, everything is fine)Duplicate

Actions
Actions #1

Updated by marcosvitali almost 15 years ago

What option are you used in config, Jit ot JitIL?

Actions #2

Updated by imant23 almost 15 years ago

JitIL,but with Jit option Dolphin slows too...

Actions #4

Updated by hrydgard almost 15 years ago

  • Status changed from New to Work started

Yeah, this is known, JitIL 32-bit was slowed down through a hack to make F-Zero work.
I'll be working on finding a better solution and getting the speed back up later this
week.

Actions #5

Updated by interdpth almost 15 years ago

Actually I have to agree with this, and i'm using Jitil 64bit latest build. It's kind
weird seeing wii games hit higher then GC games XD

Actions #6

Updated by interdpth almost 15 years ago

I have found a solution for me at least, I am using TOS1 as my test subject i turned
off idle skipping and had full FPS. :) i was hitting 30-31 now i'm getting 57-60!

Actions #7

Updated by hrydgard almost 15 years ago

  • Status changed from Work started to Accepted

I think the framelimiter code might have some odd interaction with idle skipping.

Actions #8

Updated by interdpth almost 15 years ago

I'd also like to add again with Tales of Symphonia 1 as my test subject if Idle
Skipping is on, and frame limit is off, FPS go way high as well. Fun bug

Actions #9

Updated by imant23 almost 15 years ago

Hmm.. Only 40 fps for me with turned off idle skipping..

Actions #10

Updated by ayuanx almost 15 years ago

Issue 2034 has been merged into this issue.

Actions #11

Updated by skidau almost 15 years ago

I reviewed the idle skipping code and the framelimiter code and do not see anything
obvious that might cause this issue.

Actions #12

Updated by ebirnie over 14 years ago

a good place to see this is the new super mario bros intro. runs slow with idle
skipping on, but full speed with it off.

Actions #13

Updated by ayuanx over 14 years ago

To be more specific, there are two ways to avoid the slowdown:

  1. Turn off Dual Core
  2. or trun off Idle Skipping

Regardless of your framelimit setting

Actions #15

Updated by nakeee over 14 years ago

  • Issue type set to Feature request
  • Priority set to Low
Actions #16

Updated by william.ribeiro.ibiapina over 14 years ago

Since when turning off Dual Core and Idle Skipping avoids slowdown? On the contrary,
it's even slower! Are you sure your emulator is well configured?

Actions #17

Updated by idowolf over 14 years ago

Happens to me too on Pokemon Colosseum and Sonic Adventure 2, Win XP, r5240.

Actions #18

Updated by marcosvitali over 14 years ago

For me this issue is totally implemented/fixed in r5249

Actions #19

Updated by Autoran1 over 14 years ago

BTW DC/IdleSkip causes all CPU/GPU sync problems like VPS framelimiter in Super
Mario Galaxy

Actions #20

Updated by mickys69 over 14 years ago

This may sound like the right Place to post this and it needs to brought to the right
attention of people working on Dolphin...

RE: Slow down in dolphing...

Notes:
MY system:

AMD Phenom 8650+ Triple Core Processor 2.30Gig
4Gig DDR2 PC8500 (1066Mhz)
Nvidia Geforce 9600GT DDR3 1G - Driver 197.45
Main-board - ASUS M3A78-EMH HDMI
VISTA Ultimate 32Bit

Dolphin v2
Dolphin r5442

Running Gamebooster 1.4 when running Dolphin....


ATT Dolphin:
I believe I have found a error re Slow down and loss of frame rates.

It dose not matter how I set Dolphin my Frame Rates are 55 to 60 FPS but I get a slow
down intermittently to 25 FPS

My Friend has few PC in his home one the same as mine but a Dual core not tri, 2gig
RAM lower than mine and Geforce 8500 His frames do not drop... also he has a quad
core systems 3gig AMDs with on-board ATI 4200 2gig ram sheared no frame drop....
Both his systems windows XP.... Dolphin Setting same as mine....

My test was running gamebooster to shut-down Vista to get it close to XP's non GUI
style error still there games all run and it drops at random...

-- TEST that makes me believe I have found something needing to be brought to
attention. --

My system:
Turning off Enable Dual Core in Dolphin:
Game runs at the very speed that the slow down drops to, game dose not change in
speed and runs smooth only at the sad 25ish FPS....

Friends PC:
Turning off Enable Dual core in Dolphin:
Runs at almost Identical speed of my system minus the one or two FPS faster and
slower on the Different core speeds...

Conclusion Error with Enable Dual core in Dolphin dropping out and in...

Question: My AM2 is far faster than his AM3 but would that affect this?

I have know Idea why this is maybe the way Dolphin talk with Vista for the CPU I have
know idea...

Would like to see other try this and see if its the same for others...

Any reply would be nice to read.

I am sure I speak for everyone when I say the hard and amazing work put in by all the
people working on Dolphin is incredibly and amazing.

Actions #21

Updated by skidau over 14 years ago

micky, for how long does that game drop to 25fps, before returning to full speed
again? Are you and your friends testing the same game and at the same places in the
game (e.g. the start of the game or from a save-state)?

Actions #22

Updated by ksg017 over 14 years ago

Skidau. Has there been any work on getting the 32 bit dolphin up to speed in jitil
with 64 users tlb hack? I noticed no one latched onto issue 2119 but hyrdgard stated
on this issue on the subject presented again on issue 2119. As you were the developer
to make those changes in January on revision 4839 that slowed down the 32 bit users
on games needing the tlb hack, was just curious if it was still in the mindset of any
developer. It kinda sounds like micky could be playing a game that utilizes the tlb
hack somewhere and when he hits it, the fps drops on him but his friends computer
doesn't?

Actions #23

Updated by skidau over 14 years ago

ksg017, yeh, I tried to implement a memory exception handler for the XP version a
month or so back. This would bring back the speed for JITIL+TLB+XP without breaking
F-Zero GX. I was unsuccessful though - it is beyond me.

We have 3 options:

  1. Continue waiting for someone to write an exception handler
  2. Remove the JITIL hack breaking F-Zero GX on XP.
  3. Use the 64bit version of Dolphin.
Actions #24

Updated by ksg017 over 14 years ago

Well option 3 doesn't really make any sense lol. I'm thinking just remove the hack.
32 bit players won't really be loosing much since the game runs at 10-20fps. This
should be affecting anyone on a x86 Os and not just XP if I am correct?

Actions #25

Updated by skidau over 14 years ago

  • Status changed from Accepted to Fixed

r5777 has fixed the issue of synchronising the CPU and GPU threads.

Actions

Also available in: Atom PDF