mirror of
https://github.com/games-on-whales/gst-wayland-display.git
synced 2026-10-15 12:51:57 +00:00
[PR #51] fix(vulkan): preserve image flags during allocation #52
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/gst-wayland-display#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/gst-wayland-display/pull/51
Author: @elibosley
Created: 7/27/2026
Status: 🔄 Open
Base:
feat/vulkan-encode← Head:fix/vulkan-image-create-flags📝 Commits (1)
3cfe6d0fix(vulkan): preserve image flags during allocation📊 Changes
3 files changed (+52 additions, -1 deletions)
View changed files
📝
docker/vulkan.Dockerfile(+3 -1)📝
patches/README.md(+15 -0)➕
patches/gstvulkan-preserve-image-create-flags.patch(+34 -0)📄 Description
What changed
VkImageCreateInfo::flagstovkGetPhysicalDeviceImageFormatProperties()Root cause
gst_vulkan_image_memory_alloc_with_image_info()creates the image with thecaller's flags, but its post-create format query currently passes
0. On RADV,that makes an otherwise valid multiplanar NV12/P010 allocation fail when
MUTABLE_FORMATandEXTENDED_USAGEauthorize storage-capable plane views.The wrapped-image allocation path already preserves these flags.
Impact
Compatible Vulkan Video implementations can write conversion output directly
into the encoder-owned NV12/P010 image instead of falling back to a separate
storage scratch image and copy. Implementations that do not advertise the
required format/usage combination retain the existing fallback.
Validation
mainVulkan, HDR, shared-frame ownership, and input-idempotency tests
direct_storage=true, optimal tiling, for both NV12/H.264 and P010/H.265The same minimal source change is prepared against GStreamer
main; thisrepository patch can be removed once an upstream release contains it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.