Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FF7 Rebirth : Crash when trying to set HUD fix to 3 #187

Open
Hezakiel opened this issue Feb 4, 2025 · 22 comments
Open

FF7 Rebirth : Crash when trying to set HUD fix to 3 #187

Hezakiel opened this issue Feb 4, 2025 · 22 comments

Comments

@Hezakiel
Copy link

Hezakiel commented Feb 4, 2025

As soon as I set 3 in HUD fixe, the game crash ... Anyone got the FG working with a fixed HUD ?
I tried with DLSS 3.7.2 and the DLSS 310.2, but with the same results.

@dbz400
Copy link

dbz400 commented Feb 4, 2025

How about HUD fix to 1 with FG immediate ?

@Hezakiel
Copy link
Author

Hezakiel commented Feb 4, 2025

If FG immediate is checked it break the FG

@aroyan06
Copy link

aroyan06 commented Feb 5, 2025

so what's the solution?

@Hezakiel
Copy link
Author

Hezakiel commented Feb 5, 2025

I tried using the FG debug view to find a correct way to set up Optiscaler but I couldn't make the FG work withoud breaking the HUD ... You can use an other FG, I currently use Lossless Scaling and got good results, excepted some flickering on Cloud's sword, but it is an acceptable trade off for stable 60fps

@davecj82
Copy link

davecj82 commented Feb 6, 2025

As soon as I set 3 in HUD fixe, the game crash ... Anyone got the FG working with a fixed HUD ? I tried with DLSS 3.7.2 and the DLSS 310.2, but with the same results.

This might help you. Do you run RTSS (Afterburner) or any overlays? I run RTSS, and I had the exact same problem you do. Rebirth froze for me every single time that I'd raise that limit to 3 without FG extended enabled. After googling, I forget where I saw it, but I ran across a snippet that said overlays can cause problems with the HUD fix. I turned RTSS off, and I had no more freezing at all. I tried tweaking various things within RTSS hoping I could get it to work with the HUD fix limit set at 3, but no luck. I really like having my FPS and GPU temp displayed, so I tried the NVIDIA overlay and turned everything off that I could (in game notifications in particular) with the exception of the statistics overlay so I could still see my stats, and it works like a charm. I did not test the Steam overlay or Xbox overlay. Assuming you are using RTSS or another overlay, and want to keep using it, enabling the FG extended setting kept me from crashing with RTSS (limit didn't matter at that point), but it seemed to stutter a bit too much for my liking whenever turning my character. Enabling Async also gave me about 5 more FPS, but the game would freeze with that enabled every time I closed it, so I turned it off. One other little glitch. Unless FG extended is enabled, when you fire up the game, FrameGen won't work right away until you go into the Optiscaler, drop your limit to 2 and then raise it back up to 3, every time you first load your session. A minor annoyance but no big deal. I haven't played too much of the game after working with this most of tonight, but if I run into any problems going forward, I'll update here. Hope this helps you out.

@Hezakiel
Copy link
Author

Hezakiel commented Feb 6, 2025

Ho thanks man ! I gonna try that and see what I can get ! So you manage to got FG working with the HUD fix with a smooth motion ?

@Hezakiel
Copy link
Author

Hezakiel commented Feb 6, 2025

It works but when you look at the debug view you can see it is not working properly because of the image at bottom middle and right. But thanks for the tip, I didn't knew RTSS could crash with Optiscaler FG.

@davecj82
Copy link

davecj82 commented Feb 6, 2025 via email

@davecj82
Copy link

davecj82 commented Feb 6, 2025 via email

@Hezakiel
Copy link
Author

Hezakiel commented Feb 6, 2025

Then I suggest you use LossLess Scaling, it is way better (in smoothness) than optiFG, cause OptiFG is not working as intended. With LSFG 3.0 i play at 60fps 1440p ultra DLSS 66%. (RTX 3060Ti, R5 5600X). I lock FPS to 30 then FG x2. Slight artifact here and there, but so smooth, I recommand !

@davecj82
Copy link

