Package Details: mesa-git 19.0.0_devel.105763.d1a1c21e76-1

Git Clone URL: (read-only)
Package Base: mesa-git
Description: an open-source implementation of the OpenGL specification, git version
Upstream URL:
Keywords: mesa X11
Licenses: custom
Conflicts: libva-mesa-driver, mesa, mesa-vdpau, opencl-mesa, vulkan-intel, vulkan-radeon
Provides: libva-mesa-driver, mesa, mesa-vdpau, opencl-driver, opencl-mesa, opengl-driver, vulkan-driver, vulkan-intel, vulkan-radeon
Submitter: Krejzi
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 153
Popularity: 0.229620
First Submitted: 2014-06-19 21:33
Last Updated: 2018-11-16 16:22

Required by (822)

Sources (2)

Pinned Comments

Lone_Wolf commented on 2018-01-30 14:06

  • issues
Simple issues can be dealth with through aur comments, but sometimes discussion is needed.
Use for that.
  • main difference with stable repo package
[extra]mesa is a split package, but aur mesa-git isn't.
Basically with aur mesa-git you get everything in one package, while [extra]/mesa allows you to leave out some parts if you don't want/need them.
Having a single package reduces maintenance and makes switching from stable to mesa-git rather easy, though reverting back to stable can be tricky.
  • meson settings
Those who compare PKGBUILDs will notice I don't use arch-meson, but meson setup.
I disagree with some of the settings made by arch-meson (especially the buildtype and enabling LTO by default) and feel using meson setup is cleaner.
  • wayland
The EGL files needed for wayland (and some programs like firefox) support are being moved from mesa to wayland, This package no longer provides them.
wayland 1.15 and later provide the necessary files.
Either extra/wayland or AUR/wayland-git should provide this.

I don't use wayland myself, so can't test it.
  • llvm-svn
For full functionality and latest features mesa trunk master needs to be build against llvm trunk master.
If you build against stable llvm things MAY work, but you're likely to lack some features and face stability issues.
  • how to update

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.
See .
That repo is updated to latest llvm-svn several times per day.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Lone_Wolf commented on 2018-12-04 22:01

First, llvm / lib32-llvm , clang / lib32-clang and their svn counterparts are only needed at build time. at runtime llvm-libs/ lib32-llvm-libs and their svn counterparts are all that's needed.

In order to figure out what is needed, check the provides lines of the *-git PKGBUILDS.

provides=('mesa' 'vulkan-intel' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau' 'vulkan-driver' 'opencl-mesa' 'opengl-driver' 'opencl-driver') opengl-driver is supplied by mesa opencl-driver is supplied by opencl-mesa vulkan-driver is supplied by vulkan-intel & vulkan-radeon

to get full mesa-git functionality with extra packages you need to install mesa vulkan-intel vulkan-radeon libva-mesa-driver mesa-vdpau opencl-mesa

Use the same method for lib32-mesa.

After reverting to stable mesa, make sure to re-start X or reboot . run 'glxinfo | grep -i opengl' from an X-terminal to verify the switch has worked (glxinfo32 for lib32)

striking commented on 2018-11-30 05:30

I would like to return to stable mesa but am having trouble doing so.

I tried pacman -S vulkan-radeon lib32-vulkan-radeon lib32-mesa mesa lib32-llvm-libs llvm-libs lib32-llvm llvm clang but Steam fails to launch with "Main.cpp (332) : Assertion Failed: Fatal Error: glXChooseVisual failed" and Dolphin Emulator will tell me "Failed to create shared context for shader compiling." a couple times before it boots.

How do I return to completely stock stable mesa after having installed mesa-git?

Lone_Wolf commented on 2018-11-16 18:53

libedit error was caused by llvm-libs-svn, has been fixed there.

After investigating I've found libxrandr is a required makedepend, added that.

PedroHLC commented on 2018-11-12 10:54

Thought 'llvm-config --version' shows '8.0.0svn', during config it fails not finding llvm-config >= 6.0.0. Anyone else having this? I'm building from a clean chroot...

EDIT: Nevermind. For some reason on clean chroot llvm-svn is not installing libedit...

EDIT#2: xrandr seems to be required for building mesa-git thought.

Lone_Wolf commented on 2018-10-31 12:22

Check the last paragraph of the sticky comment, "how to update"

Incase you're already using the llvm-svn unofficial repo, building just mesa-git should take 10-30 minutes .

Useful tips to speed up compiling :

torbido commented on 2018-10-30 22:27

How to update mesa-git without have to remove it and build again? because building from the beginning takes about 9 hours!

Lone_Wolf commented on 2018-10-26 12:09

I guess you're referring to the patches mentioned here : ?

I've tried to follow the thread on mesa-dev, but there are several patchsets involved and the consensus appears to be more testing is needed.

Also looking at commits by Samuel Pitoiset to mesa-git,

there's no sign yet of VK_EXT_Transform making it in.

You can try subscribing to mesa-dev to follow development or check cgit regularly.

torbido commented on 2018-10-25 14:20

No, I am just waiting for the RADV patches for VK_EXT_transform_feedback to land on Mesa 18.3. I heard there will be an update on next Wednesday 10/31.

Lone_Wolf commented on 2018-10-23 00:25


this is a *-git package. The PKGBUILD is setup to always retrieve the latest version and adjust the pkgver.

As long as the package builds and runs ok, there's no reason to update the PKGBUILD.

Do you have problems building ?

torbido commented on 2018-10-22 23:34

When is it going to be updated?!