Created attachment 136066 [details]
screenshot of artifacts
I posted this bug on the valve github page first. They confirmed it, but asked me to report it here.
Your system information
System information from steam (Steam -> Help -> System Information) in a gist:
Form Factor: Desktop
No Touch Input Detected
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600X Six-Core Processor
CPU Family: 0x17
CPU Model: 0x1
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 3600 Mhz
12 logical processors
6 physical processors
Operating System Version:
Linux 4.x (64 bit)
Kernel Name: Linux
Kernel Version: 4.14.4-1-ARCH
X Server Vendor: The X.Org Foundation
X Server Release: 11905000
X Window Manager: KWin
Steam Runtime Version: steam-runtime-beta-release_2017-07-24
Driver: X.Org Radeon RX 580 Series (AMD POLARIS10 / DRM 3.19.0 / 4.14.4-1-ARCH, LLVM 5.0.0)
Driver Version: 3.0 Mesa 17.2.5
OpenGL Version: 3.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 144 Hz
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.91" x 11.77" (23.98" diag)
53.1cm x 29.9cm (60.9cm diag)
Primary VRAM: 8171 MB
Audio device: ATI R6xx HDMI
RAM: 16045 Mb
UI Language: English
Total Hard Disk Space Available: 468427 Mb
Largest Free Hard Disk Block: 413929 Mb
VR Headset: None detected
Recent Failure Reports:
Have you checked for system updates?: Yes and I have tried reinstalling mesa and xf86-video-amdgpu
Please describe your issue in as much detail as possible:
There are artifacts in the rendered ground (so far I have only seen it on de_cache). Two offset black squares with glitches appear around the player in certain areas.
Steps for reproducing this issue:
Join any game on de_cache
Set shader level to "high" or "very high (default)"
Look at artifacts in rendering the ground.
This was kisak-valve's comment on their github:
"Hello @Heis, on my AMD test box, mesa 17.2.6 built against llvm 5.0.0 is affected, while llvm 4.0.1 is not affected.
This should also be brought to the attention of your driver vendor if it has not been already."
I had same issue on my RX480 (bug 103056), but it appears the video card had a dead VRAM chip. Now I'm back to HD7950 with amdgpu kernel driver, and it looks like TAHITI card is not affected.
I can confirm seeing the same artifacts in CSGO on a R9 285 (Tonga) using Ubuntu 17.10 with Mesa 17.3.2, LLVM 5.0 (Padoka Stable PPA).
*** Bug 103056 has been marked as a duplicate of this bug. ***
(In reply to Kristian Nyborg Dahl from comment #1)
> This was kisak-valve's comment on their github:
> "Hello @Heis, on my AMD test box, mesa 17.2.6 built against llvm 5.0.0 is
> affected, while llvm 4.0.1 is not affected.
> This should also be brought to the attention of your driver vendor if it has
> not been already."
I just tested with latest available mesa (17.3.7) and llvm (184.108.40.206). Seems to be solved.
(In reply to Kristian Nyborg Dahl from comment #5)
> (In reply to Kristian Nyborg Dahl from comment #1)
> > This was kisak-valve's comment on their github:
> > "Hello @Heis, on my AMD test box, mesa 17.2.6 built against llvm 5.0.0 is
> > affected, while llvm 4.0.1 is not affected.
> > This should also be brought to the attention of your driver vendor if it has
> > not been already."
> I just tested with latest available mesa (17.3.7) and llvm (220.127.116.11). Seems
> to be solved.
Great! Thanks for retesting.
Is it a good idea to close this bug? There seem to be a number of bugs affected by a problem with llvm 5.0. Unfortunatly, LLVM 5.0 series releases no stable builds, so a fix cant be backported there.
I guess it would be also too hard to code somekind of workaround in mesa. Maybe restrict the use of LLVM 5.0 in stable releases?