- 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
This commit is contained in:
Martin Pluskal 2025-01-15 09:43:09 +00:00 committed by Git OBS Bridge
commit b95c09ea6d
9 changed files with 261 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

16
_service Normal file
View File

@ -0,0 +1,16 @@
<services>
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/vkmark/vkmark</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
<param name="filename">vkmark</param>
<param name="versionformat">2017.08+git.%cd</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="manual" name="set_version" />
</services>

6
_servicedata Normal file
View File

@ -0,0 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/vkmark/vkmark</param>
<param name="changesrevision">cf45f2faee236fd1118be2fcd27e4f2a91fc2e40</param></service><service name="tar_scm">
<param name="url">https://github.com/vkmark/vkmark</param>
<param name="changesrevision">a2563f7cd1d35378a945615ef906e42b6edb63da</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb7e0600319af122167a73afe0cae18aa1ba814b50982cd0ab9cf94be10777e9
size 2033676

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d07cf8462bd5dc3260911e3c5d0f90b76de51affc95e5d99e8d4be5313768c42
size 2054156

146
vkmark.changes Normal file
View File

@ -0,0 +1,146 @@
-------------------------------------------------------------------
Wed Jan 15 09:40:58 UTC 2025 - Martin Pluskal <mpluskal@suse.com>
- 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 <mpluskal@suse.com>
- 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 <cstdint> 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 <mpluskal@suse.com>
- Update to version 2017.08+git.20220909:
* Fix missing <memory> 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 <mpluskal@suse.com>
- 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 <mpluskal@suse.com>
- Update to version 2017.08+git.20210312:
* wayland: Reply to ping message
-------------------------------------------------------------------
Thu Mar 4 08:14:49 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
- 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 <mpluskal@suse.com>
- 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 <mpluskal@suse.com>
- 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 <mpluskal@suse.com>
- Do not try to build on 32 bit architectures
-------------------------------------------------------------------
Wed Nov 14 15:47:47 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- 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.

4
vkmark.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: vkmark
version: 2017.08+git.20250114
mtime: 1736874537
commit: a2563f7cd1d35378a945615ef906e42b6edb63da

59
vkmark.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package vkmark
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2018-2022 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# 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