Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55186 - [vulkan-trace] missing json file for the layer

Attached to Project: Arch Linux
Opened by Christoph Haag (haagch) - Friday, 18 August 2017, 00:00 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 04 September 2017, 18:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There's a problem that vktrace just silently fails when the layer is not available, see https://github.com/LunarG/VulkanTools/issues/151#issuecomment-276114862

If you install vulkan-trace and run anything, like
vktrace -p /usr/bin/vkmark -o /tmp/trace -w /tmp/ -v full
it just won't create /tmp/trace.

The json file for the layer is missing from the package, therefore the layer is not found.
The json file is available in the repository where vktrace is built from:
https://github.com/LunarG/VulkanTools/blob/master/vktrace/vktrace_layer/linux/VkLayer_vktrace_layer.json

only this line should probably edited:
"library_path": "../vktrace/libVkLayer_vktrace_layer.so",
without a relative path since the layer is just installed in /usr/lib:
"library_path": "libVkLayer_vktrace_layer.so",

Then the json file needs to be installed as /usr/share/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json and vktrace will start working.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 04 September 2017, 18:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  vulkan-trace 1.0.57.0-1
Comment by Laurent Carlier (lordheavy) - Monday, 04 September 2017, 15:52 GMT
Please test with vulkan-trace-1.0.57.0

Loading...