Created attachment 615046 [details] emerge --info as requested in bugzilla Hello, I am currently following an ongoing AMDGPU bug in which the GPU driver frequently hangs up and completely crashes when running 3D software, namely games. This forces users affected to hard reboot their systems, and in some cases seems to even affect desktop usage. More information in the following two links. https://bugzilla.kernel.org/show_bug.cgi?id=205675 https://gitlab.freedesktop.org/drm/amd/issues/892 In the second one, users and developers are attempting to find what the solution is to this problem. At a certain point, about a week ago as of the time of this writing, someone mentions kernel 5.6 slightly improves the situation. When I ask the maintainer if there is a chance of a full fix, he replies saying to update mesa and LLVM. Another user then replies below that stating that using mesa 20, specifically compiled with LLVM 11, was indeed what solved the problem. Although there is another report claiming that using this was unsuccessful for them, compiling mesa 20 with LLVM 11 is referenced multiple times, and is the closest lead towards solving this longstanding GPU bug. Because this is mentioned as being possible and indeed probably the solution to a major problem for multiple users, I think it would make sense to allow media-libs/mesa 20 to be built using that version of LLVM, bumping the LLVM_MAX_SLOT in its ebuild from 9 to 11.
Unfortunately no. Mesa only supports released versions of LLVM, per upstream policy. If there's a patch that can be cherry-picked to fix the issue we can do that, but it doesn't look like a sure thing that the issue is even fixed upstream (from a cursory look at the bug reports).