praydog / REFramework

Scripting platform, modding framework and VR support for all RE Engine games
https://cursey.github.io/reframework-book/
MIT License
2.68k stars 337 forks source link

RE2 RE2 dx11 Steam version Upscaler version of the mod not working #982

Open durrburger93 opened 5 months ago

durrburger93 commented 5 months ago

Describe the bug

I'm trying to use the DLSS mod with the dx11 version of RE2, because that's the only version where it's possible to disable the gross sharpening filter via the hex edit, but I'm unable to get the REframework menu to work properly with this version.

When using the latest TD version of the latest pd upscaler build, the mod UI disappears, can't be toggled back on with "insert", and the game is stuck at like 40 fps and constantly flickering, so totally busted. If I use the regular (non-TD) version, then the mod is stuck on "initializing" and never progresses past that.

When I'm using the regular, non-upscaler version, the mod UI works properly but the temporal upscaler section is missing as expected, so I still can't use DLSS.

Edit: Upon more testing, I see that this only happens when both the DLSS dll and the PDPerfPlugin.dll are in the game folder, and when DLSS is missing, I see the message that the non-RT beta build doesn't support upscaling. Is there really nothing that can be done about this? DLSS is useless if the sharpening can't be disabled IMO because it looks awful, but it can only be disabled in dx11 beta build....

Upload logs and any crash dumps re2_framework_log.txt

It's the latest pd upscaler version titled: "Merge branch 'master' into pd-upscaler #606"

To Reproduce Steps to reproduce the behavior:

  1. Launch the game
  2. Wait for the REframework mod to do its thing

Expected behavior I expect it to initialize and work properly with the Temporal Upscaler section visible like it does in RE3 and RE4.

Desktop and VR (please complete the following information):

praydog commented 5 months ago

Not supported at this time. I don't believe I see a duplicate issue here so I'll leave this open. This isn't supported right now as the structures are significantly different and I would need to code a whole DX11 portion of this.

TimmyP777 commented 5 months ago

You know I don't know why i cant find this anywhere but 1 post, but for upscalar to work you need to use driver 531.41 it will not work on the latest 546.66 (or whatever it is) Nvidia driver, crashing in log with a NVSDK_NGX_Result_FAIL_NotInitialized no feature support. Only Resident Evil 2 exhibits this behavior so far, and at least 4 and 8 work fine.

Installing 531.41 on top, no restart, and it went from crashing to working completely in vr with dlss. This is one of the latest pd builds and latest upscalar base plugin. I cannot get upscalar to work in Re2 any other way.

AndehX commented 3 months ago

is there any update on this? Will this ever work again in RE2R (non-RT) ?

TimmyP777 commented 3 months ago

Install drivers 531.41 when you want to play, you can actually script the entire thing... I even go as far as removing them from driverstore and cleaning temp every-time. It works, with no restart.

Its obviously not ideal, but its only this game. None of the others have this driver\feature flag check.

*It might work better if the script queried a file for the driver version; find that file, and copy and replace it every time. Who knows. If that worked it would be much better. I have no idea if this would work, just a thought.

kamikazilucas commented 2 months ago

if it worked before why not just use the older version of the mod

GennadijK1987 commented 1 month ago

The same problem, and even with the new pd-upscaller 900 mod, the game minimizes when there is a dlss file in the folder... And this also applies to Re 7, Village. I haven’t checked the third part, but I think it will be the same... With the 531.41 drivers it really starts, but constantly installing and erasing drivers via DDU is tiring.

GennadijK1987 commented 1 month ago

Install drivers 531.41 when you want to play, you can actually script the entire thing... I even go as far as removing them from driverstore and cleaning temp every-time. It works, with no restart.

Its obviously not ideal, but its only this game. None of the others have this driver\feature flag check.

*It might work better if the script queried a file for the driver version; find that file, and copy and replace it every time. Who knows. If that worked it would be much better. I have no idea if this would work, just a thought.

What kind of file are you writing about?

TimmyP777 commented 1 month ago

A vbs script, with several powershell commands.

I dont understand why this cant be fixed. In the code its either checking for an obsoleted and moved feature flag, and the log is pointing to 531.41, or the upscaler itself is demanding that driver version.

Without the upscaler, its not nearly as playable on otherwise powerful cards, With the upscaler, its always 90!

*You dont even need to restart either. Just hot install 531.41, launch re2vr with upscaler and notice that Reframework now detects it and it works perfect, then revert to your previous version.

I finished it, and many mods\UEVR things now. This is the only case anywhere so far I have seen this. It is something that is being left incomplete! PLEASE fix I beg you!

GennadijK1987 commented 1 month ago

A vbs script, with several powershell commands.

I dont understand why this cant be fixed. In the code its either checking for an obsoleted and moved feature flag, and the log is pointing to 531.41, or the upscaler itself is demanding that driver version.

Without the upscaler, its not nearly as playable on otherwise powerful cards, With the upscaler, its always 90!

*You dont even need to restart either. Just hot install 531.41, launch re2vr with upscaler and notice that Reframework now detects it and it works perfect, then revert to your previous version.

I finished it, and many mods\UEVR things now. This is the only case anywhere so far I have seen this. It is something that is being left incomplete! PLEASE fix I beg you!

Thanks for answering:-) What does hot install mean? And this can be done, through safe mode I delete the drivers with the DDU program, install 531.41 in normal mode, launch Re 2 with an upscaler. Then I delete the 531.41 driver and install the ones that were there or will the game also not work? I wrote in the issue section, although this problem has been known for a long time.

huliqan commented 1 month ago

all works fine with DLSS mods on 552.22 driver in RTX-version RE2(3478) re2_framework_log.zip ...win10x64 21H2 | i5-4670K 4.5GHz | 16Гб DDR3 | MSI RTX2080ti Ventus OC 11G...

TimmyP777 commented 1 month ago

Holy **** he fixed it?

*Thank you btw

GennadijK1987 commented 1 month ago

all works fine with DLSS mods on 552.22 driver in RTX-version RE2(3478) re2_framework_log.zip ...win10x64 21H2 | i5-4670K 4.5GHz | 16Гб DDR3 | MSI RTX2080ti Ventus OC 11G...

This is a miracle, of course, but unfortunately it doesn’t work for me and even in the flat version the mod doesn’t work, it crashes when the dlss 3.7.0 folder is in the folder. Without it, everything is ok... I don’t know what could be wrong... Maybe something is missing in Windows 10 Pro, in the build that I use...

darthcom commented 1 month ago

Having the same issue across several RE games, each crashing after the pd plugin and dlss are added to the respective game folders. reframework starts fine, but there's no point playing without dlss also running.

TimmyP777 commented 1 month ago

This specific issue only happened in RE2, and its solved with some of the latest alphas.

GennadijK1987 commented 1 month ago

This specific issue only happened in RE2, and its solved with some of the latest alphas.

What you mean about latest alphas? What alphas?

TimmyP777 commented 1 month ago

Yeah it his hotword link is builds.

https://github.com/praydog/REFramework/actions/runs/9010113108

released around the time he posted.

PS There are probably newer compiles with more commits that might be beter in some way, but this one works. Upscaler is back on the menu! literally.

GennadijK1987 commented 1 month ago

Yeah it his hotword link is builds.

https://github.com/praydog/REFramework/actions/runs/9010113108

released around the time he posted.

PS There are probably newer compiles with more commits that might be beter in some way, but this one works. Upscaler is back on the menu! literally.

Yes, I think I tried this version, it didn't work. Well, I’ll try again, of course, although I think it’s unlikely to start.

TimmyP777 commented 1 month ago

Yeah it his hotword link is builds. https://github.com/praydog/REFramework/actions/runs/9010113108 released around the time he posted. PS There are probably newer compiles with more commits that might be beter in some way, but this one works. Upscaler is back on the menu! literally.

Yes, I think I tried this version, it didn't work. Well, I’ll try again, of course, although I think it’s unlikely to start.

Is your log asking for the driver? If the problem is this, it will say in the log that it wants (or wanted, now that its fixed) driver 531.41 with RE2, and will not load the upscaler (wont show it in menu). That, is now fixed. Upscaler is now present in the main menu without having to use driver 531.41.

GennadijK1987 commented 1 month ago

Yeah it his hotword link is builds. https://github.com/praydog/REFramework/actions/runs/9010113108 released around the time he posted. PS There are probably newer compiles with more commits that might be beter in some way, but this one works. Upscaler is back on the menu! literally.

