Dolphin, the GameCube and Wii emulator - Forums

Full Version: FPS Cap implementation possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
First off, thanks so much for this emulator. It's truly a marvel.

I'll be brief, I wonder if a user-set variable FPS cap could be implemented in per-game settings, now that we have VI Skip (which is absolutely excellent).

Example use case, I'm playing The Simpsons H&R, which runs at 60fps and seems to be cpu-intensive, and not really so much on the GPU. Capping at 30fps could cause less heat (lower power draw) and probably stabilize frame-pacing. Just a thought. Cheers!
Most games are coded to run at specific framerates, so locking a 60 fps game to be capped at 30 fps would make it run at half speed if game logic is tied to framerate (which is often is on GameCube/Wii-era games).
(02-03-2023, 08:19 AM)KHg8m3r Wrote: [ -> ]Most games are coded to run at specific framerates, so locking a 60 fps game to be capped at 30 fps would make it run at half speed if game logic is tied to framerate (which is often is on GameCube/Wii-era games).

Oh yeah I'm certainly aware. Check out VI Skip on the Android build, this is what would allow other fps caps (and the only reason I make this suggestion). Basically it allows for no game slowdown when your device can't keep up with emulation.
It is possible to half the framerate while using VI Skip. However, Samb has not mentioned any plans for this.

Also, VI Skip is on desktop as well, but desktops generally don't really need it.

@Khg8m3r - details will be in the upcoming Progress Report!
(02-03-2023, 12:09 PM)MayImilae Wrote: [ -> ]It is possible to half the framerate while using VI Skip. However, Samb has not mentioned any plans for this.

Also, VI Skip is on desktop as well, but desktops generally don't really need it.

I see! Thank you for your answer. I guess we'll have to see if the idea comes around and makes sense to them. It'd be useful for Android specifically, since battery life and heat is a concern. 

This wouldn't be a question if we had fps-capping software for Android; like RTSS on Windows. But yeah, another department in which Android sucks sadly Sad
Hmm, as a correction, I should have said that halving the frame rate with VI Skip is PROBABLY possible. VI Skip is weird so you never know!
(02-03-2023, 12:49 PM)MayImilae Wrote: [ -> ]Hmm, as a correction, I should have said that halving the frame rate with VI Skip is PROBABLY possible. VI Skip is weird so you never know!

Heh, it's a good thing to keep in mind. Because the option is new, I'm not familiar with it yet, but that's surely to change soon. 

As an immediate thought, now I know it's on Windows (thx for pointing it out) I'll test using RTSS and we can verify if the fps cap works and how well or bad it does! I'll report back.
Okay, I spent a good hour or more testing, and this is probably case closed for this idea sadly (VI Skip is still great though). I guess I dreamt too much haha.

I seem to have been playing with VI Skip on, in the only game that will benefit from the option in a game-logic way. I thought ''this is most certainly because the game has a variable framerate on original hardware'' but I then tested NFS:U which also has a (very) variable framerate and enabling the fps cap will slow the game's logic (slo-mo).

Here are my original findings regarding The Simpsons:
Quote:Just finished testing on Simpsons HnR. VI skip seems to ''disengage'' in certain scenes, most noticeable when driving around. I tested a combination of on/off settings and hacks to see if any would aid in stability for the option; tried both Vulkan and DX11, none seemed to help in a significant way. It's flawless when standing still or walking around in a small area. The issue can be somewhat mitigated by lowering the emulated cpu clock, but is much more improved by upping it (tried 400%), in which case you'd mostly get stutters in place of slowdowns, which still remain in about 1/4 of the situations (These seem to be areas where the emulation will stutter even at full-fps?).

Mario Kart Double Dash = Half speed
F-Zero GX = Half speed

So VI Skip is great, but it's only intended for audio (with few exceptions?).
I'll continue to study the option, but this idea doesn't seem to be possible currently. :(.
@Gonckzilla: If you're increasing the Emulated CPU clock, VI Skip may be triggering more often??? Also stutter is more often associated with shaders loading. You may want to try Hybrid Ubershaders and/or Compile shaders before starting and see if that helps.

@MayImilae: I've been following VI Skip development on Discord and Github, so I know it's magic and beyond me to explain it's capabilities (I'll leave that to the Progress Report). But I was pretty sure it couldn't outright halve a game FPS in it's current state
Quote:But I was pretty sure it couldn't outright halve a game FPS in it's current state

Yea it can't. But it may be possible to make it so it can, theoretically.
Pages: 1 2