Package Details: vulkan-intel-git 20.3.0_devel-1

Git Clone URL: (read-only, click to copy)
Package Base: vulkan-intel-git
Description: Intel's Vulkan mesa driver
Upstream URL:
Licenses: custom
Conflicts: vulkan-i965, vulkan-i965-git, vulkan-intel
Provides: vulkan-intel
Submitter: haagch
Maintainer: haagch
Last Packager: haagch
Votes: 5
Popularity: 0.000000
First Submitted: 2016-02-21 23:13 (UTC)
Last Updated: 2020-09-13 20:47 (UTC)

Pinned Comments

Latest Comments

acsuhllteuyr commented on 2022-03-21 11:04 (UTC)

meson is required for the build but the pkgbuild doesn't contain it. It'd be great if you updated it : )

haagch commented on 2020-09-13 20:49 (UTC)

Wow this package still exists. I would recommend just installing mesa git, but I updated this nevertheless. Also replaced some of the proto deps with xorgproto.

I don't maintain this very actively but if anyone else wants to do it, I can disown.

techwiz commented on 2020-09-03 21:46 (UTC) (edited on 2020-09-03 21:51 (UTC) by techwiz)

Updated PKGBUILD incorporating @hugegameartgd's changes:

# Maintainer: Christoph Haag <>
# Maintainer: Laurent Carlier <>

pkgdesc="Intel's Vulkan mesa driver"
depends=('vulkan-icd-loader' 'libgcrypt' 'wayland' 'libxcb' 'libpthread-stubs')
conflicts=(vulkan-intel vulkan-i965 vulkan-i965-git)
makedepends=('libdrm' 'dri2proto' 'glproto' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libxmu'
             'talloc' 'wayland' 'pkgconfig' 'imake' 'xorg-server-devel' 'python2-mako' 'python' 'git')

#options=(debug !strip)

