[MIR] vulkan-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vulkan (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
Medium
|
Unassigned | ||
vulkan-tools (Ubuntu) |
Invalid
|
Medium
|
Miriam España Acebal | ||
Focal |
New
|
Undecided
|
Unassigned | ||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Medium
|
Miriam España Acebal |
Bug Description
------ vulkan-tools ------
[Availability]
vulkan-utils package is present since Focal, as part of vulkan-tools package: <https:/
In this case, vulkan-tools has to be MIR (it's source for vulkan-utils).
The package was in sync until it had to be changed to accomodate the MIR requirements (delta contains now dep8 tests, but it's going to be fordwarded to Debian). Package with test is here:
https:/
[Rationale]
This tool is included in our GKE images for Focal and the package needs to be on main for this (so, after MIR, it needs to be promoted up to (including) Focal).
[Security]
No CVEs found.
[Quality assurance]
-> Bugs
No active bugs in launchpad.
Debian:
- https:/
considered as such.
- https:/
Upstream: https:/
-> Contents
root@focal:~# apt-file list vulkan-tools
vulkan-tools: /usr/bin/vkcube
vulkan-tools: /usr/bin/vkcubepp
vulkan-tools: /usr/bin/vulkaninfo
vulkan-tools: /usr/share/
vulkan-tools: /usr/share/
vulkan-tools: /usr/share/
-> Installation:
No debconf questions arise.
ubuntu@
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libdrm-amdgpu1 libllvm12 libvulkan1 libwayland-client0 libx11-xcb1 libxcb-dri3-0 libxcb-present0
libxcb-randr0 libxcb-sync1 libxshmfence1 mesa-vulkan-drivers
The following NEW packages will be installed:
libdrm-amdgpu1 libllvm12 libvulkan1 libwayland-client0 libx11-xcb1 libxcb-dri3-0 libxcb-present0
libxcb-randr0 libxcb-sync1 libxshmfence1 mesa-vulkan-drivers vulkan-tools
0 upgraded, 12 newly installed, 0 to remove and 11 not upgraded.
Need to get 27.0 MB of archives.
After this operation, 121 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Fetched 27.0 MB in 1s (20.2 MB/s)
→ Building: It builds ok.
vulkan-tools package is well maintained in Debian and also in upstream.
It uses a debian/watch file.
Although the package scans HW (as its target functionality is to show vulkan information related to gpu) and in that sense also "deals with exotic HW", it incorporates a mocked ICD driver that we used e. g. for testing.
-> Tests: They are now included:
autopkgtest [12:51:08]: test check-sections: - - - - - - - - - - results - - - - - - - - - -
check-sections PASS
autopkgtest [12:51:08]: @@@@@@@
check-sections PASS
-> Lintian executions:
❯ lintian --pedantic -I --show-overrides
I: vulkan-tools source: debian-
P: vulkan-tools source: rules-requires-
[Dependencies]
All dependencies are in main, as seen in Installation above.
[Standards compliance]
dh style simple rules, no compat file.
[Maintenance]
Upstream is active, the package is maintained in Debian and is a simple command tool application. Once the dep8tests were fordwarded and accepted on Debian, the package can be a sync again. In the meantime, server team is going to sign up for Ubuntu.
[Background information]
vulkaninfo outputs various types of Vulkan information such as:
-device properties of identified GPUs
-Vulkan extensions supported by each GPU
-recognized layers
-supported image formats and format properties.
Vulkan is a next generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs.
vulkan source package [1] seems to be renamed to [2] (it is also not present in the removals file [3]). Upstream [4] is now Read-only, with recommendations to use the new repositories (vulkan-tools among others).
[1] https:/
[2] https:/
[3] https:/
[4] https:/
------ vulkan ------
[Availability]
vulkaninfo tool is present up to Bionic in package vulkan-utils, as part of vulkan source package: <https:/
The package was in sync until it had to be changed to accomodate the MIR requirements (delta contains now dep8 tests and a patch the tests). Package with test is here:
https:/
[Rationale]
This tool is included in our GKE images for Bionic and the package needs to be on main for this reason. Because the source package changes for the needed tool to be MIR -vulkaninfo-, here is presented this MIR for vulkaninfo in Bionic and the submitted MIR for vulkan-tools is [5] for the rest of the Ubuntu series.
[Security]
No CVEs found.
[Quality assurance]
-> Bugs
No active bugs in launchpad.
Debian:
- https:/
Upstream: https:/
-> Contents
root@bionic:~# apt-file list vulkan-utils
vulkan-utils: /usr/bin/
vulkan-utils: /usr/bin/vulkaninfo
vulkan-utils: /usr/share/
vulkan-utils: /usr/share/
vulkan-utils: /usr/share/
vulkan-utils: /usr/share/
-> Installation:
No debconf questions arise.
root@bionic:~# apt install vulkan-utils
[...]
The following additional packages will be installed:
libvulkan1
The following NEW packages will be installed:
libvulkan1 vulkan-utils
Do you want to continue? [Y/n]
Get:1 <http://
Get:2 <http://
As result, we see libvulkan1 needs also to be imported from universe (It's already in Focal main), but it's from the same source package as vulkan-utils (vulkan).
→ Building: It builds ok.
vulkan package was renamed to vulkan-tools, so in Debian and in upstream are not maintained
under this form anymore.
It uses a debian/watch file.
Although the package scans HW (as its target functionality is to show vulkan information related to gpu) and in that sense also "deals with exotic HW", it incorporates a mocked ICD driver that we used e. g. for testing.
-> Tests: They are now included alongside a patch needed for json output:
[...]
VK_FORMAT_
VK_FORMAT_
VK_FORMAT_
VK_FORMAT_
VK_FORMAT_
VK_FORMAT_
VK_FORMAT_
Checking GPU0 is virtual in text output
deviceType = VIRTUAL_GPU
Checking GPU0 is mocked in json output
'DISPLAY' environment variable not set... skipping surface info
"Vulkan Mock Device"
Checking GPU0 virtual and mocked in html output
'DISPLAY' environment variable not set... skipping surface info
autopkgtest [12:51:12]: test check-sections: -------
autopkgtest [12:51:12]: test check-sections: - - - - - - - - - - results - - - - - - - - - -check-sections PASS
autopkgtest [12:51:13]: @@@@@@@
-> Lintian executions:
❯ lintian --pedantic -I --show-overrides
E: libvulkan-dev: missing-
E: libvulkan-dev: package-
W: libvulkan-dev: package-
W: libvulkan-dev: shlib-without-
W: libvulkan-dev: shlib-without-
W: libvulkan-dev: shlib-without-
W: libvulkan-dev: shlib-without-
I: vulkan-utils: extended-
I: libvulkan-dev: hardening-
I: libvulkan-dev: hardening-
I: libvulkan-dev: hardening-
I: libvulkan-dev: hardening-
I: libvulkan1: hardening-
I: libvulkan-dev: no-symbols-
I: libvulkan-dev: no-symbols-
I: libvulkan-dev: no-symbols-
I: libvulkan-dev: no-symbols-
I: libvulkan1: no-symbols-
I: libvulkan-dev: package-
I: libvulkan-dev: spelling-
I: libvulkan-dev: spelling-
I: libvulkan-dev: spelling-
Errors appears in libvulkan-dev (not libvulkan1 or vulkan-utils)... anyway, looking into this at the moment if submission.
[Dependencies]
All dependencies are in main or provided by the package itself, as seen in Installation above.
[Standards compliance]
dh style simple rules plus use of gentarball, compat 9.
[Maintenance]
It's a simple command tool application that is not maintained in Debian as vulkan because the package has been renamed to vulkan-tools. Server team is going to sign up for Ubuntu.
[Background information]
vulkaninfo outputs various types of Vulkan information such as:
-device properties of identified GPUs
-Vulkan extensions supported by each GPU
-recognized layers
-supported image formats and format properties.
Vulkan is a next generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs.
vulkan source package [1] seems to be renamed to [2] (it is also not present in the removals file [3]). Upstream [4] is now Read-only, with recommendations to use the new repositories (vulkan-tools among others, that was also MIR submitted: because the source package changes for the needed tool to be MIR -vulkaninfo-, here is presented this MIR and here is the MIR for vulkan-tools [5]).
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
description: | updated |
description: | updated |
Changed in vulkan-tools (Ubuntu): | |
assignee: | nobody → Lukas Märdian (slyon) |
tags: | added: sec-979 |
Changed in vulkan (Ubuntu Bionic): | |
status: | Incomplete → In Progress |
assignee: | Ubuntu Security Team (ubuntu-security) → Rodrigo Figueiredo Zaiden (rodrigo-zaiden) |
Changed in vulkan (Ubuntu Bionic): | |
assignee: | Rodrigo Figueiredo Zaiden (rodrigo-zaiden) → nobody |
Changed in vulkan (Ubuntu Bionic): | |
status: | In Progress → Won't Fix |
FYI - this is meant to be eventually promoted throughout all our releases.
Since the location changed there is also bug 1947020 for <=Bionic.
While the source changed and even more the source-name, since the rational and many other things are actually the same I'm merging them here.