Comment 0 for bug 1946359

Revision history for this message
Miriam España Acebal (mirespace) wrote :

[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: lp:~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 released to Focal later on).

[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 un Debian the package can be a sync again. In the meantime, server team is going to sign up for Ubuntu.

[Background information]

  vulkainfo 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