Package Details: mesa-git 19.2.0_devel.112785.a110a8090d6-1

Git Clone URL: https://aur.archlinux.org/mesa-git.git (read-only)
Package Base: mesa-git
Description: an open-source implementation of the OpenGL specification, git version
Upstream URL: https://www.mesa3d.org
Keywords: mesa X11
Licenses: custom
Conflicts: libva-mesa-driver, mesa, mesa-vdpau, opencl-mesa, vulkan-intel, vulkan-mesa-layer, vulkan-radeon
Provides: libva-mesa-driver=19.2.0_devel.112785.a110a8090d6-1, mesa=19.2.0_devel.112785.a110a8090d6-1, mesa-vdpau=19.2.0_devel.112785.a110a8090d6-1, opencl-, opencl-driver, opengl-driver, vulkan-driver, vulkan-intel=19.2.0_devel.112785.a110a8090d6-1, vulkan-mesa-layer=19.2.0_devel.112785.a110a8090d6-1, vulkan-radeon=19.2.0_devel.112785.a110a8090d6-1
Submitter: Krejzi
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 157
Popularity: 0.889117
First Submitted: 2014-06-19 21:33
Last Updated: 2019-07-09 13:18

Required by (897)

Sources (2)

Pinned Comments

Lone_Wolf commented on 2019-07-09 13:53

glesv2 not found

Mesa USED TO provide glesv2.pc files all the time, but now only does that when built without libglvnd support.

Mesa devs feel that whoever generates the driver/library should provide such files and I agree with them. This means that libglvnd devs need to provide them, but sofar they failed to do that.

https://aur.archlinux.org/packages/libglvnd-glesv2 is patched to provide all pkgconfig files for the drivers/libararies libglvnd builds, use that instead of stock libglvnd.

Lone_Wolf commented on 2019-07-09 13:43

  • llvm

Why would I want to use llvm development versions ?

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.

Mesa-git uses a custom environment variable MESA_WHICH_LLVM for flexibility.
It has 4 values.
1 : aur llvm-minimal-git
2 : aur llvm-git
3: llvm-git from LordHeavy' unofficial repo
4: llvm from extra repo

I use value 1 95% of the time and set this in ~/.bash_rc .
If MESA_WHICH_LLVM is unset or empty, the default value of 4 (extra llvm) is used.

Lone_Wolf commented on 2019-06-04 15:15

AUR Helpers are NOT supported

I built and test with makepkg. Building with Devtools and Clean Chroot Manager should work fine also (I test them occasionally).

This package and lib32-mesa-git use a custom method to dynamically determine which llvm version is to be used. Several AUR helpers (atleast pamac and yay) have problems with that method.

Incase you try to build mesa-git with one of those AUR helpers

& ARE NOT USING THE DEFAULT SETTING OF MESA_WHICH_LLVM ,

run makepkg --printsrcinfo > .SRCINFO after downloading and BEFORE building.

That should help pamac and yay to handle my custom method.

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 https://bbs.archlinux.org/viewtopic.php?id=212819 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.
  • how to update

run pacman Syu update non-repo packages for llvm if you use them

build mesa-git, log out , restart X .

run glxinfo to verify basic OpenGL functionality

build lib32-mesa-git

run glxinfo32 to verify basic OpenGL functionality for multilib programs

Latest Comments

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

PedroHLC commented on 2019-04-03 13:42

Program glslangValidator found: NO

src/vulkan/overlay-layer/meson.build:21:0: ERROR:  Program(s) ['glslangValidator'] not found or not executable

A full log can be found at /home/main-builder/pkgwork/src/_build/meson-logs/meson-log.txt

Should glslang be added as dependency? EDIT: Yep, adding it solved.

Lone_Wolf commented on 2019-03-27 16:28

vulkan overlay support added, thanks for the reminder.

Haxk20 commented on 2019-03-26 18:07

Lone_Wolf can you please add -D vulkan-overlay-layer=true as a build option ? I use vulkan for gaming a lot and having that overlay helps a lot. Thank you

Lone_Wolf commented on 2019-03-24 14:47

kmk3 :

The missing pkgconfig-files have no relation with mesa-libgl ( see https://bugs.freedesktop.org/show_bug.cgi?id=110141 if you want to know more)

Maintainers/users that want to replace mesa-libgl as dependency should look at what their package needs. If they just want to be sure there's OpenGL support, depend on libgl .


VanLaser: Good to know that, it may be different soon though.

Another alternative is the llvm-svn packages from lordheavy's binary mesa-git repo.

VanLaser commented on 2019-03-24 13:42

Just a FYI, mesa-git 19.1 seems to build just fine using stock clang, llvm and llvm-libs packages instead of the *-svn AUR versions.

kmk3 commented on 2019-03-23 17:43

Hello, wine-staging-pba[1] requires mesa-libgl, which is provided by mesa but not by mesa-git. When looking at the contents of both packages, only pkgconfig-related files are missing from mesa-git (compared to mesa). Is this correct? Which library exactly qualifies as mesa-libgl?

I see these in both packages:

usr/lib/libglapi.so
usr/lib/libglapi.so.0
usr/lib/libglapi.so.0.0.0

And these in libglvnd:

usr/lib/libGL.so
usr/lib/libGL.so.1
usr/lib/libGL.so.1.7.0

[1] https://aur.archlinux.org/packages/wine-staging-pba/

Democrab commented on 2019-03-23 05:57

That "errno 13" issue has been fixed upstream.

At least, I was getting the issue and I've just managed to update both lib32-mesa-git and mesa-git with zero problems and the last comment in the bugtracker shows it has been fixed.

Lone_Wolf commented on 2019-03-21 13:11

Issue has already been reported by another arch user, see

https://bugs.freedesktop.org/show_bug.cgi?id=110211

Lone_Wolf commented on 2019-03-21 11:44

same error for me, will have to investigate. I'll be busy today and tomorrow, so won't be able to do that soon.

zfkerr commented on 2019-03-21 11:04

@Lone_Wolf What I should to do? Compilation error:

Running custom install script '/usr/bin/python /tmp/Mesa-git/src/mesa/bin/install_megadrivers.py /tmp/Mesa-git/src/_build/src/mesa/drivers/dri/libmesa_dri_drivers.so /usr/lib/dri i915_dri.so i965_dri.so radeon_dri.so r200_dri.so nouveau_vieux_dri.so'
Traceback (most recent call last):
  File "/tmp/Mesa-git/src/mesa/bin/install_megadrivers.py", line 74, in <module>
main()
  File "/tmp/Mesa-git/src/mesa/bin/install_megadrivers.py", line 48, in main
shutil.copy(args.megadriver, master)
  File "/usr/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.7/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/usr/lib/dri/libmesa_dri_drivers.so'
FAILED: meson-install 
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in package_mesa-git().
Aborting...