Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Resident Evil 4 (2050650)

Open alex9k1 opened this issue 3 years ago • 90 comments

Compatibility Report

  • Name of the game with compatibility issues: Resident Evil 4 (2023 Remake)
  • Steam AppID of the game: 2050650

System Information

  • GPU: Radeon RX 7900XTX
  • Driver/LLVM version: Mesa 22.3.6
  • Kernel version: 6.3.0-rc2 mainline
  • Link to full system information report as Gist: https://gist.github.com/alex9k1/98e7217ac2156c3d4634f524ae887359
  • Proton version: Experimental

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-2050650.zip

Not sure, what you guys can see there, but on this run where I captured the log I did:

  • start the game
  • try to change settings
  • load a save game
  • quit the game

Symptoms

  • Game immediately crashes with Proton 7.0.6, needs Experimental or GE-Proton7-51 to run
  • Can't change any settings
  • Performance was fine on first run, but seems to be 20-30fps, dropping to what feels like > 10 fps at some places. Deleting the prefix does not help
  • Game freezes when trying to exit (to desktop)
  • Game is using ~20 - 24GB RAM. Not sure if that's a bug, but that doesn't seem normal
  • MangoHud goes bonkers, refreshes extremely fast and shows 0 fps

Reproduction

Start the game from steam, try to change any settings and start a new game.

Further notes

In the meantime, I managed to fix my issues. Apparently, it needed to filter the right GPU with DXVK_FILTER_DEVICE_NAME=6600 (6600 cuz I have a 6600XT in my secondary PC where I found the fix), still running on ge-proton7-53. Quite surprising, considering it's a D3D12/VKD3D game. Without the filter, Mongohud still reports, that the 6600XT is being used, so no clue what's going on.

alex9k1 avatar Mar 24 '23 01:03 alex9k1

This game seems to suffer with the same issues as RE2, RE3, RE Village, mostly all RE games with the new engine on an NVIDIA GPU where the shaders after a while would just corrupt and the game would lockup. Just like in my RE3 report I was able to get a log.

