aux/vk: Print info for setting CAP_SYS_NICE

This commit is contained in:
Christoph Haag 2021-07-15 18:15:44 +02:00 committed by Jakob Bornecrantz
parent c676020bdb
commit c6b5c5322c

View file

@ -1427,6 +1427,9 @@ vk_create_device(struct vk_bundle *vk,
if (ret != VK_SUCCESS) {
VK_DEBUG(vk, "vkCreateDevice: %s (%d)", vk_result_string(ret), ret);
if (ret == VK_ERROR_NOT_PERMITTED_EXT) {
VK_DEBUG(vk, "Is CAP_SYS_NICE set? Try: sudo setcap cap_sys_nice+ep monado-service");
}
return ret;
}