davecj82 commented Feb 6, 2025 via email

@cdozdil
Copy link
Owner

cdozdil commented Feb 6, 2025

Hi,

Afaik currently it's not possible to capture correct hudless with Opti. But if this could be implemented it might work.

Lyall/FF7RebirthFix#14

@Hezakiel
Copy link
Author

Hezakiel commented Feb 6, 2025

I checked the debug view after what you said, and oddly enough, im seeing
what i should. Not sure why its working for me and not you. That being
said, i will try lossless scaling and see how it works for me compared to
opti. Thanks!

You mean the bottom middle and right are exactly the same (except the one in the bottom middle that have no hud), with no alteration of gamma or luminosity ?

@davecj82
Copy link

davecj82 commented Feb 7, 2025

Hezakiel,

So I put everything through the ringer tonight as far as what you said so I could give a proper reply. You are right. Debug view doesn't work at all unless the hud fix FG extended is enabled and/or the hud fix limit is set below 3. I must have accidently left the limit at 1 when I was testing. when I was doing debug view. When I get the hud view under those cirumstances only, bottom middle and right images are exactly the same when the limit is set to 1 (both images show the HUD) only the bottom middle image shows up when limit is set to 2 (the bottom right image is black) and when FG extended is enabled, the bottom middle screen is a darker shaded version of the bottom right screen and the bottom right screen has no HUD. Despite that, I'm still showing a massive raw increase on my FPS even when using it with the Hudfix FG extended setting enabled. It just feels slightly stuttery after trying it out vs natively for an extended period of time.

Also, I tried out lossless scaling, and unless I'm doing something wrong, I'm going to guess that you and I have a bit of a difference on our GPUs. I'm running Rebirth with a 4090, 4K settings, and a 144 hz gsync ultimate monitor. I have the ff7hook mod, and I went into the engine config file in documents and unlocked my cap through there and then implemented a cap with Nvidia's control panel instead, along with Vsync and low latency turned to ultra. I've implemented DLSS4. I'm also using some 4k mods that were released a few days ago. With no upscaling at all, I get about 90-105 fps average in the grasslands, around 80-95 in Nibelheim. With lossless scaling, that decreased to around 55-70 fps, despite trying a number of scaling methods including LS1, FSR1, NIS and a couple others. Framegen was set to lsfg 3.0 and mode was set to x2. I didn't try all of the scaling methods, so maybe I didn't get the right one. In the end, it still boiled down to Optiscaler vs Native for me.

I tried Optiscaler Framegen both with FG extended enabled and disabled, Async enabled/disabled, Native with no upscaling, and native with min upscaling set at 66% and max at 100%. In the end, after comparing everything side by side, the frame gen did seem slightly less smooth than the native upscaling from 66-100, especially when turning my character using my mouse. So, I decided to keep Optiscaler for the sharpness settings (I like higher sharpness values), and leave the upscaling set from 66-100. In case you're wondering why I would try Optiscaler when I already have a 4090, I always like to try to get my FPS at a steady 138 with no drops when I'm able to do it for free. In this case though, the final values I settled on keep me at anywhere from 100-125 fps, depending on where I am, and with the sharpening I applied with Optiscaler, the game looks really good to me and performs very smooth with G-sync on, so I can live with those results. Plus, I do prefer my RTSS OSD over the NVidia one, just because I'm so used to it. I do admit though, minus the hub issue, the framegen itself looks really snappy, and if they ever figure out the HUD issue, I will reenable the Framegen on Optiscaler in a second, unless Square actually introduces it natively. I do applaud the Optiscaler developers for everything they have done so far.

@Hezakiel
Copy link
Author

Hezakiel commented Feb 7, 2025

Hi,

Afaik currently it's not possible to capture correct hudless with Opti. But if this could be implemented it might work.

Lyall/FF7RebirthFix#14

Can we help in some way ? I am not a dev or coder, but maybe we can do something to implement Lyall feature.

@Hezakiel
Copy link
Author

Hezakiel commented Feb 7, 2025

Hezakiel,

