I've had a little time to figure it out. I tried to run the game through Zink (Very simplistically speaking it converts OpenGL calls to Vulkan). And it solves both problems.
Mesa OpenGL
Mesa Zink (OpenGL -> Vulkan)
So it is suggested that the problem is actually in Mesa's implementation of OpenGL
I'll create an issue about Stalcraft OpenGL in the Mesa repository one of these days as time permits
news:
This problem is probably related to mesa shaders.
It affects not only Stalcraft, all other opengl games (minecraft etc).
At least navi32 (RX7700/7800), navi33(RX7600) are affected.
solution:
Starting the game with a variable (launch option) AMD_DEBUG=useaco %command% works for me at the moment
If that doesn't work, try AMD_DEBUG=w32ps %command%, also you can try to run game through Zink MESA_LOADER_DRIVER_OVERRIDE=zink
Since the question is not related to proton, I'm closing the issue. Mesa's issue on this problem.
MESA_LOADER_DRIVER_OVERRIDE=zink`x1 2024-04AMD_DEBUG=useaco %command%x1 2024-04AMD_DEBUG=w32ps %command%x1 2024-04
Compatibility Report
System Information
I confirm:
ProtonLog
short-version (first 2000 logs) proton-log-gist
compressed-one:
steam-1818450.zip
Symptoms
a lot of little squares (video)
[Bloom is turned on at the beginning of the video - there are artifacts in the kind of blue squares spontaneously appearing all over the screen, then I turn off Bloom, the squares disappear, at the end I turn it on, the squares appear]
[Sorry I can't switch the language in the game settings, regional restrictions]
It should be like this:
Reproduction
Run game using proton on amd gpu
(I had an Nvidia GPU before, and did not have these issues)
So maybe it's about Mesa's OpenGL implementation and I need to create an issue in their repo