pkgver() {
  cd anvil
  echo $(cat VERSION | tr "-" "_").$(git rev-list --count HEAD).$(git rev-parse --short HEAD)

prepare() {
  cd "${srcdir}/anvil"

build() {
  cd "${srcdir}/anvil"

  meson setup builddir
  ninja -C builddir
  # fake installation
  mkdir -p "$srcdir"/fakeinstall
  DESTDIR="${srcdir}"/fakeinstall  ninja -C builddir install

package() {
  cd "${srcdir}/anvil"

  install -m755 -d "${pkgdir}"/usr/share/vulkan
  mv -v "${srcdir}"/fakeinstall/usr/local/share/vulkan/icd.d "${pkgdir}"/usr/share/vulkan/

  install -m755 -d "${pkgdir}"/usr/{include/vulkan,lib}
  mv -v "${srcdir}"/fakeinstall/usr/local/lib/ "${pkgdir}"/usr/lib/
  mv -v "${srcdir}"/fakeinstall/usr/local/include/vulkan/vulkan_intel.h "${pkgdir}"/usr/include/vulkan

  install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
  install -m644 "${srcdir}/LICENSE" "${pkgdir}"/usr/share/licenses/"${pkgname}"/

gatlinnewhouse commented on 2019-12-16 21:50 (UTC) (edited on 2019-12-16 21:56 (UTC) by gatlinnewhouse)

error: object feb356caff82e996ba0b898c02383fdfa3effc5f: 
missingSpaceBeforeDate: invalid author/committer 
line - missing space before date

hugegameartgd commented on 2019-11-11 21:40 (UTC) (edited on 2019-11-11 22:00 (UTC) by hugegameartgd)

PKGBUILD needs to be changed from make to meson/ninja as there is no anymore.


build() {
  cd "${srcdir}/anvil"
  meson setup builddir
  ninja -C builddir

  # fake installation
  mkdir -p "$srcdir"/fakeinstall
  DESTDIR="${srcdir}" ninja -C builddir install

package() {
  cd "${srcdir}/anvil"

  install -m755 -d "${pkgdir}"/usr/share/vulkan
  #mv -v "${srcdir}"/fakeinstall/usr/share/vulkan/icd.d "${pkgdir}"/usr/share/vulkan/

  install -m755 -d "${pkgdir}"/usr/{include/vulkan,lib}
  #mv -v "${srcdir}"/fakeinstall/usr/lib/ "${pkgdir}"/usr/lib/
  #mv -v "${srcdir}"/fakeinstall/usr/include/vulkan/vulkan_intel.h "${pkgdir}"/usr/include/vulkan

  install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
  install -m644 "${srcdir}/LICENSE" "${pkgdir}"/usr/share/licenses/"${pkgname}"/

morebitz commented on 2018-12-27 17:24 (UTC)

You still need to fix PKGBUILD if the package should get installed properly.

Line --with-vulkan-icddir="$srcdir/fakeinstall/usr/share/vulkan/icd.d" must be removed, because that directory does not exist.

haagch commented on 2018-03-14 11:50 (UTC)

Yea this package has not been updated in a long time. I take your word for it that the PKGBUILD works and updated it. I only commented out the debug and !strip options.

corrupt commented on 2018-03-14 11:45 (UTC) (edited on 2018-03-14 11:45 (UTC) by corrupt)

Current pkgbuild does not install json file with driver description (/usr/share/vulkan/icd.d/intel_icd.x86_64.json) and loader cannot find the driver (/usr/lib/ So vkCreateInstance fails.

This pkgbuild solves the problem:

Lone_Wolf commented on 2017-03-11 12:21 (UTC)

Haagch, are you sure this package is still needed now both intel and radeon vulkan support is integrated in mesa ?

gutigen commented on 2016-05-24 01:10 (UTC)

configure: error: Package requirements (pthread-stubs) were not met Needs libpthread-stubs from AUR to compile.

haagch commented on 2016-05-03 14:27 (UTC)

Ah I changed that locally and didn't update the AUR. Now it should work. They changed something in their configure script so --with-vulkan-icddir does something very weird now, but when removing --with-vulkan-icddir from the configure options, it does the right thing now.

Hello71 commented on 2016-05-03 13:22 (UTC)

==> Entering fakeroot environment... ==> Starting package()... mv: cannot stat '/home/alex/aur/vulkan-intel-git/src/fakeinstall/etc/vulkan': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... $ mkdir /home/alex/aur/vulkan-intel-git/src/fakeinstall/etc/vulkan $ makepkg -f [ ... ] ==> Finished making: vulkan-intel-git 11.3.0_devel.80954.c68a9cd-1 (Tue May 3 09:21:55 EDT 2016)

haagch commented on 2016-04-15 22:19 (UTC)

Well, I fixed the PKGBUILD and it seems to work. Hopefully in the future the mesa packages will not have too strong dependencies so that the vulkan driver can be installed separately. If not, I guess users will have the repo vulkan-intel installed and can additionally install vulkan-intel-git into another directory. The icd loading mechanism then can take care of what driver is used..

haagch commented on 2016-04-15 22:03 (UTC)


haagch commented on 2016-04-15 22:02 (UTC)

Huh, the upstream vulkan branch vanished.

sir_lucjan commented on 2016-04-15 18:57 (UTC)

I got an error: Making install in . make[5]: Entering directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel/vulkan' make[6]: Entering directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel/vulkan' /usr/bin/install -c -m 644 -D ./intel_icd.json /etc/vulkan/icd.d/intel_icd.json /usr/bin/install: cannot remove '/etc/vulkan/icd.d/intel_icd.json': Permission denied Makefile:1991: recipe for target 'install-data-local' failed make[6]: *** [install-data-local] Error 1 make[6]: *** Waiting for unfinished jobs.... /usr/bin/mkdir -p '/home/lucjan/Pobrane/vulkan-intel-git/src/fakeinstall/usr/lib' /bin/sh ../../../libtool --mode=install /usr/bin/install -c '/home/lucjan/Pobrane/vulkan-intel-git/src/fakeinstall/usr/lib' libtool: install: /usr/bin/install -c .libs/ /home/lucjan/Pobrane/vulkan-intel-git/src/fakeinstall/usr/lib/ libtool: install: /usr/bin/install -c .libs/libvulkan_intel.lai /home/lucjan/Pobrane/vulkan-intel-git/src/fakeinstall/usr/lib/ libtool: warning: remember to run 'libtool --finish /usr/lib' make[6]: Leaving directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel/vulkan' Makefile:1828: recipe for target 'install-am' failed make[5]: *** [install-am] Error 2 make[5]: Leaving directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel/vulkan' Makefile:1662: recipe for target 'install-recursive' failed make[4]: *** [install-recursive] Error 1 make[4]: Leaving directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel/vulkan' Makefile:1822: recipe for target 'install' failed make[3]: *** [install] Error 2 make[3]: Leaving directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel/vulkan' Makefile:552: recipe for target 'install-recursive' failed make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src/intel' Makefile:692: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/home/lucjan/Pobrane/vulkan-intel-git/src/anvil/src' Makefile:641: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 ==> ERROR: A failure occurred in build().

Dr-Shadow commented on 2016-02-21 21:20 (UTC)

Hi, this package has a conflict with vulkan-intel (in extra) and should maybe be renamed into vulkan-intel-git.

haagch commented on 2016-02-19 13:53 (UTC)

Copy&paste error, one $pkgdir too much. Fixed now.

versusvoid commented on 2016-02-19 10:54 (UTC)

Building with yaourt results in broken symlink: > ll /etc/vulkan/icd.d/ total 4.0K lrwxrwxrwx 1 root root 100 Feb 19 13:11 intel_icd.json -> /tmp/yaourt-tmp-versus/aur-vulkan-i965-git/pkg/vulkan-i965-git/usr/share/vulkan/icd.d/intel_icd.json

1ace commented on 2016-02-19 09:17 (UTC)

Yes, I see that your using mesa's `make install `, but since most of those are already on mesa, your should `install` those three files instead.

haagch commented on 2016-02-19 00:09 (UTC)

I actually did this because I have not looked at the spec at all and someone on reddit told me that location. I just tried it in /usr/share/vulkan/icd.d/intel_icd.json and it doesn't seem to automatically be picked up. I'll leave a symlink in /etc/ until that works. It's just make install from mesa, maybe I can delete some of the files for the OpenGL libs... I changed to vulkan-icd-loader, so yea.

1ace commented on 2016-02-18 23:03 (UTC) (edited on 2016-02-18 23:31 (UTC) by 1ace)

Per spec [1], packages should install manifest files (*.json) in /usr/share/vulkan/icd.d /etc/vulkan/icd.d is for manually copied files [1] Edit: now that I think about it, maybe you did this to leave the proper location open for when vulkan gets merged into mainline mesa? I guess you can just ignore me anyway, since this location works too :] Edit bis: I just finished compiling it, and I noticed you have way too many files in this package. The only 3 file that make sense are /etc/vulkan/icd.d/intel_icd.json, /opt/mesa-vulkan/lib/ (which should go either in the same location as the .json, or in /usr/lib/) and /opt/mesa-vulkan/include/vulkan/vulkan_intel.h (which should go in /usr/include/vulkan/) Everything else is just redundant and will never be used in these location. You should also depend on `vulkan-icd-loader` (my package in the AUR (`vulkan-loader`) is not going to stay there once the couple bugs in the one in [extra] are fixed) and optdepend on `vulkan-headers` :)

haagch commented on 2016-02-18 22:44 (UTC)

Hm... Yea, I'll wait and see what "basename" to provide they decide on.

neuromancer85 commented on 2016-02-18 22:17 (UTC)

Could you change the dependency on vulkan-loader to vulkan-icd-loader from [extra]?

IncredibleLaser commented on 2016-02-18 18:36 (UTC) (edited on 2016-02-18 18:42 (UTC) by IncredibleLaser)

You're correct, python2-mako is a makedepends and so are python and git. Sounds silly since you need git anyways to use the AUR but if you build in a clean chroot it will throw you an error when trying to build.

Xabre commented on 2016-02-18 16:47 (UTC) (edited on 2016-02-18 16:50 (UTC) by Xabre)

checking if module mako in python is installed... No module named mako no configure: error: Python mako module v0.3.4 or higher not found Should depend on python-mako (probably just a makedep) Em, it's python2-mako, actually.