Radeon 5700XT: Small render glitches around "heat balls" in dhewm3 (Doom 3)
System information
- OS:
Arch Linux
(as of 1. July 2021) - GPU:
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1)
- Kernel version:
Linux killua 5.12.14-1-custom #1 SMP PREEMPT Thu, 01 Jul 2021 14:52:33 +0000 x86_64 GNU/Linux
- Mesa version:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.3
- Desktop manager and compositor: Gnome 40.1 with Wayland, dhewm3 running under Xwayland 21.1.1
Describe the issue
I'm a contributor to https://github.com/dhewm/dhewm3/, a Doom 3 source port. I noticed some explainable render glitched or artifacts around something that can be described as "heat balls", a nearly spherical shader based effect which simulates shimmering air around head sources like fire or lava. The problem doesn't occur around all heat balls, the only place where I observed it so far is one level called hell1.map. The problem cannot be reproduced on an Intel iGPU (Intel Core i7-8550U, UHD Graphics 620 / KBL GTL2, Mesa 21.1.3) nor an Nvidia GPU (Nvidia MX150, Nvidia Linux Driver 465.31.
This can only be reproduced with the full version of Doom 3: Get Doom 3, build dhewm3 and start the game. Open the console with shift-esc
and select the map by entering map game/hell1.map
. After the map has loaded, look into the lava. You'll see red circles around the heat balls, especially on the left side to the path the stairs in front of you.
Doom 3 and thus dhewm3 are using ARB shaders and not GLSL shaders.
I'm attaching screenshots and an apitrace below.
Regression
I'm not sure. I can't remember that it ever worked on my 5700XT, I got the card in October 2019. But my memory may fool me and I haven't played a lot Doom 3 on this card... @DanielGibson gave it a try on his Radeon RX580 is pretty sure that he cannot reproduce the problem. That was with Mesa 20.3.1. I would take that with a grain of salt, because it was only a very short test on another card with an older architecture.
Screenshots/video files (if applicable)
A screenshot with the problem, these red circles shouldn't be there:
And a screenshot from the Intel iGPU, it should look this way:
An apitrace: dhewm3.trace.xz
Any extra information would be greatly appreciated
- Installing dhewm3 from packages should be enough, instructions for compiling can be found here: https://github.com/dhewm/dhewm3#compiling
- Installing the Doom 3 game data: https://dhewm3.org/#how-to-install