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

Stalcraft (1818450) #7544

Closed
kjirc opened this issue Mar 2, 2024 · 3 comments
Closed

Stalcraft (1818450) #7544

kjirc opened this issue Mar 2, 2024 · 3 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver

Comments

@kjirc
Copy link

kjirc commented Mar 2, 2024

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

@kisak-valve kisak-valve added Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver labels Mar 2, 2024
@kjirc
Copy link
Author

kjirc commented Mar 11, 2024

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

@kjirc

This comment was marked as duplicate.

@kjirc
Copy link
Author

kjirc commented Apr 9, 2024

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.

@kjirc kjirc closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver
Projects
None yet
Development

No branches or pull requests

2 participants