-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mesa: build with meson #56199
mesa: build with meson #56199
Conversation
952a86a
to
adcb5c1
Compare
This should be fine now, [1] https://gitlab.freedesktop.org/mesa/mesa/commit/66673bef941af344314fe9c91cad8cd330b245eb |
adcb5c1
to
ddd5dc7
Compare
|
ddd5dc7
to
570e44c
Compare
Is there a reason why self: super:
{
mesa_noglu = (super.mesa_noglu.override {
galliumDrivers = [ "virgl" "svga" "i915" "iris" "r300" "r600" "radeonsi" "nouveau" ];
}).overrideAttrs (oldAttrs: {
inherit (oldAttrs) pname;
version = "19.1.0-devel";
src = builtins.fetchGit {
url = "https://gitlab.freedesktop.org/mesa/mesa.git";
rev = "2bd08b8b9de9b10ecad5b808f56af2aa1bb8e007";
};
});
} Done at #56261. |
2f12f78
to
55c0e7e
Compare
Screwed up again, need to include |
55c0e7e
to
3d8cc35
Compare
@@ -36,16 +35,16 @@ let | |||
then ["virgl" "nouveau" "freedreno" "vc4" "etnaviv" "imx"] | |||
else if stdenv.isAarch64 | |||
then ["virgl" "nouveau" "vc4" ] | |||
else ["virgl" "svga" "i915" "r300" "r600" "radeonsi" "nouveau"]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't really know what to prefer here, read somewhere that the gallium driver is "unofficial" so went with the dri driver.
On the few weekends I spent recompiling my system, it more or less works fine, though I've ended up reverting due to abnormal CPU usage with compton using iris (don't know if it's been fixed since then). |
f029734
to
b680659
Compare
Building this on my machine currently, we'll want to merge this into staging soon IMO because it seems that Mesa 19.1 will be the first release to remove the old build system, and require Meson. |
Only 2 weeks left until the Mesa 19.1 release[1]. Any plans to merge into master/staging? |
Mesa 18 is very buggy with some vega cards and leads to GPU crashes while vulkan is enabled. I've got a temporary fix for myself (disable vulkan at build time), but I'd very much like this to be merged for everybody since upgrading mesa is the way better solution. |
Needs rebase. |
1384351
to
150d7f8
Compare
150d7f8
to
512c1c4
Compare
Wow, thanks for the quick update! I did an equivalent local patch myself and can confirm that this seems to run just fine with my vega setup for both vulkan and opengl. |
Awesome! I had a small problem where it would complain I was trying to use
same as two provider types or something? Idk, but otherwise LGTM and if you
both didn't encounter this Im happy getting this in and possibly foxing
later... It can be hard to maintain this sort of thing over time. Even if
our local hero made it look easy ,^.^
…On Tue, Jun 11, 2019, 4:05 PM Philipp ***@***.***> wrote:
Wow, thanks for the quick update! I did an equivalent local patch myself
and can confirm that this seems to run just fine with my vega setup for
both vulkan and opengl.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#56199?email_source=notifications&email_token=AAGHRMXMAWVTV4DDMU2CSZLP2AHQTA5CNFSM4GZHZFB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXOP6SQ#issuecomment-501022538>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGHRMU2TIKJ4OTRMMPEGULP2AHQTANCNFSM4GZHZFBQ>
.
|
5102a4a
to
0f123c5
Compare
0f123c5
to
66526c2
Compare
Is it possible to upgrade LLVM to version 8? I know that some LLVM 7.x.x versions has caused issues for DXVK (wine D3D to vulkan layer) and I've seen mesa 19 being paired well with LLVM 8. There is already an LLVM override for this package so one can simply change a single line in the all-packages.nix I think. |
0f01818
to
f6848b9
Compare
@GrahamcOfBorg eval |
f6848b9
to
1141c6f
Compare
I hope it is okay, I rebased on staging. |
@GrahamcOfBorg build mesa |
Motivation for this change
Wanted to try iris.
Builds fine on top of 5f2252c with #56261 and b9392ac for iris, and 4d5295e and 6f9a7f0.
radeon
doesn't seem to exist anymore..la
files don't seem to be present anymore.$out/lib/pkgconfig
exists duringpostInstall
but is only moved to$dev/lib/pkgconfig
infixupPhase
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)[1] https://gitlab.freedesktop.org/mesa/mesa/blob/master/meson.build#L208