Yes, I think I tried this version, it didn't work. Well, I’ll try again, of course, although I think it’s unlikely to start.

Is your log asking for the driver? If the problem is this, it will say in the log that it wants (or wanted, now that its fixed) driver 531.41 with RE2, and will not load the upscaler (wont show it in menu). That, is now fixed. Upscaler is now present in the main menu without having to use driver 531.41.

As soon as I upload the dlss file, the game does not load.

ValentDs commented 1 week ago

Yeah it his hotword link is builds. https://github.com/praydog/REFramework/actions/runs/9010113108 released around the time he posted. PS There are probably newer compiles with more commits that might be beter in some way, but this one works. Upscaler is back on the menu! literally.

Yes, I think I tried this version, it didn't work. Well, I’ll try again, of course, although I think it’s unlikely to start.

Is your log asking for the driver? If the problem is this, it will say in the log that it wants (or wanted, now that its fixed) driver 531.41 with RE2, and will not load the upscaler (wont show it in menu). That, is now fixed. Upscaler is now present in the main menu without having to use driver 531.41.

i don't understand. i'm new here, i had last version of praydog reframework for re2, last dlss and the upscaler plugin, if i put all those 3 on re2 dx11 root folder i can't see the temporal option in reframework, what i need to do? i tried your link download for the dx11 reframework, but reframework just stops after it loads, can't access the menu again and all the screen of the game is shaking, with white and black mouse glitch i can see both at the same time. there's some incompatibility with 4k graphic mods for re2 dx11 or other reframework files?

edit: tried with your link file but without the other .dll files required for dlss: i can see the option, but it says "this version of the engine is not compatible, need dx12 version". seems i can't use dlss at all with the dx11 versions, sadly

TimmyP777 commented 1 week ago

No it doesnt work. This is the line (also contains the driver version) that appears in the log.

[2024-06-28 17:44:21.351] [REFramework] [info] [TemporalUpscaler] NVIDIA DLSS Minimum driver version was reported as : 512.15

followed by

[2024-06-28 17:44:21.842] [REFramework] [info] [TemporalUpscaler] NVIDIA DLSS not available on this hardward/platform., FeatureInitResult = 0xbad00000, info: NVSDK_NGX_Result_Fail [2024-06-28 17:44:21.854] [REFramework] [info] [TemporalUpscaler] id = 1 Failed to create DLSS Features = 0xbad00007, info: NVSDK_NGX_Result_FAIL_NotInitialized [2024-06-28 17:44:21.854] [REFramework] [error] Exception occurred: c0000005

No other Reframework does this. That is the driver version that will work with the upscaler, both flat and vr.

ValentDs commented 1 week ago

sorry, i don't know much about it i need an easy explaination. i've the last dx11 version of re2remake installed. tried last reframework: i not see upscaler option. i use your link https://github.com/praydog/REFramework/actions/runs/9010113108 download of dx11 re2 and the option appears if i not put the files for the dlss to work, otherwise it glitches. you said it doesn't work and later "No other Reframework does this. That is the driver version that will work with the upscaler, both flat and vr." and in a post before "That, is now fixed. Upscaler is now present in the main menu without having to use driver 531.41". so it works or not? works only for the dx12? (i hope not) works with dx11 only with specific nvidia driver installed? (hope not) or specific reframework (and or) dlss specific file? if yes, let me pls know the exact versions, or even better, the download links of those

ValentDs commented 6 days ago

No it doesnt work. This is the line (also contains the driver version) that appears in the log.

[2024-06-28 17:44:21.351] [REFramework] [info] [TemporalUpscaler] NVIDIA DLSS Minimum driver version was reported as : 512.15

followed by

[2024-06-28 17:44:21.842] [REFramework] [info] [TemporalUpscaler] NVIDIA DLSS not available on this hardward/platform., FeatureInitResult = 0xbad00000, info: NVSDK_NGX_Result_Fail [2024-06-28 17:44:21.854] [REFramework] [info] [TemporalUpscaler] id = 1 Failed to create DLSS Features = 0xbad00007, info: NVSDK_NGX_Result_FAIL_NotInitialized [2024-06-28 17:44:21.854] [REFramework] [error] Exception occurred: c0000005

No other Reframework does this. That is the driver version that will work with the upscaler, both flat and vr.

any news from my last reply?