<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Vulkan overlay doesn't work with X4: Foundations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111054#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Vulkan overlay doesn't work with X4: Foundations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111054">bug 111054</a>
from <span class="vcard"><a class="email" href="mailto:shtetldik@gmail.com" title="Shmerl <shtetldik@gmail.com>"> <span class="fn">Shmerl</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>