Public bug reported:

[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

** Affects: vulkan (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to vulkan in Ubuntu.
https://bugs.launchpad.net/bugs/1947020

Title:
  [MIR] vulkan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vulkan/+bug/1947020/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to