So I put everything through the ringer tonight as far as what you said so I could give a proper reply. You are right. Debug view doesn't work at all unless the hud fix FG extended is enabled and/or the hud fix limit is set below 3. I must have accidently left the limit at 1 when I was testing. when I was doing debug view. When I get the hud view under those cirumstances only, bottom middle and right images are exactly the same when the limit is set to 1 (both images show the HUD) only the bottom middle image shows up when limit is set to 2 (the bottom right image is black) and when FG extended is enabled, the bottom middle screen is a darker shaded version of the bottom right screen and the bottom right screen has no HUD. Despite that, I'm still showing a massive raw increase on my FPS even when using it with the Hudfix FG extended setting enabled. It just feels slightly stuttery after trying it out vs natively for an extended period of time.

Also, I tried out lossless scaling, and unless I'm doing something wrong, I'm going to guess that you and I have a bit of a difference on our GPUs. I'm running Rebirth with a 4090, 4K settings, and a 144 hz gsync ultimate monitor. I have the ff7hook mod, and I went into the engine config file in documents and unlocked my cap through there and then implemented a cap with Nvidia's control panel instead, along with Vsync and low latency turned to ultra. I've implemented DLSS4. I'm also using some 4k mods that were released a few days ago. With no upscaling at all, I get about 90-105 fps average in the grasslands, around 80-95 in Nibelheim. With lossless scaling, that decreased to around 55-70 fps, despite trying a number of scaling methods including LS1, FSR1, NIS and a couple others. Framegen was set to lsfg 3.0 and mode was set to x2. I didn't try all of the scaling methods, so maybe I didn't get the right one. In the end, it still boiled down to Optiscaler vs Native for me.

I tried Optiscaler Framegen both with FG extended enabled and disabled, Async enabled/disabled, Native with no upscaling, and native with min upscaling set at 66% and max at 100%. In the end, after comparing everything side by side, the frame gen did seem slightly less smooth than the native upscaling from 66-100, especially when turning my character using my mouse. So, I decided to keep Optiscaler for the sharpness settings (I like higher sharpness values), and leave the upscaling set from 66-100. In case you're wondering why I would try Optiscaler when I already have a 4090, I always like to try to get my FPS at a steady 138 with no drops when I'm able to do it for free. In this case though, the final values I settled on keep me at anywhere from 100-125 fps, depending on where I am, and with the sharpening I applied with Optiscaler, the game looks really good to me and performs very smooth with G-sync on, so I can live with those results. Plus, I do prefer my RTSS OSD over the NVidia one, just because I'm so used to it. I do admit though, minus the hub issue, the framegen itself looks really snappy, and if they ever figure out the HUD issue, I will reenable the Framegen on Optiscaler in a second, unless Square actually introduces it natively. I do applaud the Optiscaler developers for everything they have done so far.

For LossLess scaling you need to cap your FPS at a framerate you are sure you can lock on and that the VRAM doesnt reach saturation and the GPU in the 80% usage max before applying LossLess sclaling. I had the same issue than you when I tested, but with a capped framerate (you can try 48 x3, or 60 x2 etc ...), it worked wonders. The higher your base framerate (ideally 60 fps), the cleaner the image will look . I suggest you use the DXGI Api for capture, and you can only use the FG and not the upsaclers.
I have a 3060 ti 8 go, so i run the gamme in 900p upsacler to 1400p, game is on ultra (excepted texture at med), I did ini edit to fix shadows and popping/lod issue (eats lots of FPS) and I get constant 60 fps ( 30 fps locked x2). But if I was at a framerate of 60 fps as a base, their would be way less FG artifacts.
I tried every settings possible inf optiFG, even with the nightly build ... Like cdozdil said, it need to be implemented in order to FF7 rebirth to work :/

@davecj82
Copy link

davecj82 commented Feb 8, 2025

