21 Commits

Author SHA256 Message Date
f9797c46bc Accepting request 1321865 from X11:Wayland
new version

OBS-URL: https://build.opensuse.org/request/show/1321865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=59
2025-12-11 17:31:51 +00:00
73777f1397 Accepting request 1309570 from X11:Wayland
- Update to tag SDK-1.4.328.0

OBS-URL: https://build.opensuse.org/request/show/1309570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=58
2025-10-08 16:13:23 +00:00
4efec4875b Accepting request 1294035 from X11:Wayland
- Update to tag SDK-1.4.321.0

OBS-URL: https://build.opensuse.org/request/show/1294035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=57
2025-07-20 13:28:32 +00:00
OBS User unknown
8faa768732 [info=4f8fab8d8b3a67a092a67c9559a11c66d7706179d8071238f6454bd59e77fd0a]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=130
2025-07-17 06:34:45 +00:00
OBS User unknown
02a323b7e4 [info=aeba815071b0e02c5469473419fdb986e1f9f661452f2768973c6cb0adf8037c]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=129
2025-07-17 06:15:15 +00:00
c0cf89d1d2 Accepting request 1290915 from X11:Wayland
- Add cmake.patch

OBS-URL: https://build.opensuse.org/request/show/1290915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=56
2025-07-08 13:27:56 +00:00
OBS User unknown
356665489e [info=7381c1d02a6e8b19de56f66ed52e33f3cea02651295ce531a7dd33d83a58123f]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=128
2025-07-06 15:42:32 +00:00
492dda8400 Accepting request 1283444 from X11:Wayland
- Remove unused dependency on vulkan-volk

OBS-URL: https://build.opensuse.org/request/show/1283444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=55
2025-06-10 06:57:52 +00:00
OBS User unknown
9c4e10d77e [info=54496bc7670e890cf7772b1ee91c7573632260ac93dc6a052fdf40f437e15233]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=127
2025-06-05 19:10:00 +00:00
c26500b89a Accepting request 1278225 from X11:Wayland
- Update to tag SDK-1.4.313.0

OBS-URL: https://build.opensuse.org/request/show/1278225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=54
2025-05-23 12:28:21 +00:00
OBS User unknown
f78b4f4c59 [info=76a7fb791b7825bf07e48bcbd865e6f48ee6110d8065687a2f656b8c2f0af939]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=126
2025-05-18 09:12:34 +00:00
3a61d02e0f Accepting request 1252824 from X11:Wayland
- Update to tag SDK-1.4.309.0

OBS-URL: https://build.opensuse.org/request/show/1252824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=53
2025-03-15 15:15:32 +00:00
OBS User unknown
e95899fc42 [info=9d34012fd05c368ecdd865c1b389a0fcc2d07607cc83f83a8a111901e1aedf00]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=125
2025-03-13 16:42:18 +00:00
61d8b67acb Accepting request 1233208 from X11:Wayland
- Update to tag 1.4.304

OBS-URL: https://build.opensuse.org/request/show/1233208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=52
2024-12-26 11:23:16 +00:00
OBS User unknown
de5ffad546 [info=c52efca805a08250357a87d507ce0228299da195c3ae0c1510353e08829f2cfd]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=124
2024-12-24 02:24:41 +00:00
71eca27cef Accepting request 1206378 from X11:Wayland
- Update to release SDK-1.3.296

OBS-URL: https://build.opensuse.org/request/show/1206378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=51
2024-10-09 20:03:14 +00:00
OBS User unknown
d9b01c5507 [info=87d26be6c9781ad81cfb24c802006069aef6492550f077a99c46a00d6ca9ed1a]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=123
2024-10-08 17:14:44 +00:00
7e2c71efe6 Accepting request 1189193 from X11:Wayland
- Update to release SDK-1.3.290

OBS-URL: https://build.opensuse.org/request/show/1189193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=50
2024-07-24 13:29:35 +00:00
OBS User unknown
1a951be104 [info=656e64931fd7f38929b75d46cd35c46cf46f9970afc6a6307c3fdfdc639afb63]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=122
2024-07-23 05:27:39 +00:00
066a8f67ec [info=c246a6c07b5688e587db20b02fd23e3c20b065f0c9b223efb417c29933ec1f06]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=121
2024-07-10 09:32:22 +00:00
c3bedd582a [info=c246a6c07b5688e587db20b02fd23e3c20b065f0c9b223efb417c29933ec1f06]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-tools?expand=0&rev=120
2024-06-27 08:33:20 +00:00
8 changed files with 92 additions and 115 deletions

View File

