Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 673110

Summary: dev-util/vulkan-tools - add vktrace/vkreplay/vktrace_viewer
Product: Gentoo Linux Reporter: Anton Romanov <theli.ua>
Component: New packagesAssignee: Nick Sarnie <sarnex>
Status: IN_PROGRESS ---    
Severity: normal CC: achurch+gentoo, b.buschinski, sarnex, x11
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/LunarG/VulkanTools
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0000-system-jsoncpp.patch
0001-vkreplay_vkdisplay.patch
0002-vktrace_replay_cmake.patch
vulkan-tools-lunarg-1.1.92.0.ebuild
0002-vktrace_replay_cmake.patch
0003-layers-install-directory.patch

Description Anton Romanov 2018-12-14 07:06:42 UTC
They are part of LunarG/VulkanTools ( https://github.com/LunarG/VulkanTools )
While current vulkan-tools package comes from KhronosGroup/Vulkan-tools

LunarG's VulkanTools duplicate currently available tools in Khronos' package while adding vktrace/vkreplay/vktrace_viewer (similar to apitrace but for Vulkan) and are one of the main tools in debugging vulkan applications.
Comment 1 Nick Sarnie gentoo-dev 2018-12-14 23:32:25 UTC
Will try to do it this weekend or next weekend. Will end up as a new package though.

Thanks,
Sarnex
Comment 2 Anton Romanov 2018-12-21 08:47:11 UTC
Created attachment 558244 [details, diff]
0000-system-jsoncpp.patch
Comment 3 Anton Romanov 2018-12-21 08:47:36 UTC
Created attachment 558246 [details, diff]
0001-vkreplay_vkdisplay.patch
Comment 4 Anton Romanov 2018-12-21 08:47:52 UTC
Created attachment 558248 [details, diff]
0002-vktrace_replay_cmake.patch
Comment 5 Anton Romanov 2018-12-21 08:49:02 UTC
Created attachment 558250 [details]
vulkan-tools-lunarg-1.1.92.0.ebuild

First draft of ebuild
Its not exactly functional, it builds vktraceviewer unconditionally and doesn't declare proper qt dependencies
Comment 6 Anton Romanov 2018-12-21 08:59:51 UTC
Created attachment 558252 [details, diff]
0002-vktrace_replay_cmake.patch
Comment 7 Nick Sarnie gentoo-dev 2018-12-23 03:50:22 UTC
Hi Anton,

Thanks for your contribution. Do you intend to fix the issues you mentioned? If so, please move those changes over to a github pull request.

If not, please let me know and I will continue or write my own ebuild.

Thanks,
Sarnex
Comment 8 Anton Romanov 2018-12-23 04:05:13 UTC
(In reply to Nick Sarnie from comment #7)
> Hi Anton,
> 
> Thanks for your contribution. Do you intend to fix the issues you mentioned?
> If so, please move those changes over to a github pull request.
> 
> If not, please let me know and I will continue or write my own ebuild.
> 
> Thanks,
> Sarnex

Nick, I kinda do but my free time is fairly limited lately so not sure when is that going to happen. So if you plan on working on your own ebuild please do.
Comment 9 Bernd Buschinski 2018-12-23 15:01:02 UTC
Created attachment 558412 [details, diff]
0003-layers-install-directory.patch

This additional patch fixes the install directory of the layers.
With the patch, they are correctly listed using `vulkaninfo`.