S.T.A.L.K.E.R. 2: Heart of Chornobyl (1643320)
Compatibility Report
- Name of the game with compatibility issues: S.T.A.L.K.E.R. 2: Heart of Chornobyl
- Steam AppID of the game: 1643320
System Information
- GPU: RTX 4090
- Video driver version: nvidia 565.57.01 -->
- Kernel version: 6.12
- Link to full system information report as [Gist]: https://gist.github.com/jarrard/86b70884b754e302802571f3934237ee
- Proton version: Proton 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.
LOG
Symptoms
Silent CTD after approximately 20mins
Reproduction
100%
Proton Log was having issues attaching. This one is where it silent CTD which happens all the time. Other then that the game runs fine.
ALMOST forgot to mention. Game CTD but steam shows it still running, however I can't find the process.
I have been using GAMESCOPE and HDR. Going to Test without. Perhaps this is GS issue.
Tested without gamescope, and it appears to not crash.
So I will need to investigate about gamescope, as atm its only way HDR works under Plasma.
I've tried a few things now and without much luck. The CTD is a bit random, normally it happens after 20mins but sometimes it will happen within 30s of play.
UPDATE: Looks like this is 100% a gamescope issue. It seems other people are using gamescope pretty well with HDR but for me, random ctd.
It seems the game doesn't save shaders cache and every launch it takes ~30mins (on Windows it takes 20 mins the first time and 5 mins afterwards). Could this be an issue in Mesa?
Operating System: Arch Linux Kernel Version: 6.11.7-lqx1-2-lqx (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700X3D 8-Core Processor Memory: 31.3 ГіБ of RAM Graphics Processor: AMD Radeon RX 6800 XT
This is not a issue for NVIDIA owners. First time is like maybe 5mins, after that is around 15-20seconds.
UPDATE: Actually Steam does take 20mins almost for the first vulkan shader compile time.
It seems the game doesn't save shaders cache and every launch it takes ~30mins (on Windows it takes 20 mins the first time and 5 mins afterwards). Could this be an issue in Mesa?
Operating System: Arch Linux Kernel Version: 6.11.7-lqx1-2-lqx (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700X3D 8-Core Processor Memory: 31.3 ГіБ of RAM Graphics Processor: AMD Radeon RX 6800 XT
Fixed by setting MESA_SHADER_CACHE_MAX_SIZE=10G env parameter
@jarrard what gamescope version are you using, and have you tried to use gamescope without HDR to see if it also crashes?
@jarrard what gamescope version are you using, and have you tried to use gamescope without HDR to see if it also crashes?
I posted over in the gamescope issue tracker here (with versions) https://github.com/ValveSoftware/gamescope/issues/1633
I do believe it still crashes without HDR enabled, however I should test it again just to be sure which I'll do now.
UPDATE: Decided to reinstall with CachyOS since its been a while and my system was setup for a virtual machine originally which I no longer use atm. Anyway solved a couple minor issues such as kwin crashing and also a keybind bug related with wayland windows (likely related to kwin_wayland crashes).
HOWEVER the underlining crash to desktop with WSI and HDR enabled via gamescope still occurs sadly. Took around 30mins or so to happen this time around thought. I'll test without HDR now and see how long it lasts for.
Just confirmed, Crashes still with HDR disabled (--hdr-enable not used) and HDR turned off in game.
So this seems to be a issue with Gamescope, shame that tool has so many issues.
On my system game works but on log i have same warnings!
Proton log: steam-1643320.zip
System: Arch Linux kernel 6.12, KDE plasma 6.2.3, 1440p resolution at 165 Hz, Ryzen 7800x3D, 32 GB ram DDR5 6000 Mhz dual channel, RX 7900 XT 20 GB, playing on maximum settings epic at 1440p.
https://youtu.be/gcoUmZYCsZE
Yes I have seen that people reporting no issues on protondb and using gamescope.
~I suspect this is a specific problem linked with Plasma6.2 or some other latest core software version.~
~It's still most likely a NVIDIA related issue!~
Issue is resolved by this patch that is in master. https://github.com/ValveSoftware/gamescope/pull/1630
I don't use a controller atm so can't test.
anyone got any kind of controller working?
This game feels like 2x smoother under Windows11 for some reason. The fps different is only around 30fps (linux 90fps at 4k, windows 120ish) but boy does it feel SO DAMN GOOD under win11 compared to Linux.
I don't know what the issue is. Bit of a shame, I'll have to play this under Win11 until something can be figured out, perhaps its the frame-gen just working so much better under Windows, that's probably it.
UPDATE: So I installed some performance mods and also turned off cpu mitigation and that seems to have helped a bit. Acceptable anyway under Linux.
If someone needs MORE fps then another thing to try is just running it all under X11 instead of Wayland because according to the Arch wiki WL can eat up as much as %16 of your performance. Worth a try.
UPDATE: So I installed some performance mods and also turned off cpu mitigation and that seems to have helped a bit. Acceptable anyway under Linux. If someone needs MORE fps then another thing to try is just running it all under X11 instead of Wayland because according to the Arch wiki WL can eat up as much as %16 of your performance. Worth a try.
Just to add to that I've been playing on X11 and I have a similar feeling regarding smoothness AND fps compared to windows (10 not 11 in my case)
Has anyone been to The Slag Heap and talked to Richtor on top of the crane (very top of, sneaky way to get there)?
Well the tree lines are artefacting and also the buildings in distance have this pop-in issue for me.
Could be game itself (if so then its BAD) or could be proton, could be nvidia, could be settings.
Anyone get a weird bounded mouse issue when playing in a gamescope session? It's like the mouse hits the screen edge and can't continue, so you can only look at like a 45 degree arc in front of you. Tried with and without --force-grab-cursor, works fine outside an embedded session.
Hmmm, you could try usetakefocus to disabled or enabled. That is a WINE config thing, forgot how to set it but I believe protontricks has it in one of its options.
Hmmm, you could try usetakefocus to disabled or enabled. That is a WINE config thing, forgot how to set it but I believe protontricks has it in one of its options.
Does not appear to work.
I'm struggling with a issue where the game randomly begins to frame skip, you can tell when it happens as it goes from smooth to choppy. The framerate is mostly unaffected, only restarting game fixes it. Probably another nvidia gamescope issue.
Some data below on my ASUS 4090 in comparison of linux vs windows. As you can see this game really only gets a extra %50 more frames with frame-gen enabled which IMO is NOT GREAT, even under windows it only achieves this extra %50 more fps, it should be AT LEAST %70 more fps but for some reason FG is extremely inefficient in Stalker-2!
The second thing to note, Windows11 is around %20-30 faster then Linux for this title. That makes it a exceptionally not great proton experience atm.
Lastly it MAY be possible to resolve the gamescope stutter by enabling steam-overlay, for some reason when its disabled it can cause some sort of background dependency check loop which MAY be the culprit for the Linux stutters after 10mins or so. I also enabled --immediate-flips for gamescope but I doubt that did anything.
Linux 4K |FPS Values| Base - No Upscaling or FG : ~46 Upscaling (FSR/DLSS) Quality : ~67 FSR3 Frame-Gen : ~67 (doesn't work) DLSS-FG : ~98
Windows 4K |FPS Values| Base - No Upscaling or FG : ~67 Upscaling (FSR/DLSS) Quality : ~85 FSR3 Frame-Gen : not-relevant DLSS-FG : ~116
[FPS results taken from the top of tall guard tower at start after 3rd scan scene]