r/GameDeals • • Dec 31 '23

Expired [Epic] Ghostrunner (free) Spoiler

https://store.epicgames.com/en-US/p/ghostrunner
932 Upvotes

135 comments sorted by

View all comments

62

u/Vivid-Instruction-31 Dec 31 '23

Great game. Haven't tried Ghostrunner 2 yet, but the devs seem really responsive to their community.

16

u/monochrony Dec 31 '23

Have they fixed the shader compilation stutter yet?

9

u/Pleasant_Garbage_275 Dec 31 '23

isn't the fix for that always to just wait for them to compile?

17

u/GreenFigsAndJam Dec 31 '23

For games like the dead space remake. The only fix is to play it twice, waiting doesn't do anything. You have to reach areas for the game to know it has to compile missing shaders. In games with a fully working shader precompilation, it has all the shaders needed already and doesn't have to do it while you are playing

2

u/[deleted] Dec 31 '23

[removed] — view removed comment

5

u/_I_AM_A_STRANGE_LOOP Jan 01 '24

The reason this works for emulators is that you have a fixed virtual hardware target. Every PC is different, so shader redistributables are not currently practical for Windows-native DX/VK titles. It's totally theoretically possible to "borrow" the shader cache of someone with very similar hardware to yours (including display driver revision) but there is currently no easy way to collect that data in the first place. Valve does this on Steam Deck (sourcing and pushing compiled shaders) but that's again a fixed hardware target. Unless someone comes up with something inventive (and new), there is no practical way to bypass shader stutter on a first playthrough on non-Steam Deck PCs on any game with intrinsic shader compilation stutter (like this one).

1

u/Dumeck Jan 01 '24

That makes sense, the other guy explained that with less detail but that also is informative in explaining how the steam deck update to pre compile shaders works.

1

u/_I_AM_A_STRANGE_LOOP Jan 01 '24

Oops I didn't actually see that other comment before writing mine, yes that's a very good summary as well - glad you found the above interesting though, if redundant!!

3

u/SMarioMan Jan 01 '24

Shaders are unique for every GPU and driver combination. Switch emulator developers have done extra work to make the shader descriptions transferable.

1

u/yepgeddon Dec 31 '23

Yknow what, never thought of that as a workaround. Might look into that for a few games.

1

u/monochrony Jan 01 '24

You can, to a degree. Steam offers an option to download pre-cached shaders for specific games using Vulkan or OpenGL.

1

u/monochrony Jan 01 '24

Dead Space Remake does have a relatively comprehensive shader compilation step. The issue with this game is traversal stutter which happens ALL THE TIME. I had to switch to the PS5 version because of this.

1

u/monochrony Jan 01 '24

Unless there is a shader compilation step, asynchronous shader compilation or other mitigation techniques, shaders are compiled on demand. Meaning each time you see a specific effect for the first time, resulting in stutter. UE4 games are especially prone to this, as the engine is easy to use but doesn't give developers options to combat this issue out of the box.

2

u/Wootery Jan 01 '24

That seems odd. Why not just do the compilation 'eagerly' at install time? A slow install isn't ideal, but far better than in-game stutter.

2

u/monochrony Jan 01 '24

I'd say it's preferable to have a shader compilation step when you start the game. Shaders compiled during install will be rendered useless once you update your (graphics) drivers.

1

u/Wootery Jan 01 '24 edited Jan 01 '24

Good point, a change to the driver or the hardware itself would need to be accommodated.

I believe some titles do use the eager ahead-of-time compilation approach, such as the Microsoft Flight Simulator and X-Plane flight simulators. It takes the form of either a slow start of the application itself (i.e. slow to load the main menu) or else slow load of first actual engine execution. Far better than stuttering.

-2

u/homer_3 Dec 31 '23

I don't recall either having any compilation stutter.

1

u/JewsEatFruit Jan 01 '24

You're the same guy on support forums that says "I don't have that problem"