https://bugs.kde.org/show_bug.cgi?id=460276
Bug ID: 460276 Summary: wayland window resize is sluggish when rendering to window using EGL Classification: I don't know Product: kde Version: unspecified Platform: Archlinux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: k...@i509.me Target Milestone: --- Created attachment 152725 --> https://bugs.kde.org/attachment.cgi?id=152725&action=edit Visual example of sluggish resizing SUMMARY While working on an EGL example for Smithay's client toolkit, I noticed that resizing is not smooth. Interestingly this sluggish resizing does not occur in Sway. This dismisses improper protocol use as the most likely cause. Forcing use of zink (MESA_LOADER_DRIVER_OVERRIDE=zink) causes the sluggish resize to go away (likely because Zink is using Vulkan WSI under the hood). I suspect this may involve KWin's Wayland implementation or how the client behaves because running the glutin example (available here https://github.com/rust-windowing/glutin) uses winit and has smooth resize. STEPS TO REPRODUCE 1. Be running Plasma under Wayland 2. Run the EGL example here: https://github.com/i509VCB/client-toolkit/tree/egl-example (cargo run --example=egl --features="wayland-backend/client_system") 3. Try resizing the window 4. Window resizes sluggishly. OBSERVED RESULT Resizing is sluggish. EXPECTED RESULT Resizing should be smooth. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 ADDITIONAL INFORMATION Issue is reproducible on both of my machines (AMD and Intel graphics) Multiple attachments don't seem to be allowed, here is the first 300 ish lines of WAYLAND_DEBUG that includes the protocol logs while resizing the window https://gist.github.com/i509VCB/061ec56d9bf0ae9656b41df3af35937a -- You are receiving this mail because: You are watching all bug changes.