Package Details: mesa-minimal-git 22.0.0_devel.148113.f7e63ec5d87-1

Git Clone URL: (read-only, click to copy)
Package Base: mesa-minimal-git
Description: an open-source implementation of the OpenGL specification, stripped down git version
Upstream URL:
Licenses: custom
Conflicts: libva-mesa-driver, mesa, mesa-vdpau, opencl-mesa, vulkan-intel, vulkan-mesa-layer, vulkan-radeon, vulkan-swrast
Provides: libva-mesa-driver, mesa, opencl-driver, opencl-mesa, opengl-driver, vulkan-driver, vulkan-intel, vulkan-mesa-layer, vulkan-radeon, vulkan-swrast
Submitter: shoober420
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 7
Popularity: 0.72
First Submitted: 2020-12-10 00:38
Last Updated: 2021-12-16 13:33

Required by (1000)

Sources (2)

Pinned Comments

Lone_Wolf commented on 2021-01-22 18:36

Why does this package hard depend on llvm-minimal-git ?

  • performance

archlinux repo packages are build with -march=x86-64 -mtune=generic which works on lots of machines but makes limited use of modern processor capabilities. For many packages this has little impact, but with llvm my experience is different.

My local builds for llvm / mesa are done with -march=native and this has a noticeable effect on their performance.

How big the benefit of this is depends heavily on the exact hardware you use. Worse, the software setup also impacts this. The only way to find out if it benefits your system/software setup is to try it out yourself.

  • easier maintenance and troubleshooting

Since i started my first mesa trunk package late in 2010 I have maintained versions without any llvm, one llvm implementation, split versions, singular versions, versions supporting multiple llvm implementations , switch from libgl hacks libglvnd to allow mesa & nvidia to cooperate etc.

Depending on one llvm variant in a non-splitted singular version results in a simple PKGBUILD that is easy to maintain.

Troubleshooting is also much easier if maintainer uses the same llvm variant as users.

If people feel those reasons are not good enough to hard depend on llvm-minimal-git , maybe I should transfer ownership .

Lone_Wolf commented on 2021-01-09 15:02

Why does this exist ?

Basically mesa/mesa-git build almost everything they can build.

This package tries to build just enough so everyone can use it, but disables older and/or unused components.

Check for a discussion about this package.

Latest Comments

1 2 3 Next › Last »

Lone_Wolf commented on 2021-10-20 08:52

libffi has been updated, so llvm-minimal-git needs a rebuild .

After that rebuild has finished you will need to rebuild this pacakge also .

Lone_Wolf commented on 2021-10-09 12:36

Patch added to solve a build failure, see

xenu commented on 2021-09-14 09:11

clover patch has also been commited now:

Lone_Wolf commented on 2021-09-13 12:33

Thanks for the alert, Xenu.

Patch edited & renamed, working on lib32-mesa-minimal-git now. .

xenu commented on 2021-09-13 09:07

MR 12715 has been commited to main:

Though this only fixes "src/amd/llvm/ac_llvm_helper.cpp". Patching "src/gallium/frontends/clover/llvm/codegen/common.cpp" was not part of this MR.

Thank you for your work Lone_Wolf.

Lone_Wolf commented on 2021-09-08 12:02

Patch as posted by xenu applied.

Thanks for creating it.

xenu commented on 2021-09-08 04:34

Created a short patch for current build issue with llvm14 (based on

--- a/src/amd/llvm/ac_llvm_helper.cpp
+++ b/src/amd/llvm/ac_llvm_helper.cpp
@@ -60,7 +60,7 @@
    llvm::Argument *A = llvm::unwrap<llvm::Argument>(arg);
    llvm::AttributeList AS = A->getParent()->getAttributes();
    unsigned ArgNo = A->getArgNo();
-   return AS.hasAttribute(ArgNo + 1, llvm::Attribute::InReg);
+   return AS.hasParamAttr(ArgNo, llvm::Attribute::InReg);

--- a/src/gallium/frontends/clover/llvm/codegen/common.cpp
+++ b/src/gallium/frontends/clover/llvm/codegen/common.cpp
@@ -233,8 +233,8 @@ namespace {

             } else {
-               const bool needs_sign_ext = f.getAttributes().hasAttribute(
-                  arg.getArgNo() + 1, ::llvm::Attribute::SExt);
+               const bool needs_sign_ext = f.getAttributes().hasParamAttr(
+                  arg.getArgNo(), ::llvm::Attribute::SExt);

                args.emplace_back(module::argument::scalar, arg_api_size,
                                  target_size, target_align,

until that MR gets added.

xenu commented on 2021-07-10 06:37

I had an issue with opengl games freezing after a short time and causing a GPU reset (Radeon 6900XT). Same game run with zink worked fine. Downgrading llvm/clang to version 12 and rebuilding this package resolved the issue. Anyone else run into this?

Lone_Wolf commented on 2021-07-05 13:35

Depends on which functionality you need.

  • libunwind is for debugging

  • lmsensors adds graphics related sensors to lmsensors database

  • gallium-opencl enables opencl through libclc, but mainly works on polaris (like RX 580) and earlier cards.

If you feel you don't need / want that functionality, you can disable them and simplify dependencies a bit .

amoka commented on 2021-07-04 19:59

Oops! you're right. I cloned that one instead!

Thanks for maintaining this really! Now I want to go more minimal with only AMD stuff, should I only edit the vulkan-drivers and gallium-drivers or are there extra stuff to modify in PKGBUILD as well?