Package Base Details: mesa-git

Git Clone URL: (read-only)
Keywords: mesa X11
Submitter: Krejzi
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 144
Popularity: 0.475933
First Submitted: 2014-06-19 21:33
Last Updated: 2016-12-11 23:17

Pinned Comments

Lone_Wolf commented on 2016-10-11 20:52

Updated Pinned Comment

Recommended way to update :

run pacman -Syu
build & update llvm-svn & lib32-llvm-svn
build & update mesa-git
build & update lib32-mesa-git

If you feel llvm-svn takes to long to build (50 minutes on my system) Kerberizer (aur llvm-svn & lib32-llvm-svn maintainer ) has setup an unofficial repo.

That repo is updated to latest llvm-svn several times per day.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

aig commented on 2016-12-01 23:04

It seems that vulkan-icd-loader now depends on vulkan-driver, which gave me some conflicts with the regular updates of my arch system. If I remember correctly pacman wanted to replace mesa-vulkan-intel-git and mesa-vulkan-radeon-git with the regular packages from the extra repo to statisfy that dependency.

Maybe you could take a look at my patch at

With this change it seems to be working fine for me now.

libgradev commented on 2016-11-11 15:14

FYI: PKGBUILD patch applied.

Many thanks to Lone_Wolf and Kerberizer for their hard work :)

kerberizer commented on 2016-11-10 13:15

[IMPORTANT] Mesa again builds correctly with the latest {,lib32-}llvm-svn, so it's safe to update your LLVM packages.


NB: You might need this tiny patch to mesa-git's PKGBUILD, which I'm sure @Lone_Wolf will apply shortly.

diff --git a/PKGBUILD b/PKGBUILD
index 0a8836e..96d5c8d 100644
@@ -168,7 +168,7 @@ package_mesa-vulkan-radeon-git() {

install -m755 -d ${pkgdir}/usr/share/vulkan/icd.d
- mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd.json ${pkgdir}/usr/share/vulkan/icd.d/
+ mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd.*.json ${pkgdir}/usr/share/vulkan/icd.d/

install -m755 -d ${pkgdir}/usr/lib
mv -v ${srcdir}/fakeinstall/usr/lib/ ${pkgdir}/usr/lib/

talonz commented on 2016-11-08 05:52

@kerberizer thanks for the updates

kerberizer commented on 2016-11-07 19:50

[NOTICE] Update for the LLVM r286062 issue with Mesa is now in code review:

Edit: Updated the link.

kerberizer commented on 2016-11-07 14:47

[HEADS UP] LLVM r286062 breaks Mesa

If you use llvm-svn with Mesa, particularly for the AMD open source driver, DO NOT upgrade LLVM to version >=r286062. Upgrading will not only break the existing driver, but will also prevent you from building Mesa altogether (in both cases there will be error messages related to missing LLVMAddFunctionAttr).

If you have already upgraded to a version >=r286062, here are some possible solutions:
1. Don't restart X: everything should mostly keep running, since the older shared lib has already been loaded in memory. A fix for Mesa should emerge in the meantime, probably in a day or two at most.
2. Return to an older LLVM version: if you don't regularly clear /var/cache/pacman/pkg, you should be able to find there package versions earlier than r286062.
3. Switch to llvm/mesa from the official repositories. This may be somewhat tricky, depending on what exact packages you had installed. Try replacing as much as possible of the installed llvm-svn/mesa-git packages with their llvm/mesa counterparts. Remove the -svn/-git packages that don't have an equivalent 'provides' in the official repos. Of course, this might break some functionality for you.

I'll also consider keeping older versions of the llvm-svn* packages in the binary repo as a backup.


SolarAquarion commented on 2016-11-01 01:33

:: blur-effect: installing mesa-libgl-git (13.1.0_devel.86161.1b88760-1) breaks dependency 'libegl'
:: blur-effect: installing mesa-libgl-git (13.1.0_devel.86161.1b88760-1) breaks dependency 'libgles'


Lone_Wolf commented on 2016-10-23 15:00

@all : upstream changed naming of some files, this caused a build error.
PKGBUILD now moves the correct files again.

@gentoofu :
commenting that line out would have solved the build error,but also break intel vulkan support.

LizziAS commented on 2016-10-23 00:34

Starting package_mesa-vulkan-intel-git()...
'/tmp/yaourt-tmp-lizzias/aur-mesa-git/src/fakeinstall/usr/lib/' -> '/tmp/yaourt-tmp-lizzias/aur-mesa-git/pkg/mesa-vulkan-intel-git/usr/lib/'
'/tmp/yaourt-tmp-lizzias/aur-mesa-git/src/fakeinstall/usr/include/vulkan/vulkan_intel.h' -> '/tmp/yaourt-tmp-lizzias/aur-mesa-git/pkg/mesa-vulkan-intel-git/usr/include/vulkan/vulkan_intel.h'
mv: cannot stat '/tmp/yaourt-tmp-lizzias/aur-mesa-git/src/fakeinstall/usr/share/vulkan/icd.d/intel_icd.json': No such file or directory
==> ERROR: A failure occurred in package_mesa-vulkan-intel-git().
==> ERROR: Makepkg was unable to build mesa-git.
==> Restart building mesa-git ? [y/N]

gentoofu commented on 2016-10-22 00:13

For mesa-vulkan-intel-git-13.1.0_devel.85935.8ff4182-1,
commenting the following line in PKGBUILD should resolve the issue:

mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/intel_icd.json ${pkgdir}/usr/share/vulkan/icd.d