Hello, so I tried Lossless scaling with your recommendations, and again, I think it boils down to differences in hardware. It was actually more smooth for me without it, using native settings, though I did get better results than before. Menu was a bit stuttery and capping at 120 fps didn't do much, and since with a gsync monitor I get a native 100-120 fps on average with complete smooth play, on a 4k monitor mind you, capping at 60 fps seems a bit pointless. BUT I'm sure if I had your card, I'd be doing exactly the same thing and it'd work like a charm. In case you are curious, in the end, I ended up using Optiscaler after all, and I found the settings that made the game run like butter with no crashes. It looks absolutely gorgeous too. It's as smooth as if the game is running with FG enabled without the HUD fix, except I have no HUD tearing to speak of.

Optiscaler: "FG enabled, Hud-Fix enabled, FG extended enabled, ASync enabled, Sharpening filter set at .95, all other settings at default".
In-game: "VRR, Dynamic resolution 66-100, all other graphical settings maxed."
Engine: "t.maxfps=0."
Nvidia control panel: "Max FPS off, Latency: On (not ultra), v-sync: Fast."

This got me 200-220 fps on average, which is insane at my resolution, and it is sooooo smooth. And while I know that I'm not truly getting 220 fps since I have a 144 hz monitor, the result is so smooth that if I'm getting any tearing at all, it's so subtle that I can't see it. Plus I think the fast vysnc setting actually drops the backlogged frames like it's supposed to, so I'm guessing that dx12 support was added for it recently, since the Fast vsync setting didn't used to work with DX12. Also, enabling async in Optiscaler made a huge difference with these settings. Without async, there's a very slight amount of stuttering and a drop of about 25 fps. The only trade off is the game crashes every time you shut it down, but no big deal, just a ctrl-alt-del out of it. Plus, I'm glad that I get to keep my RTSS overlay. And also, I can't tell any difference in visual quality in the dynamic scaling between 66-100 vs 100-100 unless I look really close at certain objects.

I'm a decent ways into the game now and no crashes yet. Anyway, just thought you'd like to know in case you decide to upgrade hardware in the future and wish to revisit this game, though hopefully future updates will eliminate the need for Optiscaler. Thanks for the recommendations though!

@Hezakiel
Copy link
Author

Hello,

Hum, I tried your settings but I get the same issue as before, once HUD fix in engaged their is duplicate frames. What version of Optiscaler do you use ? When you say you have no HUD tearing, what do you mean ? The HUD behave like if OptiFG was off ? And what value did you put in HUD fix ?
Have tried doing an A/B comparison test ? (comparing with FG on and off to check smoothness) ? Because no one have been able to make OptiFG work in FF7Rebirth. I think the smoothness is so high on your setup that even if HUD fix break FG and framepacing, it would be unnoticeable of your screen.
Thanks for your feedback !

@davecj82
Copy link

davecj82 commented Feb 10, 2025 via email

@davecj82
Copy link

davecj82 commented Feb 11, 2025

So, this is a very long post. I'm including everything I modded per other instructions I found online plus anything that might be relevant.

I'm attaching 10 screenshots that shows the HUD ghosting (better description I think), what my optimal settings are, what my fps is with framegen off (I'm in the mythril mine at the moment so 120 fps is higher than what I get on the grasslands), what my graphical settings in menu are, my Nvidia control panel settings, my NVidia Profile Inspector settings and my overclock settings. I had to crop or resize the Rebirth shots because they were too large to attach otherwise. I'm not sure how relevant some of these screenshots are, but I figured I'd attach anything that could be relevant. Also, in the NPI settings, I highlighted the lines I changed and in the case of the rebar changes, the 2 lines below the highlight line were also changed. I made an FF7 Rebirth profile for this. In the menu graphic settings screenshot, the grey font showing the resolution doesn't show up, but it's 3840x2160. And again, of course, just because it worked for me doesn't mean it'd work for you, especially because of the vast differences in our cards. I also have DLSS 4 enabled, I haven't tried this with DLSS 3, and to my knowledge, I don't think DLSS 4 is an option for the 3000 series. Also, I couldn't show you the HUD ghosting and the optiscaler menu at the same time because my mouse wouldn't turn Cloud with the Optiscaler up, but in that screenshot, I had the HUDfix on with a limit set to 1. Also, when I don't have RTSS enabled and my limit is set to 3, it will work for me without FG enabled, but the motion definitely isn't as smooth for me as in this setup. No HUD ghosting in that configuration though. And with Async disabled in my optimal settings, it's almost as smooth for me as if it were enabled. And in case anyone else is reading this, I have an RTX 4090. OP has an RTX 3060 TI, 8 GB. In the end, the settings that I think made the biggest differences for me were:

  1. With Hudfix and FrameGen enabled, FG extended enabled as well
  2. Min max Dynamic Resolution set at 66 minimum, 100 maximum vs 100/100
  3. All frame capping turned off
  4. Vertical Sync set to Fast in Nvidia control panel (drops extra frames instead of allowing tearing).

