OptiScaler icon indicating copy to clipboard operation
OptiScaler copied to clipboard

Final Fantasy VII Rebirth Stuttering Issues

Open Cloud3ffect opened this issue 8 months ago • 8 comments

Game name and version:

Final Fantasy VII Rebirth (Steam)

Mods and mod versions used

OptiScaler_v0.7.7-pre9_20250425_(Daria)

GPU

RX 9070 XT

OS

Windows 11

Used automated or manual install?

  • [X] Automated
  • [ ] Manual

If on AMD/Intel and Automated, used DLSS inputs?

  • [X] Yes
  • [ ] No Using DLSS upscaler inputs in the game

Did you check the Wiki?

  • [X] Yes
  • [ ] No

Please describe the issue and steps to reproduce it

This issue is related to what a user was experiencing in issue #368 for Final Fantasy VII Rebirth. I was experiencing a very similar issue as the OP where I would get pretty annoying stuttering during gameplay. This would not happen when standing still it would only really appear when turn the camera and less so when sprinting around. The OP stated he fixed the issue by turning off SAM. This does in fact help with the stuttering, but there is still a pretty big difference with stuttering between having the mod installed and not not having it installed. I don't think it has to do with FSR 4 at all because I could literally have the mod start up with the game and choose the in game TAAU and it would still stutter as it did with the FSR 4 mod being applied. So basically using TAAU with mod has stuttering, but using TAAU without mod would be pretty smooth. Hopefully my explanation makes some sense. Just let me know what other information you need.

The Logs are posted below:

OptiScaler.log

Cloud3ffect avatar Apr 27 '25 05:04 Cloud3ffect

Hi,

Are you using FakeNvapi & AL2 or LFX? Sometimes it might cause this kind of issues.

cdozdil avatar Apr 27 '25 07:04 cdozdil

I'm not using FakeNvapi, AL2 or LFX. I actually have all the AMD software features such as anti-lag toggled off as well to make sure none of those were affecting it. I don't think this happens in any other game for me so it might just be some weird issue with this game. I've used this mod in many other games as well without any stuttering issues.

Cloud3ffect avatar Apr 27 '25 08:04 Cloud3ffect

Ah, FF7 Rebirth, the never-ending pain of a game. One cause was forced logging in older builds (now disabled), other was unrelated regarding SAM.

Other than Opti triggering shader recomp on first time activating spoofing and maybe Anti-Lag enabled in drivers (global or game profile), there’s not much that comes to mind.

Maybe try adding Fakenvapi and set force_reflex=1in fakenvapi.ini. Might help if that’s the issue.

BadBadges avatar Apr 27 '25 10:04 BadBadges

I did notice that as well that it does a new shader compilation when using the mod. It seems to create another file in the "Saved" folder for the game config files located in Documents. I did try adding Fakenvapi and changed the force_reflex to 1, but still got roughly the same amount of stuttering. If there's anything else you want me to try just let me know.

Cloud3ffect avatar Apr 27 '25 19:04 Cloud3ffect

Guess you could maybe set LogLevel=0 for more detailed info, play for a short while just to get a few stutters and uploaded the log here (it'll be larger, might need to zip it and upload - needs to be .zip or .7z for Github to allow).

You could also try setting dxgi=false (with reverting to LogLevel=auto to remove stutters from deep logging which FF7R doesn't like either) which will deactive spoofing to Nvidia just to see if the stutters still happen - Optiscaler will still load, but will be useless as spoofing is needed to expose DLSS (because Squenix did the barebones port again with only DLSS added).

TheRazerMD avatar Apr 29 '25 11:04 TheRazerMD

I actually decided to try dxgi=false first and that totally removed the stuttering with OptiScaler mod still loading (overlay) in with the game. I guess it has something to do with the spoofing part possibly? It does create a different shader file when changing dxgi=false, which I assume is because it's acting like a RTX 4090.

Did you still want me to create the log file with LogLevel=0? dxgi=auto?

Cloud3ffect avatar Apr 29 '25 15:04 Cloud3ffect

Hmmm, spoofing presents the GPU as an RTX 4090 to the game which triggers a shader recomp as it's being shown a new display adapter basically. But the stutter is supposed to go away as soon as the game compiles the shaders again, just like when you boot it for the first time, or first game boot after updating drivers.

If the game can't create it properly, it doesn't seem like an Optiscaler issue as Opti doesn't have anything to do with that part. Since we haven't received any complaints so far after disabling forced logging, it might be something on your end.

Maybe the shader file somehow turned read-only? Could you delete the shader files and try again? Haven't really followed the game so not sure if the game has a shader precomp screen on boot.

And sure, you can try sending that LogLevel=0 log file with stutters.

TheRazerMD avatar Apr 29 '25 16:04 TheRazerMD

OptiScaler.log

Above is the log file you asked for. I don't have the upscale being applied since it seemed like that wasn't the issue. All I have is the mod loading with the game with the dxgi set to auto.

As far as it possibly being a shader issue, I don't think that's the case since I can do the same run over and over again and it will still stutter just as much. I would think by the first run the the shader compilation stutter would be basically gone.

Cloud3ffect avatar May 01 '25 04:05 Cloud3ffect