Add Wayland + Vulkan WSI support#64
Closed
ellierocks wants to merge 1 commit into
Closed
Conversation
Enables native Wayland rendering via Qt Wayland platform plugin and Vulkan KHR_wayland_surface. Previously Dolphin forced XCB even when QT_QPA_PLATFORM=wayland was set and had no Wayland surface creation path in the Vulkan backend. - CMake: ENABLE_WAYLAND option, pkg_check_modules for wayland-client - Vulkan: VK_USE_PLATFORM_WAYLAND_KHR, instance extension, vkCreateWaylandSurfaceKHR entry point, surface creation, UINT32_MAX currentExtent handling for compositor-driven sizing - Qt: removed forced xcb override, isExposed()-gated initial sizing for async Wayland configure, screen-size fallback - Presenter: SetSurfaceDimensions bridge for compositor-triggered window resize propagation to the swap chain - RenderWidget: removed stale SizeChanged emit in showFullScreen (fires before compositor configure on Wayland)
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables native Wayland rendering via Qt Wayland platform plugin and Vulkan KHR_wayland_surface. Previously Dolphin forced XCB even when QT_QPA_PLATFORM=wayland was set and had no Wayland surface creation path in the Vulkan backend.
This provides a future proof path for presentation on Linux without disabling x11 or xwayland support. This means real support for tearing/VRR with VK_PRESENT_MODE_IMMEDIATE_KHR via tearing_control_v1 protocol as well. From my testing on Fedora Rawhide melee runs great on both Plasma and Sway and there doesn't seem to be any issues with the Qt UI.