Bug 397353

Summary: vulkaninfo in KInfoCenter
Product: [Applications] kinfocenter Reporter: David <spearhead2k3>
Component: OpenGLAssignee: David Hubner <hubn3rd>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 5.12.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:

Description David 2018-08-10 19:00:28 UTC
Hey Dear People,

it would be nice if we would have a "Vulkan Information" subtree/module (maybe part of OpenGL KCM) that displays "vulkaninfo" information.

Kind Regards
Comment 1 Bug Janitor Service 2021-06-23 13:26:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kinfocenter/-/merge_requests/37
Comment 2 Harald Sitter 2021-08-10 13:30:35 UTC
Git commit 64aa46a764c2b4ecd1249dfaa49926ebd0136c01 by Harald Sitter.
Committed on 10/08/2021 at 13:30.
Pushed by sitter into branch 'master'.

add a vulkan KCM

this KCM uses a new system that instead of trying to model the data in
complex widgets (and then falling into all sorts of pits such as having
way too much data for a human to deal with when they don't know exactly
what they are looking for, or the inability to copy paste stuff) we run
CLI tools (ideally not even provided by us) to render textual
presentations and then we simply display the output as text.

the advantages are:

- incredibly cheap maintenance (which I do feel is super important
because of how niche most modules are)
- next to no chance of breakage
- we can have filter tech to essentially act like a trivial 'grep'
thereby making it easier to find what a user might be looking for
- since it is a textarea the user can easily copy stuff out
- if we ever end up with the majority of modules implementing text
rendering instead of widget rendering we also have a cheap way to
implement an "export" style feature where we'd dump the information to a
file (we have an open feature request for that)

disadvantage:
- looks less neat
- can't have tableviews and by extension no sorting
FIXED-IN: 5.23

M  +3    -0    CMakeLists.txt
M  +1    -0    Modules/CMakeLists.txt
A  +19   -0    Modules/vulkan/CMakeLists.txt
A  +130  -0    Modules/vulkan/CommandOutputContext.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +63   -0    Modules/vulkan/CommandOutputContext.h     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +8    -0    Modules/vulkan/Messages.sh
A  +20   -0    Modules/vulkan/kcm_vulkan.desktop
A  +44   -0    Modules/vulkan/main.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +94   -0    Modules/vulkan/package/contents/main.qml     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +23   -0    Modules/vulkan/package/metadata.desktop
A  +16   -0    cmake/Findvulkaninfo.cmake

https://invent.kde.org/plasma/kinfocenter/commit/64aa46a764c2b4ecd1249dfaa49926ebd0136c01