[PR #63] Respect acquire fences when reusing cached EGLImages #63

Open
opened 2026-10-15 12:48:03 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gst-wayland-display/pull/63
Author: @tonybart1337
Created: 8/23/2026
Status: 🔄 Open

Base: stable ← Head: fix/explicit-sync-gpu-wait


📝 Commits (1)

  • 020c4b5 fix(compositor): wait on acquire fence in renderer

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 wayland-display-core/src/wayland/handlers/compositor.rs (+6 -2)

📄 Description

On NVIDIA, Vulkan clients could display stale or flickering frames when a cached EGLImage was reused.

The existing commit blocker waits outside the GPU command stream, so the acquire fence may not be respected during rendering.

This change asks the renderer to wait on the acquire fence first. If that is unavailable, the existing commit blocker remains as a fallback.

Tested with Wolf and vkcube on NVIDIA. Vulkan rendering worked correctly with the DMA-BUF cache enabled.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gst-wayland-display/pull/63 **Author:** [@tonybart1337](https://github.com/tonybart1337) **Created:** 8/23/2026 **Status:** 🔄 Open **Base:** `stable` ← **Head:** `fix/explicit-sync-gpu-wait` --- ### 📝 Commits (1) - [`020c4b5`](https://github.com/games-on-whales/gst-wayland-display/commit/020c4b56e25060105030f01242c89deacc132b85) fix(compositor): wait on acquire fence in renderer ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `wayland-display-core/src/wayland/handlers/compositor.rs` (+6 -2) </details> ### 📄 Description On NVIDIA, Vulkan clients could display stale or flickering frames when a cached EGLImage was reused. The existing commit blocker waits outside the GPU command stream, so the acquire fence may not be respected during rendering. This change asks the renderer to wait on the acquire fence first. If that is unavailable, the existing commit blocker remains as a fallback. Tested with Wolf and `vkcube` on NVIDIA. Vulkan rendering worked correctly with the DMA-BUF cache enabled. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gst-wayland-display#63
No description provided.