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.
** Description changed: + ------ vulkan-tools ------ + [Availability] vulkan-utils package is present since Focal, as part of vulkan-tools package: <https://launchpad.net/ ubuntu/+source/vulkan-tools> as transitional package <https://launchpad.net/ubuntu/+source/vulkan-tools/ 1.2.131.1+dfsg1-1> : amd64 arm64 armhf ppc64el riscv64 s390x. 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://code.launchpad.net/~mirespace/+git/vulkan-tools (ppa:mirespace/impish-vulkan-tools-adding-dep8-tests). [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://bugs.debian.org/cgi-bin/pkgreport.cgi?package=vulkan-tools: The only reported bug is not considered as such. - https://bugs.debian.org/cgi-bin/ pkgreport.cgi?include=tags%3Apatch&exclude=tags%3Apending&pend- exc=done&repeatmerged=no&src=vulkan : The only one has a patch and is a request for porting to non-linux systems. Upstream: https://github.com/KhronosGroup/Vulkan-Tools/issues. They have 6 bugs open (52 closed), Wayland support related and the other driver-related with a workaround or known issues. -> 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/doc/vulkan-tools/changelog.Debian.gz vulkan-tools: /usr/share/doc/vulkan-tools/copyright vulkan-tools: /usr/share/man/man1/vulkaninfo.1.gz -> Installation: No debconf questions arise. ubuntu@develop:~$ sudo apt install vulkan-tools 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://archive.ubuntu.com/ubuntu impish-proposed/main amd64 libdrm-amdgpu1 amd64 2.4.107-8ubuntu1 [ 19.8 kB] Get:2 http://archive.ubuntu.com/ubuntu impish/main amd64 libllvm12 amd64 1:12.0.1-8build1 [21.1 MB] Get:3 http://archive.ubuntu.com/ubuntu impish/main amd64 libvulkan1 amd64 1.2.162.0-1 [97.2 kB] Get:4 http://archive.ubuntu.com/ubuntu impish/main amd64 libwayland-client0 amd64 1.19.0-2build1 [25.0 kB] Get:5 http://archive.ubuntu.com/ubuntu impish/main amd64 libx11-xcb1 amd64 2:1.7.2-1 [7788 B] Get:6 http://archive.ubuntu.com/ubuntu impish/main amd64 libxcb-dri3-0 amd64 1.14-3ubuntu1 [6720 B] Get:7 http://archive.ubuntu.com/ubuntu impish/main amd64 libxcb-present0 amd64 1.14-3ubuntu1 [5556 B] Get:8 http://archive.ubuntu.com/ubuntu impish/main amd64 libxcb-randr0 amd64 1.14-3ubuntu1 [16.4 kB] Get:9 http://archive.ubuntu.com/ubuntu impish/main amd64 libxcb-sync1 amd64 1.14-3ubuntu1 [8900 B] Get:10 http://archive.ubuntu.com/ubuntu impish/main amd64 libxshmfence1 amd64 1.3-1build2 [5168 B] Get:11 http://archive.ubuntu.com/ubuntu impish/main amd64 mesa-vulkan-drivers amd64 21.2.2-1ubuntu1 [5541 kB] Get:12 http://archive.ubuntu.com/ubuntu impish/universe amd64 vulkan-tools amd64 1.2.162.0+dfsg1-1 [202 kB] 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]: @@@@@@@@@@@@@@@@@@@@ summary check-sections PASS -> Lintian executions: ❯ lintian --pedantic -I --show-overrides I: vulkan-tools source: debian-watch-file-should-dversionmangle-not-uversionmangle opts="repack,uversionmangle=s/$/+dfsg1/,filenamemangle=s/(?:.*?)?sdk[_-]?(\d[\d.]*)\.tar\.gz/ vulkan-tools-$1.tar.gz/" https://github.com/KhronosGroup/Vulkan-Tools/tags (?:.*?/)sdk[_-](\d[\d.]*)\.tar\.gz P: vulkan-tools source: rules-requires-root-missing [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://tracker.debian.org/pkg/vulkan [2] https://tracker.debian.org/pkg/vulkan-tools [3] https://ftp-master.debian.org/removals.txt [4] https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers + + ------ vulkan ------ + + [Availability] + + vulkaninfo tool is present up to Bionic in package vulkan-utils, as + part of vulkan source package: + <https://launchpad.net/ubuntu/+source/vulkan> in updates pocket + <https://launchpad.net/ubuntu/+source/vulkan/1.1.70+dfsg1-1ubuntu0.18.04.1> + : amd64 arm64 armhf i386 ppc64el s390x + + 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://code.launchpad.net/~mirespace/ubuntu/+source/vulkan/+git/vulkan (ppa : https://launchpad.net/~mirespace/+archive/ubuntu/bionic-vulkan-adding-dep8-tests). + + [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://bugs.debian.org/cgi-bin/ + pkgreport.cgi?include=tags%3Apatch&exclude=tags%3Apending&pend- + exc=done&repeatmerged=no&src=vulkan : The only one has a patch and is a + request for porting to non-linux systems. + + Upstream: https://github.com/KhronosGroup/Vulkan- + LoaderAndValidationLayers/issues. They have 20 bugs open (517 closed), + but it's a read-only report and many of these were moved or/and fixed in + the splitting of repositories that they did from this + (https://github.com/KhronosGroup/Vulkan-Tools/, + https://github.com/KhronosGroup/Vulkan-ValidationLayers, + https://github.com/KhronosGroup/Vulkan-Loader). + + -> Contents + + root@bionic:~# apt-file list vulkan-utils + vulkan-utils: /usr/bin/vulkan-smoketest + vulkan-utils: /usr/bin/vulkaninfo + vulkan-utils: /usr/share/doc/vulkan-utils/changelog.Debian.gz + vulkan-utils: /usr/share/doc/vulkan-utils/copyright + vulkan-utils: /usr/share/man/man1/vulkan-smoketest.1.gz + vulkan-utils: /usr/share/man/man1/vulkaninfo.1.gz + + -> 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://archive.ubuntu.com/ubuntu> bionic-updates/universe amd64 libvulkan1 amd64 1.1.70+dfsg1-1ubuntu0.18.04.1 [93.4 kB] + Get:2 <http://archive.ubuntu.com/ubuntu> bionic-updates/universe amd64 vulkan-utils amd64 1.1.70+dfsg1-1ubuntu0.18.04.1 [88.7 kB] + + 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_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT + VK_FORMAT_FEATURE_BLIT_SRC_BIT + VK_FORMAT_FEATURE_BLIT_DST_BIT + VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT + VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG + VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR + VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR + + 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]: @@@@@@@@@@@@@@@@@@@@ summary + check-sections PASS + + -> Lintian executions: + + ❯ lintian --pedantic -I --show-overrides + E: libvulkan-dev: missing-dependency-on-libc needed by usr/lib/x86_64-linux-gnu/libVkLayer_core_validation.so and 5 others + E: libvulkan-dev: package-must-activate-ldconfig-trigger usr/lib/x86_64-linux-gnu/libVkLayer_utils.so + W: libvulkan-dev: package-name-doesnt-match-sonames libVkLayer-core-validation libVkLayer-object-tracker libVkLayer-parameter-validation libVkLayer-threading libVkLayer-unique-objects libVkLayer-utils + W: libvulkan-dev: shlib-without-versioned-soname usr/lib/x86_64-linux-gnu/libVkLayer_core_validation.so libVkLayer_core_validation.so + W: libvulkan-dev: shlib-without-versioned-soname usr/lib/x86_64-linux-gnu/libVkLayer_object_tracker.so libVkLayer_object_tracker.so + W: libvulkan-dev: shlib-without-versioned-soname usr/lib/x86_64-linux-gnu/libVkLayer_parameter_validation.so libVkLayer_parameter_validation.so + W: libvulkan-dev: shlib-without-versioned-soname ... use --no-tag-display-limit to see all (or pipe to a file/ program) + I: vulkan-utils: extended-description-is-probably-too-short + I: libvulkan-dev: hardening-no-bindnow usr/lib/x86_64-linux-gnu/libVkLayer_core_validation.so + I: libvulkan-dev: hardening-no-bindnow usr/lib/x86_64-linux-gnu/libVkLayer_object_tracker.so + I: libvulkan-dev: hardening-no-bindnow usr/lib/x86_64-linux-gnu/libVkLayer_parameter_validation.so + I: libvulkan-dev: hardening-no-bindnow ... use --no-tag-display-limit to see all (or pipe to a file/program) + I: libvulkan1: hardening-no-bindnow usr/lib/x86_64-linux-gnu/libvulkan.so.1.1.70 + I: libvulkan-dev: no-symbols-control-file usr/lib/x86_64-linux-gnu/libVkLayer_core_validation.so + I: libvulkan-dev: no-symbols-control-file usr/lib/x86_64-linux-gnu/libVkLayer_object_tracker.so + I: libvulkan-dev: no-symbols-control-file usr/lib/x86_64-linux-gnu/libVkLayer_parameter_validation.so + I: libvulkan-dev: no-symbols-control-file ... use --no-tag-display-limit to see all (or pipe to a file/ program) + I: libvulkan1: no-symbols-control-file usr/lib/x86_64-linux-gnu/libvulkan.so.1.1.70 + I: libvulkan-dev: package-contains-empty-directory usr/share/vulkan/implicit_layer.d/ + I: libvulkan-dev: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libVkLayer_core_validation.so Attemped Attempted + I: libvulkan-dev: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libVkLayer_core_validation.so truely truly + I: libvulkan-dev: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libVkLayer_parameter_validation.so Attemped Attempted + + 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://tracker.debian.org/pkg/vulkan + [2] https://tracker.debian.org/pkg/vulkan-tools + [3] https://ftp-master.debian.org/removals.txt + [4] https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers + [5] https://bugs.launchpad.net/ubuntu/+source/vulkan-tools/+bug/1946359 ** Also affects: vulkan (Ubuntu) Importance: Undecided Status: New ** Also affects: vulkan (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: vulkan-tools (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: vulkan (Ubuntu) Status: New => Invalid ** Also affects: vulkan (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: vulkan-tools (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: vulkan (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: vulkan-tools (Ubuntu Focal) Importance: Undecided Status: New ** No longer affects: vulkan (Ubuntu Focal) ** No longer affects: vulkan (Ubuntu Hirsute) ** No longer affects: vulkan-tools (Ubuntu Bionic) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946359 Title: [MIR] vulkan-tools To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vulkan/+bug/1946359/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
