Instead use export VK_ICD_FILENAMES="$MESA_TOP/src/intel/vulkan/dev_icd.json", replacing $MESA_TOP with the absolute path of the directory containing the mesa source code. gives you a command, but it refers to a non-existent file. You'll need to do this in the same shell that runs your program. Set VK_ICD_FILENAMES so the LunarG loader finds everything correctly.That doesn't seem to exist on Ubuntu 14.04, though. Apparently there is supposed to be a script that adds your user to an access control list (ACL) on login. I hacked around a permissions problem by running sudo chmod 666 /dev/dri/renderD128.You can add -enable-debug to configure if you want a build that will print more detailed vkError messages. configure -with-dri-drivers=i965 -with-gallium-drivers= & make -j4. At time of this writing, you can build with autoreconf -vfi &. Check the README in the mesa repository for up-to-date build instructions. I think sudo apt-get install python-mako bison flex build-essential autoconf covers everything that's needed. Install build dependencies listed on the mesa website.Apply the patch supplied below with git apply fix-missing-memfd-header.patch to correct for the missing memfd headers.The newest versions depend on a slightly newer version of libdrm than comes with 14.04, so roll back the repository back to the latest working driver version with git reset -hard b83785d86d2c7f07323920615c72a9f09695a9a7.Checkout the vulkan branch of the mesa source code with git clone -b vulkan.Reboot and make sure that DRI3 is now mentioned in /var/log/Xorg.0.log.Enable DRI3 by copying nf above to /usr/share/X11//nf.Update to Linux Kernel 4.2 via the Ubuntu 14.04 LTS Enablement Stack.Here are the steps I took to get some almost-working drivers. At this point the problem is just that the vulkan driver is not finished for my hardware (Haswell). vulkaninfo appears to complete without error, and both the LunarG example programs run, though with a number of warnings. I've been hacking away, trying to get Vulkan working on my Ubuntu 14.04 laptop (Late-2013 MacBook Pro ). Vulkan with Intel Graphics on Ubuntu 14.04
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |