r300: Glitches and disapearing objects on The Talos Principle
System information
- OS: Ubuntu 22.04
- GPU: VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV560 [Radeon X1650 XT]
- Kernel version: 5.15.0
- Mesa version: 2.1 Mesa 22.3.0-devel (git-10de12d7)
- Xserver version (if applicable): 1.21.1.3
- Desktop manager and compositor: Mate no compositor
Describe the issue
A lot a black glitches are visible while playing, and a lot of object disappear and reappear the next frame. Those happen much less frequently or never when there are only a few objects to draw.
Those glitches doesn't happen if:
- The environment variable
RADEON_DEBUG=notcl
is set (this also reduce considerably performance) - When recording a trace of the game
- When replaying the trace (at least it seems much less visible)
Without RADEON_DEBUG=notcl
, a lot of r300 VP: cannot handle clip vertex output.
lines are printed.
Screenshots/video files (if applicable)
Trace of the game: Talos_r300.trace
Any extra information would be greatly appreciated
While the game as no artifacts (other than being too dark) when running on Windows OpenGL, the performance is extremely bad (less than 1 FPS).
Some shaders don't compile with this error:
10845: message: major shader compiler issue 433: 0:2(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader 10845: message: major shader compiler error 434: 0:1154(28): error: syntax error, unexpected NEW_IDENTIFIER, expecting '{'
I don't know if these shaders are actually used, at least on lowest settings. I also haven't tested the OpenGL renderer on others DX9 era hardware.
Using a legacy build of the game "legacy - pre-SE2017 build" as current build no longer have OpenGL support. The older build will delete the save from newer builds.