Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Intel Vulkan Mesa on Ubuntu 15.10
# Pre requisites
- Enable DRI3 as described in
- Install a library for SHA, e.g. sudo apt-get install libgcrypt11-dev (if not already present)
- Otherwise the driver may throw an error with "_mesa_sha1_compute" when loading SPIR-V shaders
# Building
- Clone Mesa Master : git clone git:// -b Master
- cd mesa
- autoreconf -vfi
- ./configure --with-dri-drivers=i965 --with-gallium-drivers= --with-sha1= --with-vulkan-drivers=intel
- make
# Setting up the loader
- Create the directory /usr/share/vulkan/icd.d
- This is the place where the loader searches for installed ICDs
- From the mesa directory
- Copy intel_icd.json /src/intel/vulkan to /usr/share/vulkan/icd.d
- Copy from /lib to /usr/share/vulkan/icd.d
# Verify
- Run vulkaninfo > vulkaninfo.txt
- Check for the following line :
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/icd.d/intel_icd.json, version "1.0.0"
- If this line is not followed by an "error", the icd has been located by the loader
- Run vulkaninfo | grep deviceName
- This should return the name of your device, e.g. "Intel(R) Ivybridge Mobile"
Copy link

rootext commented Mar 9, 2016

Sorry for bothering you. I made vulkaninfo to work on HD 5500 with two small changes:

  • ./configure --with-dri-drivers=i965 --with-gallium-drivers= --with-sha1**=**
  • Copy from /lib to /usr/local/lib/
    And also I have to run every login sudo chmod 006 /dev/dri/renderD128.

Linux Mint 17.3
Linux kernel 3.19

Copy link

bkaradzic commented Mar 11, 2016

@rootext did you get "linux/memfd.h: No such file of directory" error?

Copy link

rootext commented Apr 1, 2016

Sorry for delay response. I don't know if you still need it but the following patch helped me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment