-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STALKER.2: Heart of Chornobyl || CTD after 1-30mins (Resolved in master) #1633
Comments
To me it looks like the X server window times out or shuts down? Very weird non the less. |
Can confirm Operating System: Arch Linux |
Tested Stalker-2 with HDR off, gs still ctd after say 20mins. Using a NEW fresh CachyOS install now just to ensure no other bugs interferring like the one above. So I believe this isn't HDR related, just Wayland(Plasma6.2?) and Gamescope related (a AMD user also reported this issue) with this game. |
I'm having also the same issue with The crashes can occur just after the shaders compilation (in the main menu), or while playing, sometimes after a couple minutes, others after 30 or more. I think that the issue is related to the argument |
You may be right; however perhaps its just agreevated by those actions but them themselves are not the borderline trigger as I've had it happening when not performing any action but moving around. It could be just input triggered perhaps? Also are you using NVIDIA or AMD? I do not know if there is a way to run the game without the force-grab cursor thing. Maybe there is another way to do it via wine? another vector to fiddle with I guess... ANOTHER vector is all frame-gen. Gamescope may be crashing due to it, I've read of reports of frame-gen crashing this game. |
System info: Operating System: Arch Linux gdb coredump bt from one of my crashes:
|
I have also noticed that if you move the cursor to the top left corner of the screen (in the main menu for example), and do alt-tab, the game window is zoomed in to the corner, and it keeps doing it each time that you put the cursor in the corner until after 2-3 zooms it crashes. May be related or not. In the ticket that I linked before (#1434) there are mentions about how this may be an issue related to the KDE display scaling. In my case I have it at 150%. EDIT: I set the KDE display scaling to 100% and the weird zoom behaviour doesn't occur anymore. I will play for a while and see if I get any more crashes. |
this specific stack looks almost identical to another crash i've seen related to a cursor issue in Planet Coaster 2, which was solved by #1630. might be worth trying that patch edit: just to add to this, I played the game for ~40 minutes earlier with |
I'll definitely check that out once I learn how to build and use patches again. Could take a while. (I have mental loss issues, I've done this 100x before, lol) EDIT: Ok I figured it out, going to test against gamescope-plus |
@jarrard the aforementioned PR was just merged into gamescope master if you build following the readme instructions, or i built a version for Arch with the patch using arch's pkgbuild here: https://app.filen.io/#/d/dc5592d4-17fa-4a9a-8d34-0918e71d5660#8u7DeVFeU6UuS4oca9WyPKeGQ8ctIG84 |
I have been playing 2-3 hours with the KDE Display Scaling set to 100% and so far no crashes. |
Yep that's what I did. It appears to have applied the patch. Just need to put in time to test. NVM: got it working with gamescope -H 2160 --adaptive-sync -f --hdr-enable --force-grab-cursor --immediate-flips -- env ENABLE_GAMESCOPE_WSI=1 %command% I've spent more time debugging this issue then playing the game... lol UPDATE: Got a chance to play for a few hours with gamescope, so it looks like this particular issue has been solved? |
Yeah, I've tried this patch too and it seems to be solved. |
tested this myself on both AMD and NVIDIA with gamescope master (which includes the PR linked above) and was unable to get either to crash after ~1 hour of playtime each, |
What's the benefit of using this for stalker-2? You finding it better frame smoothing? |
i had it set already for #1592, nothing more |
Have been noticing frame pacing issues after 5-20mins at times. The framerate is mostly the same but you can tell its not smooth at all like it is when you first have the game running. Bit of a shame. |
Probably #697 |
Doesn't seem to have an effect. It's possible the game is just having problems I dunno. I also get a weird HDR flutters which is a indicator that adaptive sync is having issues. Turning if off helps but you loose some smoothing (which goes away after a while anyway...) |
For some people with Nvidia cards, using gamescope freezes the game after a few seconds. Adding this env variable fixes it. |
My biggest issue and why I moved to windows for playing this game (I duel boot) is VRR becoming unstable and ALSO causing HDR flutters. (a changing in the gamma that causes flickering) -- THESE issues seem to come and go, probably related to framerate drops. These issues don't happen for the most part under Windows. The HDR VRR Flutter issue WAS a early NVIDIA AND AMD issue back in the day however (windows). The game does start off smooth under Linux but after a bit of time starts getting nano stutters or unclear frame delivery. It isn't engine stutter btw. |
the crash is now fixed in a tagged release, gamescope 3.16.1 |
Closing per the last comment. |
Yeah it seems to be good now. However be aware this game has a MASSIVE framerate hit under Linux. Windows avg 135fps That's a 40fps hit on a 4090 at 4k with dlss upscaling and framegen enabled (kind of needed in this game atm) |
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
Game plays but will randomly crash anywhere between 1mins to ~30mins of play.
Determined this is directly related to Gamescope and WSI.
HDR is being used.
Issue does not occur when gamescope is NOT used.
Steps To Reproduce
-H 2160 --expose-wayland --hdr-enabled --adaptive-sync --force-grab-cursor -f -- %command%
DXVK_HDR is enabled, I've tried with several other variables on and off, pretty much everything and the kitchen sink has been tried including suggestions from the issue github.
I did read somewhere that Plasma6.2 could be at fault? I do not know.
My testing continues.
Hardware information
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
The log has a lot in it. But the below segment appears to be the actual crash point
S2-crashlog2-hdr-gs-steam-1643320.zip
The text was updated successfully, but these errors were encountered: