[Mesa-dev] [Bug 111054] Vulkan overlay doesn't work with X4: Foundations

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 4 07:25:22 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111054

--- Comment #6 from Shmerl <shtetldik at gmail.com> ---
I see a strange difference. I placed my built layer in /opt/mesa-master. For
vkcube when it works, I run it like this:

VK_LOADER_DEBUG=all
VK_LAYER_PATH=/opt/mesa-master/share/vulkan/explicit_layer.d
VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay vkcube

Result (it finds it):

...
DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files:
/etc/xdg/vulkan/implicit_layer.d:/etc/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/local/share/vulkan/implicit_layer.d:/home/user/.local/share/vulkan/implicit_layer.d

DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files:
/etc/xdg/vulkan/implicit_layer.d:/etc/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/local/share/vulkan/implicit_layer.d:/home/user/.local/share/vulkan/implicit_layer.d

DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files: /opt/mesa-master/share/vulkan/explicit_layer.d
...


For X4, when it doesn't work:

VK_LOADER_DEBUG=all
VK_LAYER_PATH=/opt/mesa-master/share/vulkan/explicit_layer.d
VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay ./X4

Result:

...
DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files:
/etc/xdg/vulkan/implicit_layer.d:/etc/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/local/share/vulkan/implicit_layer.d:/home/user/.local/share/vulkan/implicit_layer.d

DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files:
/etc/xdg/vulkan/implicit_layer.d:/etc/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/share/vulkan/implicit_layer.d:/usr/local/share/vulkan/implicit_layer.d:/home/user/.local/share/vulkan/implicit_layer.d

DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files: vulkan/linux

DEBUG: ReadDataFilesInSearchPaths: Searching the following paths for manifest
files:
/etc/xdg/vulkan/icd.d:/etc/vulkan/icd.d:/usr/share/vulkan/icd.d:/usr/share/vulkan/icd.d:/usr/local/share/vulkan/icd.d:/home/user/.local/share/vulkan/icd.d
...
WARNING: loaderAddLayerNameToList: Failed to find layer name
VK_LAYER_MESA_overlay to activate
WARNING: loaderAddLayerNameToList: Failed to find layer name
VK_LAYER_MESA_overlay to activate
...

Somehow search resolution is different so it doesn't find it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190704/6e86d986/attachment.html>


More information about the mesa-dev mailing list