Package Details: mesa-git 19.0.0_devel.106254.e4f9a37ace-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: 154
Popularity: 0.941451
First Submitted: 2014-06-19 21:33
Last Updated: 2018-12-16 12:42

Required by (842)

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-22 22:06

6 days  removed codegenoptions patch    LW-archlinux
9 days  updated srcinfo LW-archlinux
9 days  patch added to solve opencl compilation problem LW-archlinux

The patch was added 9 days ago, then removed 3 days later after upstream had implemented an improved version of it AND i had confirmed it was no longer needed by building mesa-git without the patch.

I build mesa-git 5 minutes ago without any problem.

Enverex, if you have build failures now they have other causes.

yurikoles commented on 2018-12-22 20:23

@Enverex it was fixed already

Enverex commented on 2018-12-22 20:15

Lone_Wolf: Any chance of including that patch until they actually fix this upstream? It's been broken for some time now.

bpierre commented on 2018-12-12 12:53

Or use this patch:

Lone_Wolf commented on 2018-12-12 12:04

Build failure : caused by


edit PKGBUILD and remove opencl support by using

-D gallium-opencl=disabled \

instead of

-D gallium-opencl=icd \

Lone_Wolf commented on 2018-12-11 23:05

confirmed, investigating

QuartzDragon commented on 2018-12-11 14:34

Hi everyone,

Is anyone else getting this:

In file included from ../mesa/src/gallium/state_trackers/clover/llvm/codegen/native.cpp:31:
../mesa/src/gallium/state_trackers/clover/llvm/compat.hpp:61:10: fatal error: clang/Frontend/CodeGenOptions.h: No such file or directory
#include <clang/Frontend/CodeGenOptions.h>
compilation terminated."

When attempting to compile mesa-git with kerberizer's latest llvm-svn packages?

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.