nipkownix / re4_tweaks

Fixes and tweaks for the "UHD" port of Resident Evil 4
zlib License
346 stars 32 forks source link

Game crashes #455

Open Kotomoto007 opened 1 year ago

Kotomoto007 commented 1 year ago

Validation

Describe your issue here (drag+drop ZIP to attach it)

bio4.exe.20230125211812.zip

Game always crashes during gameplay. Sometimes after few minutes, sometimes after few hours.

Windows 11 RTX 4090 Intel 13900k

emoose commented 1 year ago

Seems that's crashing inside our dinput8.dll, do you know which version of re4_tweaks you're using? Is it the 1.8 from https://github.com/nipkownix/re4_tweaks/releases/tag/1.8 or maybe a custom version?

Kotomoto007 commented 1 year ago

bio4.exe.20230125221351.zip

crashed again.

Kotomoto007 commented 1 year ago

Im using 1.8 tweaks, version from HD mod installer. I think its not custom.

emoose commented 1 year ago

Think it's crashing in something dxvk related (dxvk::D3D9DeviceEx::SetVertexShaderConstantF maybe), not sure the cause, but you could try disabling dxvk and see if that stops it crashing for you, at the top of dinput8.ini should be UseVulkanRenderer = true, just change that to false

Kotomoto007 commented 1 year ago

Will try, thank you!

Kotomoto007 commented 1 year ago

Nope. Crashed again..

bio4.exe.20230125222953.zip

Kotomoto007 commented 1 year ago

btw, all files checked with BIO4.SFV and everything is fine, no missing or bad files.

emoose commented 1 year ago

Ah darn, seems both dxvk & dx9 are having issues for you, that's weird...

Seems other people are also reporting crashes lately too, just wondering, did you have any update for RE4 on Steam lately? Or did you install any recent driver update? Maybe I need to try installing newest driver...

Could be worth trying an older re4_tweaks version before the dxvk etc stuff was added in, https://github.com/nipkownix/re4_tweaks/releases/tag/1.7.7.6 might possibly work better.

Kotomoto007 commented 1 year ago

I didn't have any Re4 updates on Steam for sure. Only installed new nvidia driver, but game crashes with previous one too. Will try that version of tweaks and will give feedback soon, thanks!

Kotomoto007 commented 1 year ago

I think that did the trick, no more crashes with version 1.7.7.6. Will waiting for a fix in 1.8.1 then, you rock! Thank you so much.

nipkownix commented 1 year ago

Pretty odd. @Kotomoto007, can you check if any of these test builds will let the game start up without crashing?

dinput8-test1.zip dinput8-test2.zip

Kotomoto007 commented 1 year ago

Test those with 1.8 tweaks?

nipkownix commented 1 year ago

these already are 1.8 tweaks with a few changes, no need to install 1.8 first

Kotomoto007 commented 1 year ago

test1 didnt crashed after loading, played a few minutes, seems okey (but 1.8 sometimes crashes after few hours) test2 didnt let me load the game, crashed.

Kotomoto007 commented 1 year ago

Test 1 crashed after 1.5 hours of gameplay

Kotomoto007 commented 1 year ago

bio4.exe.20230130225243.zip

Crashdump from test1

Kotomoto007 commented 1 year ago

bio4.exe.20230131155531.zip

Another one

nipkownix commented 1 year ago

@Kotomoto007 Can you disable MultithreadFix and test again?

Kotomoto007 commented 1 year ago

Yes, tell me where to disable it

Kotomoto007 commented 1 year ago

Found it. Crashed after 5 minutes.

nipkownix commented 1 year ago

Hmm, make sure you're using v1.8 and have disabled MultithreadFix in the .ini and try again, please. It crashing after 5 minutes is very odd. If it happens again, please try to upload a new CrashDumps zip.

emoose commented 1 year ago

BTW have you touched the EnableDebugMenu setting at all? If that's set to true it could be causing some crashing issues, recommend keeping that as false.

Also just to double check, the 1.7.7.6 release definitely works fine for you right? No crashes after 1 hour etc with that?

Kotomoto007 commented 1 year ago

nipkownix, yes Im using 1.8, disabled multithred, restarted the game, crashed after five minutes and without crashdump, suprisingly.

emoose, no, I dont use debugmenu, and yes, I completed the game with 1.7.7.6 twice without any issues.

Very like the camera work in 1.8 btw!

Kotomoto007 commented 1 year ago

And one more thing: with 1.7.7.6 the game starts in HDR, which is very good. But with 1.8 game only works in SDR.

leon861107 commented 1 year ago

嗯,请确保您使用的是v1.8并在.ini中禁用,请重试。它在 5 分钟后崩溃是非常奇怪的。如果再次发生,请尝试上传新的故障转储 zip。MultithreadFix There is a chance that the game will crash in front of the clock tower

leon861107 commented 1 year ago

I met the same place several times

leon861107 commented 1 year ago

嗯,请确保您使用的是v1.8并在.ini中禁用,请重试。它在 5 分钟后崩溃是非常奇怪的。如果再次发生,请尝试上传新的故障转储 zip。MultithreadFix It's been bothering me for a long time. I'm from China. My English is not good. It's the revolving bridge

Just before entering the clock tower, after the cg telescope

leon861107 commented 1 year ago

4-1 Bridge

Kotomoto007 commented 1 year ago

bio4.exe.20230218152755.zip

ShadowOne333 commented 1 year ago

I think I might have wrongly put a report in another issue (#406), but I am basically having the same game crashes at random times and moments during a playthrough.

Here's the full report I mentioned in that issue: https://github.com/nipkownix/re4_tweaks/issues/406#issuecomment-1454850715

To sum it up, it seems that the crashes tend to happen after some period of consecutive playtime, around 20 mins and above, when they start happening, and when a crash occurs, it tends to happen in the same place at the same time. All this was done with all of the HD Project files verified with SFV, and with re4_tweaks 1.8. I have reverted back to 1.7.7.6, and have yet to test if the issues happen or not, but from a quick 20 mins session it all played fine (ouside of the huge "Press Start" and "Loading..." texts appearing with 1.7.7.6).