Project

General

Profile

Actions

Emulator Issues #8871

closed

Automatic Emulated CPU Clock Rate Adjustment

Added by Anonymous over 8 years ago. Updated over 6 years ago.

Status:
Won't fix
Priority:
Normal
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

So here's an idea that just popped into my head. There could be a check-box option for "Automatic CPU Clock Rate Adjustment", where (only if Enable CPU Clock Override is enabled), Dolphin will automatically adjust the emulated CPU clock to be as close to 100% (but not above) as it can without having the emulation speed go below 100%.

There are a few problems when ES goes below 100%, but one that I personally struggle with is that the audio also slows down. I'm not trying to say that it shouldn't (it is completely accurate), but whenever I'm recording a game and this one very demanding element pops up for 5 seconds and then disappears (dust effects with Scaled EFB enabled seems to be a big one in many games), it can incredibly irritating while watching. There's also increased power consumption and heat output, but that's a given.

The only thing is that I'm not really sure how this would technically be done, and I won't embarrass myself by trying to suggest a way to do so. Is there a way for Dolphin to find out performance overhead on the core used for the CPU? i.e. how much faster you can go than 100% speed? If there is, this feature could adjust the clock rate until there is a little bit of performance overhead available.

Actions #1

Updated by JMC4789 over 8 years ago

  • Status changed from New to Questionable

I disagree, this feature can cause crashes and other defects/timing issues in games. It may seem like a good idea, but if we start introducing features that have the ability to cause random crashes, we will be making things much more difficult for devs of the future.

Actions #2

Updated by Anonymous over 8 years ago

Never thought of crashing being a factor. Would the option to disable audio
time-stretching, which PCSX2 has be a better idea?

Actions #3

Updated by JosJuice over 8 years ago

  • Issue type changed from Bug to Feature request
Actions #4

Updated by JMC4789 over 6 years ago

  • Status changed from Questionable to Won't fix

I just see this as a huge can of worms. I like it how it is as an opt-in. If another developer wants to override me, feel free as I'm not TOO strongly against it. Just enough that I'd rather not see it if there's no opposition.

Actions

Also available in: Atom PDF