Created attachment 134710 [details] witcher2_glthread.png Even though there were reports that glthread improves performance in Witcher 2, and it was enabled via drirc in recent mesa versions, it never worked for me. "API-thread-offloaded-slots" always stays at zero, see attached screenshot. In other games like Civilization 5 glthread works on my system as expected. My current package versions: linux-4.13.5 mesa-17.2.2 llvm-5.0.0 libdrm-2.4.82 xf86-video-amdgpu-1.4.0
My GPU: 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] [1002:6939] (rev f1) (prog-if 00 [VGA controller])
I had the same problem with other eON ports: Spec Ops: The Line and Overlord at least. It's turned out that it's due to disabled assembly in my 32-bit mesa build (--disable-asm). Not sure if it worth fixing this. Leaving the bug open for developers to decide.
I believe the dispatch code uses asm, disabling it probably falls back to a dispatch path that doesn't contain glthread. Either that or something else glthread related relies on asm being enabled. Either way this doesn't seem like a bug. Closing.
I don't think this has anything to do with 32 bits. There are 32-bit apps where glthread works. Witcher 2 is an app where glthread gets disabled.
(In reply to Marek Olšák from comment #4) > I don't think this has anything to do with 32 bits. There are 32-bit apps > where glthread works. Witcher 2 is an app where glthread gets disabled. Yeah it's not a 32bit issue apparently glthread doesn't work with --disable-asm
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.