Also, latency set to On makes a bit of a difference too, but not as much as the first 4 settings I mentioned.

As for your questions:
HUD tearing - HUD ghosting is a more appropriate term. Basically duplicate frames, like you said.
Version - I'm using 0.7.0-pre66.
No HUD ghosting - Yes, the HUD behaves as if OptiFG is off with my settings
Value for HUD fix - It's set at 1, but with FG enabled, it behaved the same no matter what value I put in
Tried doing an A/B comparison test - You will see a screenshot with FG enabled and one without it. FPS is 210 with it, 120 without it, in the mythril mine. Without it, it's around 100-110 in Grasslands. Also, a reminder, I am using the FF7 Hook mod, along with a custom Engine.ini file.

I should also add that in addition to messing around with settings until I got this to work right, when I initially set this up, I roughly followed a guide I found on a Steam post, and I also used a video on youtube to help get this set up as well. I'm not sure if any of these will help, especially since the Steam post was done for a 4090 and the youtube video was done with a 3090.

Steam guide:
https://steamcommunity.com/app/2909400/discussions/0/597390757221952165/

Youtube video:
https://www.youtube.com/watch?v=smieezA2Pc4

Engine.ini file:
https://www.nexusmods.com/finalfantasy7rebirth/mods/3

In the file, I changed the r.vysnc=0 to r.vsync=1

I also added the following to disable motion blur under [SystemSettings]:

r.MotionBlur.Max=0
r.MotionBlurQuality=0
r.DefaultFeature.MotionBlur=0

Anyway, I'm not sure if Framegen is working correctly for me or not, but all I know is this setup works extremely smooth for me, with no crashes other than when shutting down, so I'll take it even if it isn't working correctly. I'm having a blast playing it right now. I hope some of this helps you.

My optiscaler final settings (note the FPS):
Image
FPS with Framegen disabled (again, note the FPS):
Image
HUD ghosting with FG extended disabled:
Image
Top part of Rebirth graphical settings:
Image
Bottom part of Rebirth graphical settings:
Image
Top part of Nvidia Control Panel:
Image
Bottom part of Nvidia Control Panel:
Image
Top part of Nvidia Profile Inspector:
Image
Bottom part of Nvidia Profile Inspector:
Image
Overclock settings in GPU Tweak III:
Image

@Hezakiel
Copy link
Author

Hezakiel commented Feb 11, 2025

So, this is a very long post. I'm including everything I modded per other instructions I found online plus anything that might be relevant.