Operating System: EndeavourOS KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.8-273-tkg-bore (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor Memory: 31,3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2

Screenshots

20230324095503_1 20230324100617_1 20230324100728_1

steam-2050650.log

kodatarule avatar Mar 24 '23 08:03 kodatarule

Game turned green, lots of models despawned and I crashed when I died. Using an NVIDIA GPU.

EDIT: Setting game to 30FPS fixes every issue I had.

Log attached below: steam-2050650.log

Spencer-0003 avatar Mar 24 '23 15:03 Spencer-0003

It does work great for me without any flaws, but only when i limit the fps to 30. More than 30 fps leads to texture problems and invisible objects in the intro + crashes.

OS: EndeavourOS X11 Kernel: 6.1.21-1-lts GTX 1080 ti 32 gig ram

Eisendroid avatar Mar 24 '23 17:03 Eisendroid

I was experiencing the same, but removing mangohud from the launch options completely fixed the startup crash for me. No idea why

hjpaul7 avatar Mar 24 '23 19:03 hjpaul7

@alex9k1 what mangohud version are you using?

flightlessmango avatar Mar 24 '23 20:03 flightlessmango

@alex9k1 what mangohud version are you using?

0.6.8

0.6.8-5 to be precise: https://aur.archlinux.org/packages/mangohud

alex9k1 avatar Mar 24 '23 23:03 alex9k1

Welp, game is starting to hard lockup/freeze a lot starting on chapter 4

hjpaul7 avatar Mar 25 '23 01:03 hjpaul7

The game crashes to desktop constantly for me (every few minutes, and often when starting/loading a game). Tried disabling Steam overlay and Mangohud, with no luck.

steam-2050650.log

Here's the Proton log. My specs are:

mesa-git 23.1.0_devel.168578.79ac6197a99.932463d268438ce945b21718552d92ab-1 Proton Experimental [bleeding edge]

OS: EndeavourOS Kernel: 6.2.8-zen1-1-zen CPU: AMD Ryzen 9 7950X GPU: AMD Radeon RX 7900 XTX Memory: 64029MiB DDR5-6400 DE: Plasma 5.27.3 Wayland

If I can provide any further info, please let me know.

Tathagata-0 avatar Mar 25 '23 02:03 Tathagata-0

Game freezes at seemingly random points seconds into the new game intro cutscene up to a few minutes into Chapter 1.

Some models flicker, mostly the car in Chapter 1 intro, models get 'stuck' to others, models stretching. Texture issues, have seen a dark patch on Leon's chin throughout the intro cutscene and persist into Chapter 1 gameplay. I have also seen 'see-through' squares on the ground in a puddle before reaching the house at the start of Chapter 1.

The model & texture problems are much less consistent, most often they are minor or there are none noticeable.

The game crashes to desktop before the splash screens if loaded with mangohud (currently using 0.6.8-5 from AUR).

Tried with Proton Experimental [bleeding edge], Proton-GE 7.53 & Proton-GE 7.51

OS: Arch Linux x86_64 Kernel: 6.2.8-zen1-1-zen DE: Plasma 5.27.3 WM: KWin CPU: Intel i9-9900K @ 3.60GHz GPU: NVIDIA GeForce RTX 2080 SUPER Memory: 32GB DDR4

Proton Log - started a new game, it froze a few seconds into the first cutscene (the ritual): steam-2050650.log

AlmightyLaxz avatar Mar 25 '23 04:03 AlmightyLaxz

I'm running into this graphical issue. I've tried all different types of proton. The proton that works best is GE 53. it's the only one that allows cut scenes to play normally. Otherwise it's just white static. The game is very playable aside from this very annoying graphical error. I've tried various launch options as well. No luck. The error is abscent when talking to the merchant and when in small dark areas such as caves and tunnels. My rig: Nobara OS Ryzen 5 5600x Radeon 6700xt

Screenshot_from_2023-03-24_10-19-25-1

GuillotineGwen avatar Mar 25 '23 06:03 GuillotineGwen

@TathagataDM @AlmightyLaxz

Have you tried to set the fps to 30 (through ingame setting!) ? You will be surprised how well it works, other graphic setting will do nothing in comparison. I am sure this is the bugfix you need till this problem gets resolved.

Eisendroid avatar Mar 25 '23 06:03 Eisendroid

Hello @GuillotineGwen, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

kisak-valve avatar Mar 25 '23 12:03 kisak-valve

I have tested the game on my secondary PC by now with a Ryzen 7 4750G and a Radeon 6600XT (Mesa 23.0) and I have the exact same issues there as I mentioned initially.

alex9k1 avatar Mar 25 '23 13:03 alex9k1

Tried to edit the local_config.ini to change windows mode and resolution and uh ... that didn't exactly help :smile:

https://user-images.githubusercontent.com/46139159/227723889-5a2515bf-cb3d-48bf-b1d2-f839f820562a.mp4

alex9k1 avatar Mar 25 '23 14:03 alex9k1

Ok, not sure what did the trick, but I managed to fix my issues. I did:

use GE-Proton7-53 ~~- edit the local_config.ini in the gamefolder (uploaded as .txt otherwise GitHub wouldn't let me upload):~~ ~~local_config.txt~~ ~~- use gamescope~~ ~~- use gamemode~~ ~~- disabled MangoHud via environment variable (I have set MANGOHUD=1 in /etc/environment) and then ran the game~~ ~~via the mongohud application. In the end, my launch command in Steam looks like this now:~~ ~~MANGOHUD=0 gamescope -h 1080 -H 1080 -r 60 -- gamemoderun mangohud %command%~~

~~Now the game is running fine and I can even edit options. Mangohud also behaves nicely. And the game doesn't even freeze anymore when trying to exit. With Proton Experimental the performance is still abysmal and needs a lot more RAM. Using GE-Proton7-53 alone however doesn't seem to fix it. I have a feeling it's the gamescope + ge-proton combo, but don't really tinker around much more since the game eventually locks me out for a day if I start it too often. I guess that's Denuvo?~~

So I actually tried different things and it turned out, gamemode is the single thing, which makes the big change. Thanks to @flightlessmango I decided to dig a little depeeper. I totally forgot, that I had set GAMEMODERUNEXEC="env DRI_PRIME=0 DXVK_FILTER_DEVICE_NAME=6600 VKD3D_FILTER_DEVICE_NAME=6600" globally. After a bit of tinkering, it turns out, DXVK_FILTER_DEVICE_NAME=6600 did the trick, even without gamemode. Quite interesting, considering it's a D3D12 game and using VKD3D.

alex9k1 avatar Mar 25 '23 17:03 alex9k1

@alex9k1 can you test if gamescope is a necessary component?

flightlessmango avatar Mar 25 '23 18:03 flightlessmango

@alex9k1 can you test if gamescope is a necessary component?

Checked it. Apparently gamescope doesn't make a difference. Still works fine without it.

alex9k1 avatar Mar 25 '23 18:03 alex9k1

@alex9k1 and mangohud is not acting weird?

flightlessmango avatar Mar 25 '23 18:03 flightlessmango

Nope, still running it with MANGOHUD=0 gamemoderun mangohud %command% though

alex9k1 avatar Mar 25 '23 18:03 alex9k1

MANGOHUD=0 shouldn't do anything in this case as the mangohud scripts sets MANGOHUD=1 again

flightlessmango avatar Mar 25 '23 18:03 flightlessmango