From b95c09ea6df018d2d5db2c61353cf16d81d998e91ae1e2e28251fe5461c2c4fc Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 15 Jan 2025 09:43:09 +0000 Subject: [PATCH] - Update to version 2017.08+git.20250114: * kms: Create gbm_bos with explicit modifiers if possible * kms: Explicitly request all extensions dependencies * github: Add ubuntu-24.04 build in CI * headless: Add plugin for a headless window system * ws: Resolve swapchain related validation errors * vulkan_state: Set application vulkan version * vulkan_state: Add support for validation layers * build: Generate format names map from vk.xml * scenes,ws: Silence [[nodiscard]] warnings * kms: Add winsys option to specify the TTY to use * kms: Unbreak on FreeBSD * xcb: Fix incorrect window hint size * kms: Probe and use the first functional /dev/dri/cardX device * build: Require C++17 * wayland: Avoid segfault after failure to connect to display server * kms: Gracefully handle null results from KMS functions * ws: Improve automatic window system selection OBS-URL: https://build.opensuse.org/package/show/benchmark/vkmark?expand=0&rev=31 --- .gitattributes | 23 +++++ .gitignore | 1 + _service | 16 +++ _servicedata | 6 ++ vkmark-2017.08+git.20230412.obscpio | 3 + vkmark-2017.08+git.20250114.obscpio | 3 + vkmark.changes | 146 ++++++++++++++++++++++++++++ vkmark.obsinfo | 4 + vkmark.spec | 59 +++++++++++ 9 files changed, 261 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 vkmark-2017.08+git.20230412.obscpio create mode 100644 vkmark-2017.08+git.20250114.obscpio create mode 100644 vkmark.changes create mode 100644 vkmark.obsinfo create mode 100644 vkmark.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..66f56a5 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/vkmark/vkmark + git + master + enable + vkmark + 2017.08+git.%cd + + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..74bd761 --- /dev/null +++ b/_servicedata @@ -0,0 +1,6 @@ + + + git://github.com/vkmark/vkmark + cf45f2faee236fd1118be2fcd27e4f2a91fc2e40 + https://github.com/vkmark/vkmark + a2563f7cd1d35378a945615ef906e42b6edb63da \ No newline at end of file diff --git a/vkmark-2017.08+git.20230412.obscpio b/vkmark-2017.08+git.20230412.obscpio new file mode 100644 index 0000000..7621af5 --- /dev/null +++ b/vkmark-2017.08+git.20230412.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb7e0600319af122167a73afe0cae18aa1ba814b50982cd0ab9cf94be10777e9 +size 2033676 diff --git a/vkmark-2017.08+git.20250114.obscpio b/vkmark-2017.08+git.20250114.obscpio new file mode 100644 index 0000000..0093af9 --- /dev/null +++ b/vkmark-2017.08+git.20250114.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d07cf8462bd5dc3260911e3c5d0f90b76de51affc95e5d99e8d4be5313768c42 +size 2054156 diff --git a/vkmark.changes b/vkmark.changes new file mode 100644 index 0000000..b7a1498 --- /dev/null +++ b/vkmark.changes @@ -0,0 +1,146 @@ +------------------------------------------------------------------- +Wed Jan 15 09:40:58 UTC 2025 - Martin Pluskal + +- Update to version 2017.08+git.20250114: + * kms: Create gbm_bos with explicit modifiers if possible + * kms: Explicitly request all extensions dependencies + * github: Add ubuntu-24.04 build in CI + * headless: Add plugin for a headless window system + * ws: Resolve swapchain related validation errors + * vulkan_state: Set application vulkan version + * vulkan_state: Add support for validation layers + * build: Generate format names map from vk.xml + * scenes,ws: Silence [[nodiscard]] warnings + * kms: Add winsys option to specify the TTY to use + * kms: Unbreak on FreeBSD + * xcb: Fix incorrect window hint size + * kms: Probe and use the first functional /dev/dri/cardX device + * build: Require C++17 + * wayland: Avoid segfault after failure to connect to display server + * kms: Gracefully handle null results from KMS functions + * ws: Improve automatic window system selection + +------------------------------------------------------------------- +Thu Jun 15 16:55:41 UTC 2023 - Martin Pluskal + +- Update to version 2017.08+git.20230412: + * kms: Use VK_EXT_external_memory_dmabuf to create dmabuf-backed Vulkan images + * core,ws: Allow WSI backends to request device extensions + * core: Improve log message consistency + * github: Build with both ubuntu-20.04 and ubuntu-22.04 in CI + * vkutil: transition image to eShaderReadOnlyOptimal + * Fix missing include +- Drop no longer needed vkmark-cstdint-include.patch + +------------------------------------------------------------------- +Tue Mar 28 00:53:01 UTC 2023 - malcolmlewis@opensuse.org + +- Add vkmark-cstdint-include.patch: Add missing cstdint include in + scene.h, (gh#vkmark/vkmark#51). + +------------------------------------------------------------------- +Thu Feb 2 01:32:52 UTC 2023 - malcolmlewis@opensuse.org + +- Drop build requires on deprecated Mesa-libVulkan-devel. + +------------------------------------------------------------------- +Thu Nov 24 13:55:41 UTC 2022 - Martin Pluskal + +- Update to version 2017.08+git.20220909: + * Fix missing includes +- Drop vkmark-fix-missing-include.patch + +------------------------------------------------------------------- +Fri Sep 9 02:29:34 UTC 2022 - malcolmlewis@opensuse.org + +- Add vkmark-fix-missing-include.patch: Add missing memory include + to fix building. + +------------------------------------------------------------------- +Tue Jun 28 16:32:42 UTC 2022 - malcolmlewis@opensuse.org + +- Update to version 2017.08+git.20220516: + * vkutil: Fix compilation with older vulkan-hpp versions + * vkutil: Avoid deprecated vk::ResultValue implicit cast + * tests: Update catch.hpp to v2.13.9 +- Drop vkmark-sigstksz-not-constant.patch as this is upstreamed. + +------------------------------------------------------------------- +Mon Dec 20 13:32:45 UTC 2021 - malcolmlewis@opensuse.org + +- Add vkmark-sigstksz-not-constant.patch: Temporary fix for glibc + changes, (gh#vkmark/vkmark#37). + +------------------------------------------------------------------- +Wed Oct 20 07:40:41 UTC 2021 - Martin Pluskal + +- Update to version 2017.08+git.20211008: + * meson: check all deps, when enabling wayland winsys + * meson: error out when no winsys is available + +------------------------------------------------------------------- +Thu Apr 22 07:23:53 UTC 2021 - Martin Pluskal + +- Update to version 2017.08+git.20210312: + * wayland: Reply to ping message + +------------------------------------------------------------------- +Thu Mar 4 08:14:49 UTC 2021 - Martin Pluskal + +- Update to version 2017.08+git.20210301: + * doc: Document new Vulkan device related flags in man page + * core: Allow selecting the Vulkan device to run on + +------------------------------------------------------------------- +Fri May 22 07:09:01 UTC 2020 - Martin Pluskal + +- Update to version 2017.08+git.20200521: + * core: Use generated map of pixel formats to handle --pixel-format option + * core: Fix crash with newer vulkan-hpp + * doc: Update README.md with new wayland dependencies + * ci: Update packages dependencies for wayland + * wayland: Port to xdg-shell + * wayland: Mark the whole surface as opaque + * wayland: Retain native size in hidpi scaled outputs + * ci: Add build and test github workflow + * Fix build against glm-0.9.9.6 + * build: Specify meson version as 0.45 + +------------------------------------------------------------------- +Thu Dec 19 15:31:23 UTC 2019 - Martin Pluskal + +- Update dependencies (add Mesa-libVulkan-devel) + +------------------------------------------------------------------- +Sun Nov 24 22:53:15 UTC 2019 - malcolmlewis@opensuse.org + +- Update to version 2017.08+git.20191115: + * ci: Add build and test github workflow. + * Fix build against glm-0.9.9.6. + * build: Specify meson version as 0.45. + * kms: Check the result of the vkCreateDmaBufImageINTEL call. + * kms: Add kms-atomic window system option. + * kms: Add atomic modesetting support. + * kms: Simplify creation of ManagedResource objects. + * scenes: Use vkutil::map_memory. + * vkutil: Add map_memory helper function. + * scenes: Use vkutil::SemaphoreBuilder. +- Drop vkmark-skip-glm-dep-check.patch as this has been upstreamed. + +------------------------------------------------------------------- +Tue Nov 5 07:48:56 UTC 2019 - Martin Pluskal + +- Do not try to build on 32 bit architectures + +------------------------------------------------------------------- +Wed Nov 14 15:47:47 UTC 2018 - Martin Pluskal + +- Small packaging cleanups + +------------------------------------------------------------------- +Tue Nov 13 14:12:00 UTC 2018 - malcolmlewis@opensuse.org + +- Initial build at version 2017.08 up to commit + 1ebd493 (2018-05-30). +- Add vkmark-skip-glm-dep-check.patch: No glm-devel pc file + present in development package, so check fails. diff --git a/vkmark.obsinfo b/vkmark.obsinfo new file mode 100644 index 0000000..8f210ed --- /dev/null +++ b/vkmark.obsinfo @@ -0,0 +1,4 @@ +name: vkmark +version: 2017.08+git.20250114 +mtime: 1736874537 +commit: a2563f7cd1d35378a945615ef906e42b6edb63da diff --git a/vkmark.spec b/vkmark.spec new file mode 100644 index 0000000..ab9d510 --- /dev/null +++ b/vkmark.spec @@ -0,0 +1,59 @@ +# +# spec file for package vkmark +# +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2018-2022 Malcolm J Lewis +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: vkmark +Version: 2017.08+git.20250114 +Release: 0 +Summary: Vulkan benchmark utility +License: LGPL-2.1-or-later +URL: https://github.com/vkmark/vkmark +Source0: %{name}-%{version}.tar.xz +BuildRequires: gcc-c++ +BuildRequires: glm-devel +BuildRequires: meson >= 0.45 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(assimp) +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(vulkan) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-icccm) +ExcludeArch: %{arm} %{ix86} + +%description +An extensible Vulkan benchmarking suite with targeted, configurable scenes. + +%prep +%autosetup + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%{_bindir}/vkmark +%{_libdir}/vkmark/ +%{_mandir}/man1/vkmark.1%{?ext_man} +%{_datadir}/vkmark/ + +%changelog