Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | D | 03-May-2024 | 1.3 KiB | 37 | 22 | |
VERSION | D | 03-May-2024 | 1 | |||
common.py | D | 03-May-2024 | 589 | 27 | 11 | |
create.py | D | 03-May-2024 | 733 | 35 | 19 | |
create_and_upload.py | D | 03-May-2024 | 1.2 KiB | 51 | 32 | |
download.py | D | 03-May-2024 | 278 | 17 | 4 | |
upload.py | D | 03-May-2024 | 268 | 17 | 4 |
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.