• Home
  • History
  • Annotate
  • only in /external/skqp/infra/bots/assets/linux_vulkan_intel_driver_release/
NameDateSize

..10-Aug-20184 KiB

common.py10-Aug-2018589

create.py10-Aug-2018733

create_and_upload.py10-Aug-20181.2 KiB

download.py10-Aug-2018278

README.md10-Aug-20181.3 KiB

upload.py10-Aug-2018268

VERSION10-Aug-20181

README.md

1Creating the Linux Vulkan driver for Intel
2
3This is known to work on an Intel machine running Ubuntu 16.10.
4
5Install all deps
6
7    sudo apt-get install autoconf libtool scons flex bison llvm-dev libpthread-stubs0-dev x11proto-gl-dev libdrm-dev x11proto-dri2-dev x11proto-dri3-dev x11proto-present-dev libxcb1-dev libxcb-dri3-dev libxcb-present-dev libxshmfence-dev xserver-xorg-core xserver-xorg-dev x11proto-xext-dev libxext-dev libxdamage-dev libx11-xcb-dev libxcb-glx0-dev libxcb-dri2-0-dev
8
9    sudo pip install mako
10
11
12Get the source from ftp.freedesktop.org/pub/mesa/
13
14    wget ftp://ftp.freedesktop.org/pub/mesa/$MESA_VERSION/mesa-$MESA_VERSION.tar.gz
15    gunzip mesa-$MESA_VERSION.tar.gz
16    tar --extract -f mesa-$MESA_VERSION.tar
17    cd mesa-$MESA_VERSION/
18    mv mesa-$MESA_VERSION/ mesa
19
20
21Build the driver
22
23    mesa$ ./autogen.sh
24    # For the debug resource, use --enable-debug
25    mesa$ ./configure --with-vulkan-drivers=intel
26    mesa$ make
27
28
29Tweak icd.json file and output dir (mesa/lib)
30
31    mesa$ cp src/intel/vulkan/intel_icd.x86_64.json lib/
32    # modify the pathname in the intel_icd.x86_64.json file to be ./libvulkan_intel.so
33    mesa$ rm -rf lib/gallium  # We don't need this
34    mesa$ rm lib/nouveau_vieux_dri.so lib/r200_dri.so lib/radeon_dri.so # We don't need these
35
36
37Finally, use mesa/lib as the input directory to the create_and_upload script.