@@ -1,102 +0,0 @@
From 105d6c1fede00c3a9055e5a531ebf3d99bac406e Mon Sep 17 00:00:00 2001
From: Charles Giessen <charles@lunarg.com>
Date: Thu, 17 Jul 2025 09:56:40 -0500
Subject: [PATCH] build: Remove pkg-config provided library names
The library names of Xcb, Xlib, and Wayland do not need to be queried from pkg-config,
instead they can be hardcoded to use the fallback names.
The intent of querying the library names was to prevent issues where the hardcoded name
was not the platform-appropriate name. But because <library>_LINK_LIBRARIES can have
more than one library name, the logic to assign <library>_LINK_LIBRARIES into a compile
definition breaks horribly. While it is possible to handle this in CMake, the dlopen code would
also have to handle it which is much more error prone.
---
cube/CMakeLists.txt | 20 --------------------
cube/wayland_loader.h | 3 ---
cube/xcb_loader.h | 3 ---
cube/xlib_loader.h | 3 ---
4 files changed, 29 deletions(-)
diff --git a/cube/CMakeLists.txt b/cube/CMakeLists.txt
index 7e135e79b..dac6bfed9 100644
--- a/cube/CMakeLists.txt
+++ b/cube/CMakeLists.txt
@@ -307,16 +307,6 @@ if (ANDROID)
return()
endif()
-if (XCB_LINK_LIBRARIES)
- target_compile_definitions(vkcube PRIVATE "XCB_LIBRARY=\"${XCB_LINK_LIBRARIES}\"")
-endif()
-if (X11_LINK_LIBRARIES)
- target_compile_definitions(vkcube PRIVATE "XLIB_LIBRARY=\"${X11_LINK_LIBRARIES}\"")
-endif()
-if (WAYLAND_CLIENT_LINK_LIBRARIES)
- target_compile_definitions(vkcube PRIVATE "WAYLAND_LIBRARY=\"${WAYLAND_CLIENT_LINK_LIBRARIES}\"")
-endif()
-
# ----------------------------------------------------------------------------
# vkcubepp
@@ -360,16 +350,6 @@ target_include_directories(vkcubepp PRIVATE .)
# target_compile_definitions(vkcubepp PRIVATE ${ENABLED_CUBE_PLATFORMS})
# target_link_libraries(vkcubepp ${CMAKE_DL_LIBS} Vulkan::Headers)
target_compile_definitions(vkcubepp PRIVATE ${ENABLED_CUBE_PLATFORMS})
target_link_libraries(vkcubepp Vulkan::Headers volk::volk_headers)
-if (XCB_LINK_LIBRARIES )
- target_compile_definitions(vkcubepp PUBLIC "XCB_LIBRARY=\"${XCB_LINK_LIBRARIES}\"")
-endif()
-if (X11_LINK_LIBRARIES)
- target_compile_definitions(vkcubepp PUBLIC "XLIB_LIBRARY=\"${X11_LINK_LIBRARIES}\"")
-endif()
-if (WAYLAND_CLIENT_LINK_LIBRARIES)
- target_compile_definitions(vkcubepp PUBLIC "WAYLAND_LIBRARY=\"${WAYLAND_CLIENT_LINK_LIBRARIES}\"")
-endif()
-
if(APPLE)
install(
TARGETS vkcubepp
diff --git a/cube/wayland_loader.h b/cube/wayland_loader.h
index 2afab6e97..7d7d91412 100644
--- a/cube/wayland_loader.h
+++ b/cube/wayland_loader.h
@@ -80,9 +80,6 @@ static PFN_wl_display_disconnect cube_wl_display_disconnect = NULL;
static inline void *initialize_wayland() {
void *wayland_library = NULL;
-#if defined(WAYLAND_LIBRARY)
- wayland_library = dlopen(WAYLAND_LIBRARY, RTLD_NOW | RTLD_LOCAL);
-#endif
if (NULL == wayland_library) {
wayland_library = dlopen("libwayland-client.so.0", RTLD_NOW | RTLD_LOCAL);
}
diff --git a/cube/xcb_loader.h b/cube/xcb_loader.h
index a94d5ab56..cecd25402 100644
--- a/cube/xcb_loader.h
+++ b/cube/xcb_loader.h
@@ -88,9 +88,6 @@ static PFN_xcb_screen_next cube_xcb_screen_next = NULL;
void *initialize_xcb() {
void *xcb_library = NULL;
-#if defined(XCB_LIBRARY)
- xcb_library = dlopen(XCB_LIBRARY, RTLD_NOW | RTLD_LOCAL);
-#endif
if (NULL == xcb_library) {
xcb_library = dlopen("libxcb.so.1", RTLD_NOW | RTLD_LOCAL);
}
diff --git a/cube/xlib_loader.h b/cube/xlib_loader.h
index c7874d0e7..881789f18 100644
--- a/cube/xlib_loader.h
+++ b/cube/xlib_loader.h
@@ -72,9 +72,6 @@ static PFN_XFlush cube_XFlush = NULL;
void* initialize_xlib() {
void* xlib_library = NULL;
-#if defined(XLIB_LIBRARY)
- xlib_library = dlopen(XLIB_LIBRARY, RTLD_NOW | RTLD_LOCAL);
-#endif
if (NULL == xlib_library) {
xlib_library = dlopen("libX11.so.6", RTLD_NOW | RTLD_LOCAL);
}

View File

@@ -0,0 +1,35 @@
From 54587dc9ccc739b1b2649d71de20583c3e12ddcb Mon Sep 17 00:00:00 2001
From: Danylo Piliaiev <dpiliaiev@igalia.com>
Date: Mon, 8 Dec 2025 14:22:19 +0100
Subject: [PATCH] vulkaninfo: Fix running under RenderDoc
RenderDoc allows only one simultaneously existing logical device, and
vulkaninfo doesn't have a real need to keep them simultaneously alive.
Running vulkaninfo under RenderDoc is useful to get a Vulkan profile
that will represent the RenderDoc capabilities on the current GPU,
which can be useful to, e.g., make a gfxreconstruct trace that will be
later capturable by RenderDoc.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
---
vulkaninfo/vulkaninfo.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h
index eaf4331a..217c1337 100644
--- a/vulkaninfo/vulkaninfo.h
+++ b/vulkaninfo/vulkaninfo.h
@@ -1814,6 +1814,9 @@ struct AppGpu {
// Video //
video_profiles = enumerate_supported_video_profiles(*this);
+
+ vkDestroyDevice(dev, nullptr);
+ dev = VK_NULL_HANDLE;
}
~AppGpu() { vkDestroyDevice(dev, nullptr); }
--
2.52.0

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1765322395
commit: 17eb99ebe9a64a46ac16cd3d672fd2ed2b7635dc92006e64d431464e55d9c9d2
url: https://src.opensuse.org/jengelh/vulkan-tools
revision: master

3
build.specials.obscpio Normal file
View File

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

BIN
v1.4.304.tar.gz LFS

Binary file not shown.

BIN
v1.4.335.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,9 +1,48 @@
-------------------------------------------------------------------
Thu Aug 7 09:03:56 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
Tue Dec 9 23:18:24 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add rebased patch from upstream to fix building with
wayland 1.24:
* 0001-build-Remove-pkg-config-provided-library-names.patch
- Update to release 1.4.335
* vulkaninfo: Support promoted structs in Profile JSON output
- Add 0001-vulkaninfo-Fix-running-under-RenderDoc.patch
-------------------------------------------------------------------
Tue Oct 7 10:04:08 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to tag SDK-1.4.328.0
* vulkaninfo: Default init VkVideoCapabilitiesKHR
* cube: Fix auto WSI platform selection on QNX
- Delete cmake.patch (merged)
-------------------------------------------------------------------
Thu Jul 17 06:13:32 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to tag SDK-1.4.321.0
* cube: prefer Wayland over X11 when available
-------------------------------------------------------------------
Sun Jul 6 15:30:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add cmake.patch
-------------------------------------------------------------------
Thu Jun 5 19:09:31 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Remove unused dependency on vulkan-volk
-------------------------------------------------------------------
Sun May 18 04:29:18 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to tag SDK-1.4.313.0
* vkcubepp: Support protected output
* cube: Only count non-minimized frames
-------------------------------------------------------------------
Thu Mar 13 16:41:22 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to tag SDK-1.4.309.0
* vulkaninfo: Add video profiles support
* cube: Correctly apply sRGB OETF/EOTF
* icd: Add VkPhysicalDeviceMaintenance3Properties
-------------------------------------------------------------------
Tue Dec 24 01:33:04 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package vulkan-tools
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: vulkan-tools
Version: 1.4.304
Version: 1.4.335
Release: 0
Summary: Diagnostic utilities for Vulkan
License: Apache-2.0
@@ -25,14 +25,12 @@ Group: Development/Tools/Other
URL: https://github.com/KhronosGroup/Vulkan-Tools
Source: https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/v%version.tar.gz
Source9: baselibs.conf
# PATCH-FIX-UPSTREAM
Patch0: 0001-build-Remove-pkg-config-provided-library-names.patch
Patch1: 0001-vulkaninfo-Fix-running-under-RenderDoc.patch
BuildRequires: cmake >= 3.17
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: vulkan-volk-devel >= %version
BuildRequires: pkgconfig(vulkan) >= %version
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(x11)
@@ -48,7 +46,7 @@ graphics applications such as games and interactive media.
This package contains the Khronos official Vulkan tools and utilities.
%prep
%autosetup -p1 -n Vulkan-Tools-%version
%autosetup -n Vulkan-Tools-%version -p1
%build
mkdir -p glslang/bin