protonscr

Stalcraft

protonclosed appid 1818450Game compatibility - UnofficialMesa drivers
ValveSoftware/Proton#7544 · opened 2024-03-02 by kjirc · updated 2024-04-09 · 3 comments · github · game page · search this game
1 matching comments, n / p to jump
Kkjirc 2024-03-02 github

Compatibility Report

  • Name of the game with compatibility issues: Stalcraft store page
  • Steam AppID of the game: 1818450

System Information

  • GPU: AMD Radeon RX 7800 XT
  • Video driver version: Mesa 24.0.1
  • Kernel version: 6.7.6
  • Link to full system information report as Gist:
  • Proton version: i tried 7.0-6, 8.0-5, 9.0 (Beta), GE 8-32

I confirm:

  • [y] that I haven't found an existing compatibility report for this game.
  • [y] that I have checked whether there are updates for my system available.

ProtonLog

short-version (first 2000 logs) proton-log-gist
compressed-one:
steam-1818450.zip

Symptoms

  1. When the Bloom effect is on, small blue squares appear all over the screen
    2024-03-02_17-43-23

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]

  1. Minimap extends beyond the boundary of the circle and overlaps the player counter
    2024-03-02_16-51-12
    It should be like this:
    2024-03-02_16-54-35

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

Kkjirc 2024-03-11 github

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
2024-03-11_17-37-49
Mesa Zink (OpenGL -> Vulkan)
2024-03-11_17-40-29

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

Kkjirc 2024-04-05 · hidden on GitHub github
Kkjirc 2024-04-09 github

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.

Launch options

Launch lines