I'm attaching 10 screenshots that shows the HUD ghosting (better description I think), what my optimal settings are, what my fps is with framegen off (I'm in the mythril mine at the moment so 120 fps is higher than what I get on the grasslands), what my graphical settings in menu are, my Nvidia control panel settings, my NVidia Profile Inspector settings and my overclock settings. I had to crop or resize the Rebirth shots because they were too large to attach otherwise. I'm not sure how relevant some of these screenshots are, but I figured I'd attach anything that could be relevant. Also, in the NPI settings, I highlighted the lines I changed and in the case of the rebar changes, the 2 lines below the highlight line were also changed. I made an FF7 Rebirth profile for this. In the menu graphic settings screenshot, the grey font showing the resolution doesn't show up, but it's 3840x2160. And again, of course, just because it worked for me doesn't mean it'd work for you, especially because of the vast differences in our cards. I also have DLSS 4 enabled, I haven't tried this with DLSS 3, and to my knowledge, I don't think DLSS 4 is an option for the 3000 series. Also, I couldn't show you the HUD ghosting and the optiscaler menu at the same time because my mouse wouldn't turn Cloud with the Optiscaler up, but in that screenshot, I had the HUDfix on with a limit set to 1. Also, when I don't have RTSS enabled and my limit is set to 3, it will work for me without FG enabled, but the motion definitely isn't as smooth for me as in this setup. No HUD ghosting in that configuration though. And with Async disabled in my optimal settings, it's almost as smooth for me as if it were enabled. And in case anyone else is reading this, I have an RTX 4090. OP has an RTX 3060 TI, 8 GB. In the end, the settings that I think made the biggest differences for me were:

1. With Hudfix and FrameGen enabled, FG extended enabled as well

2. Min max Dynamic Resolution set at 66 minimum, 100 maximum vs 100/100

3. All frame capping turned off

4. Vertical Sync set to Fast in Nvidia control panel (drops extra frames instead of allowing tearing).

Also, latency set to On makes a bit of a difference too, but not as much as the first 4 settings I mentioned.

As for your questions: HUD tearing - HUD ghosting is a more appropriate term. Basically duplicate frames, like you said. Version - I'm using 0.7.0-pre66. No HUD ghosting - Yes, the HUD behaves as if OptiFG is off with my settings Value for HUD fix - It's set at 1, but with FG enabled, it behaved the same no matter what value I put in Tried doing an A/B comparison test - You will see a screenshot with FG enabled and one without it. FPS is 210 with it, 120 without it, in the mythril mine. Without it, it's around 100-110 in Grasslands. Also, a reminder, I am using the FF7 Hook mod, along with a custom Engine.ini file.

I should also add that in addition to messing around with settings until I got this to work right, when I initially set this up, I roughly followed a guide I found on a Steam post, and I also used a video on youtube to help get this set up as well. I'm not sure if any of these will help, especially since the Steam post was done for a 4090 and the youtube video was done with a 3090.

Steam guide: https://steamcommunity.com/app/2909400/discussions/0/597390757221952165/

Youtube video: https://www.youtube.com/watch?v=smieezA2Pc4

Engine.ini file: https://www.nexusmods.com/finalfantasy7rebirth/mods/3

In the file, I changed the r.vysnc=0 to r.vsync=1

I also added the following to disable motion blur under [SystemSettings]:

r.MotionBlur.Max=0 r.MotionBlurQuality=0 r.DefaultFeature.MotionBlur=0

Anyway, I'm not sure if Framegen is working correctly for me or not, but all I know is this setup works extremely smooth for me, with no crashes other than when shutting down, so I'll take it even if it isn't working correctly. I'm having a blast playing it right now. I hope some of this helps you.

My optiscaler final settings (note the FPS): Image FPS with Framegen disabled (again, note the FPS): Image HUD ghosting with FG extended disabled: Image Top part of Rebirth graphical settings: Image Bottom part of Rebirth graphical settings: Image Top part of Nvidia Control Panel: Image Bottom part of Nvidia Control Panel: Image Top part of Nvidia Profile Inspector: Image Bottom part of Nvidia Profile Inspector: Image Overclock settings in GPU Tweak III: Image

Hey,
Wow, thanks for such detailed info ! I will try these tweaks and see if I can make it work on my setup. :)
I already put the DLSS 4 transformer at launch, and I didn't notice that much of a difference. It is a little more demanding tho.
I also tried the ini edit from Nexus when it released, but with or without I wasn't able to see a differences performances wise. Don't forget that most engine.ini edit are made by people that don't know what each Cvar do, and most of them don't work cause FF7 Rebirth is on a custom UE4 version. I see that a new version is avaible for the engine.ini fix, I'll gonna give a try and find out.

@davecj82
Copy link

davecj82 commented Feb 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants