Package Details: mesa-git 20.0.0_devel.118826.525cbe85ef5-1

Git Clone URL: https://aur.archlinux.org/mesa-git.git (read-only, click to copy)
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=20.0.0_devel.118826.525cbe85ef5-1, mesa=20.0.0_devel.118826.525cbe85ef5-1, mesa-vdpau=20.0.0_devel.118826.525cbe85ef5-1, opencl-, opencl-driver, opengl-driver, vulkan-driver, vulkan-intel=20.0.0_devel.118826.525cbe85ef5-1, vulkan-mesa-layer=20.0.0_devel.118826.525cbe85ef5-1, vulkan-radeon=20.0.0_devel.118826.525cbe85ef5-1
Submitter: Krejzi
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 157
Popularity: 0.166975
First Submitted: 2014-06-19 21:33
Last Updated: 2020-01-01 12:57

Required by (918)

Sources (2)

Pinned Comments

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 ... 5 6 7 8 9 10 11 12 13 14 15 ... Next › Last »

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...

ltsdw commented on 2019-03-21 01:00

Getting this, any idea why? I compiled mesa last week, so I don't have any idea why I'm seeing this (also I tried makepkg -C)


Traceback (most recent call last):
  File "/home/little/.cache/yay/mesa-git/src/mesa/bin/install_megadrivers.py", line 74, in <module>
    main()
  File "/home/little/.cache/yay/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.
==> ERRO: Uma falha ocorreu em package_mesa-git().
    Abortando...

Lone_Wolf commented on 2019-03-20 10:56

zor1984qq

I use ccache permanently and have no problems.

Not starting in a clean enviornment is a common error cause, try cleaning the srcdir before building ( makepkg -C ) .

Lone_Wolf commented on 2019-03-20 10:51

DEPRECATION: Project targetting '>= 0.45' but tried to use feature deprecated since '0.48.0': python3 module

from http://mesonbuild.com/Release-notes-for-0-48-0.html

python3 module is deprecated

A generic module python has been added in Meson 0.46.0 and has a superset of the features implemented by the previous python3 module.

In order to switch from the deprecated python3 to the new python module, mesa would have to increase minimum supported meson version.

Whether that will be done depends on the meson versions used by distros. Personally I'm ok with waiting.

zor1984qq commented on 2019-03-18 10:17

Its not compiling, giving me error with ccache. Can ccache in makepkg.conf affect compilation? I used up slightly modified makepkg.conf only with -j2 + ccache enablement. Manjaro latest updated system.