Skip to content
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

[Game hang] Sackboy - A big adventure #2298

Open
shelterx opened this issue Jan 21, 2025 · 9 comments
Open

[Game hang] Sackboy - A big adventure #2298

shelterx opened this issue Jan 21, 2025 · 9 comments

Comments

@shelterx
Copy link

shelterx commented Jan 21, 2025

Sackboy - A big adventure suffers from random crashes (UE4 fatal error) and hangs, it seems to be somewhat related to when RT reflections is turned on.
A guaranteed hang is in the second world on the Water Predicament level, it always hangs during the first cutscene. But if I turn off RT reflections, it passes the cutscene.

I tried with PROTON_HIDE_NVIDIA_GPU=1, it made no difference.

  • GPU: RTX 4070
  • Driver: 565.77
  • Wine version: proton-cachyos
  • VKD3D-Proton version: 0f5e58d also tried v2.13.

A full proton log was not possible since it just kept growing and growing before even loading into the game.
vkd3d.log

Nothing related to the hang is found in dmesg.

UPDATE:
Going back to the first world again, and reenter the spaceship from there also causes the game to hang.
What's weird is that I played with RT on for several levels after the Water Predicament level and it seems to work fine (apart from the random UE4 Fatal Error crashes which actually also happens in Windows too), I'm wondering if it sometimes hits some shader that crashes with RT.
However, it works sometimes and sometimes it does not, for example, it got past the cutscene i mentioned above a few times now.

This is what the game shows when it hangs (not the same as the UE4 Fatal error dialog).
Image

@shelterx
Copy link
Author

shelterx commented Feb 3, 2025

I'm starting to wonder if the game is just buggy, because what I thought was reproducible, really isn't all the time, it's very random. It shows mostly under proton tho'.
When the "render hang" occurs tho' (dialog box above) it sometimes can jump a few frames if you alt-tab...

I've tried every trick I know of, nothing seems to help to get rid of the hangs.

Update:
Game seems to run much better after I installed the "Remove Epic Online Services" mod. It can still hang occasionally but way way less than before. I played for 3-4 hours without hangs or crashes.

@simifor
Copy link

simifor commented Feb 6, 2025

I played up to water predicament and in my way to there I didn't find any crash nor hang with my amd card, so I couldn't reproduce the issue. I did run into 3 smaller issues, but they also happen on windows, namely the stuttery logos when you start the game, an illumination issue around sackboy after you fall off "ready yeti go", and some sort of weird shadow applied on top of sackboy during the first world boss cinematics

@shelterx
Copy link
Author

shelterx commented Feb 6, 2025

@simifor Thanks!
May I ask what GPU and driver you use? Did you have RT on?

@simifor
Copy link

simifor commented Feb 6, 2025 via email

@shelterx
Copy link
Author

shelterx commented Feb 6, 2025

Ok, then we know it’s not happening on AMD. It’s possible it’s an Nvidia issue then.
I disabled the low latency2 extension in vkd3d, but that didn’t help.
Nor did hiding the Nvidia GPU.

@shelterx
Copy link
Author

shelterx commented Feb 7, 2025

@HansKristian-Work I think it's a game bug but any suggestion what I could do to provide better logs? A normal vkd3d-proton trace doesn't show much. Would breadcrumbs help?

Update:
I also get this during game startup sometimes.. I've a similar error message under DX12 in Windows too, so yeah. not very stable.
This error is from the game itself:

LowLevelFatalError [File:Unknown] [Line: 1228] 
FMallocBinned2 Attempt to realloc an unrecognized block 000000003FB40000   canary == 0x51 != 0xe3


0x00006fffffc1cf57 kernelbase.dll!UnknownFunction []
0x00000001419e7296 Sackboy-Win64-Shipping.exe!UnknownFunction []
0x00000001419a646d Sackboy-Win64-Shipping.exe!UnknownFunction []
0x00000001418e4919 Sackboy-Win64-Shipping.exe!UnknownFunction []
0x00000001419006ae Sackboy-Win64-Shipping.exe!UnknownFunction []
0x0000000141d1487f Sackboy-Win64-Shipping.exe!UnknownFunction []
0x0000000141ce1941 Sackboy-Win64-Shipping.exe!UnknownFunction []
0x0000000141d15389 Sackboy-Win64-Shipping.exe!UnknownFunction []
0x0000000141d150e2 Sackboy-Win64-Shipping.exe!UnknownFunction []
0x00000001406943e9 Sackboy-Win64-Shipping.exe!UnknownFunction []
0x000000014069a9dc Sackboy-Win64-Shipping.exe!UnknownFunction []

@runar-work
Copy link
Contributor

I'm getting crashes every five minutes or so with RT reflections on RTX 3070. There's a spot in the Ready Yeti Go level that reproduces reliably for me so far at least.

Image

I can get past this point with a debug build and VKD3D_CONFIG=breadcrumbs_sync, otherwise it crashes when I roll through the door to proceed upwards or on the way back down.

@shelterx
Copy link
Author

shelterx commented Feb 11, 2025

@runar-work Thanks a lot for checking... then it isn't just me. I was beginning to think my system was unstable :)
What always seem make the game hang for me, is if you go to the space ship (probably any will work), jump in and jump back out a few times, I said that before but it doesn't always hang, you need to repeat it.

breadcrumbs_sync does indeed seem to get rid of the hangs, at a cost I guess...

@shelterx
Copy link
Author

Ok so I played a lot with my son, since breadcrumbs_sync was enabled we only had one hang. The UE4 Fatal errors are as good as gone too but the performance take a hit (VKD3D_DEBUG is set to none).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants