https://bugs.kde.org/show_bug.cgi?id=466454

--- Comment #3 from Mark Richardson <oldkentuckym...@gmail.com> ---
After even more testing this appears to only happen with XWayland windows and a
scale set to 150%, or 250%, no other fractional scale factors trigger the
disconnect between the window size, and the vulkan surface extent.

Just to be clear what's happening, with XWayland windows on kwin_wayland and
scale values of 150% or 250%, vkGetPhysicalDeviceSurfaceCapabilitiesKHR returns
a min and max extent of (1280,721) on a window of size (1280,720). This breaks
most Vulkan apps, including almost every Steam/Proton game.

The solution can not be to create the swapchain based on either the min/max
extent instead of the window size, because with SDL2's native Wayland backend,
the min/max reported extants are always (1,1),(16384,16384).

This still happens on the latest KDE(opensuse tumbleweed), with the stock
amdgpu kernel driver with RADV, and started on Plasma 5.26, before the new
fractional scaling protocol.

None of this happens on the lavapipe vulkan driver, min/max extant always
matches the window size exactly on Xorg and XWayland, and always returns min of
(1,1) and max of (16384,16384) on wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to