praydog / REFramework

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

Possible AMD bug related to Resident Evil 2 #115

Open dmitsuki opened 2 years ago

dmitsuki commented 2 years ago

Resident Evil 2 doesn't seem to work on AMD. My card is a 5700 xt and I'm on latest drivers from AMD.

Game runs fine normally but when attempting VR hook the game crashes on both DX11 and DX12. Running the exe through visual studio with symbols enabled shows that error originates from atidxx64 (possible driver bug?) but I did not have AMD Symbol Server so it could be a bugged stack trace? I will check that again tomorrow.

Attempting to run on DX12 gives a different error originating from vcruntime140.dll

Both errors are access violations. Loading the symbols for vcruntime140 it stems from a memcpy (real helpful, I know) Might attempt to try on Linux instead of windows, but VR has always been a miss for me there. Any ideas where to take debugging from here?

Note again RE3 and 8 seem to work. Haven't tried 7.

praydog commented 2 years ago

Sorry for the late response.

Please download the latest version here: https://ci.appveyor.com/project/praydog/reframework/build/artifacts

This one will write a crash log to disk and more information in the log. Please attach these files from your game directory: re2_framework_log.txt reframework_crash.dmp

If you are able to debug your own compiled build in debug mode, an image of the call stack would be helpful.

dmitsuki commented 2 years ago

Ok, because dx12 and 11 are seperate errors (DX12 is an access violation on a memcpy in visual studio runtime and dx11 is from the atidxx64.dll) here is DX12

dx12.zip

dx12

dmitsuki commented 2 years ago

DX11 Info here dx11.zip dx11

cursey commented 2 years ago

Do you have other mods installed for RE2? Or custom graphics settings for RE2 forced via your graphics driver software? It's very strange that it works for the other games but not RE2 specifically.

dmitsuki commented 2 years ago

None, I clean installed the game before editing anything.

On Fri, Jan 7, 2022, 9:35 PM cursey @.***> wrote:

Do you have other mods installed for RE2? Or custom graphics settings for RE2 forced via your graphics driver software? It's very strange that it works for the other games but not RE2 specifically.

— Reply to this email directly, view it on GitHub https://github.com/praydog/REFramework/issues/115#issuecomment-1007890625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPX5QV7ZNUZZCGOKURAQ3UU7ELJANCNFSM5LDTXKMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>