<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add more granular multiarch usage for Mesa Vulkan overlay JSON manifest"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109807">109807</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Add more granular multiarch usage for Mesa Vulkan overlay JSON manifest
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Vulkan/Common
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>shtetldik@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>airlied@freedesktop.org, chadversary@chromium.org, daniel@fooishbar.org, jason@jlekstrand.net
</td>
</tr></table>
<p>
<div>
<pre>After recent changes, VkLayer_MESA_overlay.json references implicit
libVkLayer_MESA_overlay.so which supposedly should be accessible to the loader
(either in common library cache or through LD_LIBRARY_PATH).
It would be better for it to use explicit reference, similar to how actual
Vulkan ICD manifests are doing it. But for that, there should be separate JSON
loader manifest for each architecture. Is it currently possible?
Actual ICDs do support it, i.e. you can find:
/usr/share/vulkan/icd.d/radeon_icd.i686.json
/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
So loader knows which one to pick depending on the arch even during implicit
loading.
Would it work for layers?
I.e. for example:
/usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.i686.json
/usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.x86_64.json
Each of them referencing explicit .so location? Or that requires fixing the
layer loading logic first?
I also opened this to be able to load layer JSON explicitly, like ICD manifests
allow:
<a href="https://github.com/KhronosGroup/Vulkan-Loader/issues/154">https://github.com/KhronosGroup/Vulkan-Loader/issues/154</a></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>