Home | History | Annotate | only in /external/skqp/infra/bots/assets/linux_vulkan_intel_driver_release
Up to higher level directory
NameDateSize
common.py21-Aug-2018589
create.py21-Aug-2018733
create_and_upload.py21-Aug-20181.2K
download.py21-Aug-2018278
README.md21-Aug-20181.3K
upload.py21-Aug-2018268
VERSION21-Aug-20181

README.md

      1 Creating the Linux Vulkan driver for Intel
      2 
      3 This is known to work on an Intel machine running Ubuntu 16.10.
      4 
      5 Install 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 
     12 Get 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 
     21 Build 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 
     29 Tweak 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 
     37 Finally, use mesa/lib as the input directory to the create_and_upload script.