mirror of
https://github.com/games-on-whales/gst-wayland-display.git
synced 2026-10-15 12:51:57 +00:00
[PR #50] [CLOSED] fix(egl): stop reporting a failed wl_display bind as lost hardware acceleration #51
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#51
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/50
Author: @salty2011
Created: 7/26/2026
Status: ❌ Closed
Base:
feat/vulkan-encode← Head:fix/egl-bind-log-and-unbind📝 Commits (1)
7a34caafix(egl): stop reporting a failed wl_display bind as lost hardware acceleration📊 Changes
1 file changed (+11 additions, -1 deletions)
View changed files
📝
wayland-display-core/src/comp/mod.rs(+11 -1)📄 Description
One small logging fix around the EGL
wl_displaybind.renderer.bind_wl_display()failing is logged asinfo!("Failed to initialize EGL hardware-acceleration"). That reads as a fallback to software rendering, but the only product of this bind is theEGLBufferReaderused by the legacy wl_drm / EGL-image import path. Both client-buffer routes here go throughimport_dmabuf(handlers/dmabuf.rs, andhandlers/wl_drm.rs, since mesa's wl_drm is implemented over dmabuf), so a failed bind disables neither hardware acceleration nor dmabuf import.On render nodes where the bind always fails, that line appears on every startup. It cost me a long detour chasing a software-rendering fallback that was never happening. Demoted to
debug!and reworded to say what is actually unavailable.The earlier revision of this PR also added an explicit
unbind_wl_display()at teardown. Review showed the mechanism I proposed for it was wrong, and a live reproduction confirmed the real cause is overlapping compositor lifetimes, which prompt unbinding does not address. Dropped; details in the comments.cargo buildandcargo fmt --checkclean on43d4c25.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.