[Mesa-users] Vulkan VK_ICD_FILENAMES and /dev/dri/renderD128 permissions

Cordell George Bloor cgbloor at ucalgary.ca
Fri Feb 19 02:48:33 UTC 2016


Hello,


I've been hacking away to try to get the vulkan branch working on Ubuntu 14.04 with kernel 4.2.


I noticed that in the vulkan branch, README.intel-vulkan.txt suggests using `export VK_ICD_FILENAMES="$MESA_TOP/src/vulkan/anv_icd.json"` (link<https://cgit.freedesktop.org/mesa/mesa/tree/README.intel-vulkan.txt?h=vulkan&id=698ea542830ba0d56e514492fbdf73e3898d4c17#n87>). However, there doesn't seem to be a anv_icd.json file anywhere in the repository. I tried `export VK_ICD_FILENAMES="$MESA_TOP/src/intel/vulkan/dev_icd.json"`, which seemed to work better. I presume somebody just forgot to update the readme after changing the name.


Of course, vulkaninfo still fails. It just gets further than it did before. I'm a little stuck on the next error:

anv_device.c:66: failed to open /dev/dri/renderD128: Permission denied (VK_ERROR_INITIALIZATION_FAILED)


I haven't changed its permissions from the defaults it came with: 'crw-rw---- 1 root video 226, 128 Feb 18 16:18 /dev/dri/renderD128'.


Any suggestions? Did I miss something I needed to do?


Thanks,

Cory Bloor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20160219/37ada34f/attachment.html>


More information about the mesa-users mailing list