Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710462 - media-libs/mesa-20.0.0 should be buildable using LLVM 11.
Summary: media-libs/mesa-20.0.0 should be buildable using LLVM 11.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 05:22 UTC by freddyreimer
Modified: 2020-02-22 23:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info as requested in bugzilla (emergeinfo,5.86 KB, text/plain)
2020-02-22 05:22 UTC, freddyreimer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description freddyreimer 2020-02-22 05:22:46 UTC
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.
Comment 1 Matt Turner gentoo-dev 2020-02-22 23:08:34 UTC
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).