Vulkan VK_ICD_FILENAMES and /dev/dri/renderD128 permissions

Cordell George Bloor <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CY1PR0101MB1530CB91E6CDD6859C40397AB8A00@CY1PR0101MB1530.prod.exchangelabs.com>
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

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.