Package Details: mesa-git 20.0.0_devel.118529.c06ba835895-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.118529.c06ba835895-1, mesa=20.0.0_devel.118529.c06ba835895-1, mesa-vdpau=20.0.0_devel.118529.c06ba835895-1, opencl-, opencl-driver, opengl-driver, vulkan-driver, vulkan-intel=20.0.0_devel.118529.c06ba835895-1, vulkan-mesa-layer=20.0.0_devel.118529.c06ba835895-1, vulkan-radeon=20.0.0_devel.118529.c06ba835895-1
Submitter: Krejzi
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 158
Popularity: 0.33
First Submitted: 2014-06-19 21:33
Last Updated: 2019-12-15 14:05

Required by (929)

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 1 2 3 4 5 6 7 ... Next › Last »

Lone_Wolf commented on 2019-10-16 12:11

Both mesa-git & lib32-mesa-git have been updated to depend on llvm 9.

Thanks for the alert, xdavidwu

xdavidwu commented on 2019-10-15 14:54

extra/llvm has been updated to 9.0.0 and the PKGBUILD needs to be updated for building with it (lib32-mesa-git also has the same problem)

==> Installing missing dependencies...
error: target not found: llvm-libs=8.0.1
==> ERROR: 'pacman' failed to install missing dependencies.

aufkrawall commented on 2019-10-14 14:55

@Lone_Wolf Yes, it successfully builds with mesa and libglvnd from regular repository. However, Firefox on XWayland silently falls back to non-OGL rendering, so there seems to be soemthing wrong apart from that. Highly confusing situation...

Lone_Wolf commented on 2019-10-14 13:24

  • thanks, Terrence.

  • aufkrawall, I tried building xorg-server-git myself and the files where things go wrong don't appear to come from mesa or glvnd.

Have you tried building against stock mesa & glvnd ?

Terence commented on 2019-10-13 13:44

@Lone_Wolf I pushed a new version of https://aur.archlinux.org/packages/libglvnd-glesv2/ which contains the workaround.

aufkrawall commented on 2019-10-13 09:46

Could it be failure of building xorg-server-git with EGL errors is due to this as well? It fails here, despite of using libglvnd with included headers.

Lone_Wolf commented on 2019-10-12 21:37

A temporary workaround: Remove "--disable-headers" from the PKGBUILD of libglvnd-git to install the header files.

That also works with libglvnd PKGBUILD, I now have a local libglvnd-with-headers package.

It looks like the commit won't be backported to mesa 19.2 , if people want I could upload it to aur.

If people want

pepster commented on 2019-10-12 11:47

Hi,

first, thanks for your efforts by maintaining this package.

This commit: https://gitlab.freedesktop.org/mesa/mesa/commit/34ba363ab0e231c2842c4a045dc51c5b1cd33401 removes important headers from mesa. At the moment, they are neither provided by libglvnd-git nor by libglvnd.

I don't know if this should be fixed here or in libglvnd(-git), because libglvnd-git disables the header on purpose, obviously to avoid conflicts with extra/mesa, which does still provide the header files.

A temporary workaround: Remove "--disable-headers" from the PKGBUILD of libglvnd-git to install the header files.

Lone_Wolf commented on 2019-09-28 20:58

Uploaded libglvnd12 and adjusted this package to use that.

Mesa detected during build the libglvnd 1.2 version and didn't create the conflicting files.

Will upload lib32-libglvnd12 & adjust lib32-mesa-git soon, probably tomorrow.

Lone_Wolf commented on 2019-09-28 19:38

I (and previous maintainers) have always tried to built mesa-git against core/extra/community repos. If newer versions then in repos were needed, aur packages were created to solve issues.

libdrm-git is one such package. (it was created because mesa-git needed an unreleased version of libdrm several times over a few years).

The problem with testing repo is that users are supposed to use all of it or nothing .

Since testing also includes llvm 9 , I'd have to adjust mesa-git to check for llvm9 instead of 8.0.1 . That would make it impossible to build mesa-git against the default stable llvm 8.0.1 .

Depending on aur libglvnd-git could have been a solution, but that one removes the conflicting files.

Simplest solution might be to upload libglvnd12 based on the testing package and depend on that.