[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Timothy B changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=433436 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #13 from Zamundaaa --- To explain why I put this in CC for the commit, while there's probably still some driver bug (with some flicker being visible in Weston), it fixes most of the flicker on kwin_wayland. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #12 from Vlad Zahorodnii --- Git commit f07d6bd40034372b7176f57de080003c8a612d57 by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 10/05/2022 at 07:06. Pushed by vladz into branch 'master'. backends/drm: port the cursor to use output layers M +1-0src/backends/drm/CMakeLists.txt M +2-2src/backends/drm/drm_buffer_gbm.cpp M +2-1src/backends/drm/drm_buffer_gbm.h M +5-5src/backends/drm/drm_gpu.cpp M +24 -0src/backends/drm/drm_layer.cpp M +15 -0src/backends/drm/drm_layer.h M +117 -55 src/backends/drm/drm_output.cpp M +5-2src/backends/drm/drm_output.h M +33 -31 src/backends/drm/drm_pipeline.cpp M +8-8src/backends/drm/drm_pipeline.h M +7-8src/backends/drm/drm_pipeline_legacy.cpp M +47 -0src/backends/drm/drm_qpainter_layer.cpp M +18 -0src/backends/drm/drm_qpainter_layer.h M +3-1src/backends/drm/drm_render_backend.h M +2-2src/backends/drm/dumb_swapchain.cpp M +1-1src/backends/drm/dumb_swapchain.h M +7-1src/backends/drm/egl_gbm_backend.cpp M +2-1src/backends/drm/egl_gbm_backend.h A +65 -0src/backends/drm/egl_gbm_cursor_layer.cpp [License: GPL(v2.0+)] A +47 -0src/backends/drm/egl_gbm_cursor_layer.h [License: GPL(v2.0+)] M +15 -15 src/backends/drm/egl_gbm_layer_surface.cpp M +5-5src/backends/drm/egl_gbm_layer_surface.h M +6-0src/backends/drm/gbm_surface.cpp M +2-0src/backends/drm/gbm_surface.h M +6-1src/backends/drm/scene_qpainter_drm_backend.cpp M +2-1src/backends/drm/scene_qpainter_drm_backend.h https://invent.kde.org/plasma/kwin/commit/f07d6bd40034372b7176f57de080003c8a612d57 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #11 from ob --- (In reply to Zamundaaa from comment #10) The desktop icon/file/folder thing is definitely exclusive to the Wayland session. In X11, it animates fading in attached the cursor after the icon immediately disappears on the desktop or in the folder. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Zamundaaa changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|--- |UPSTREAM --- Comment #10 from Zamundaaa --- As this can be reproduced with Xorg, kwin_wayland and also weston is almost certain that this is a driver bug - it seems to me like it updates the cursor texture and position asynchronously. I opened an issue with amd: https://gitlab.freedesktop.org/drm/amd/-/issues/1968 (In reply to Patrick Silva from comment #4) > Same bug when I start to drag an icon on desktop. I use intel iGPU. > > SOFTWARE/OS VERSIIONS > Operating System: Arch Linux > KDE Plasma Version: 5.24.3 > KDE Frameworks Version: 5.92.0 > Qt Version: 5.15.3 > Graphics Platform: Wayland I think that is a Qt bug, there's a weird similar issue in Dolphin and Gwenview as well - but not in Firefox when dragging an image. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Nate Graham changed: What|Removed |Added CC||xaver.h...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #9 from nf.pere...@live.com --- Looks like the same problem but much worse on Wayland. It's really bothersome on Wayland, even at normal speed. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #8 from ob --- Created attachment 147968 --> https://bugs.kde.org/attachment.cgi?id=147968&action=edit Cursor glitch in Wayland and X11 It's definitely far less noticeable in X11, maybe a different problem altogether. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #7 from nf.pere...@live.com --- (In reply to ob from comment #6) > I don't believe this is exclusive to Wayland. I can notice a broken frame > when the cursor changes state in both X11 and Wayland. Can you verify that? You can use the camera from your phone if it has a slow-motion mode, like I did in my post above. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 ob changed: What|Removed |Added CC||oli-be...@outlook.com --- Comment #6 from ob --- I don't believe this is exclusive to Wayland. I can notice a broken frame when the cursor changes state in both X11 and Wayland. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Timothy B changed: What|Removed |Added CC||yule2...@live.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #5 from Merlin Cooper --- Affected too, using AMD GPU. Here's a short video showing it.. https://www.youtube.com/watch?v=bfv1wMdCgb4 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Patrick Silva changed: What|Removed |Added CC||bugsefor...@gmx.com --- Comment #4 from Patrick Silva --- Same bug when I start to drag an icon on desktop. I use intel iGPU. SOFTWARE/OS VERSIIONS Operating System: Arch Linux KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Patrick Silva changed: What|Removed |Added CC||mxanthropoc...@outlook.com --- Comment #3 from Patrick Silva --- *** Bug 451653 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 nf.pere...@live.com changed: What|Removed |Added CC||nf.pere...@live.com --- Comment #2 from nf.pere...@live.com --- I have this exact same problem on Manjaro KDE using Wayland. My graphics card is a Radeon RX 6800. Here's a 480fps slow motion video of my 180Hz monitor showing the issue: https://www.youtube.com/watch?v=75_pFmPOiRQ -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 GuHua changed: What|Removed |Added CC||renyune...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447797] Mouse cursor glitching upon switching states in the Wayland session
https://bugs.kde.org/show_bug.cgi?id=447797 --- Comment #1 from unixst...@protonmail.com --- I launched kwin_wayland with --exit-with-session konsole as well as with the WAYLAND_DEBUG=1 environment variable. This is the output (a bit trimmed). I tried to reproduce the issue (and successfully so!) by causing the cursor state to change. [195565,571] wl_callb...@31.done(322477) [195565,580] -> wl_buffer@36.destroy() [195565,771] -> wl_buffer@38.release() [195566,248] -> wl_surface@13.frame(new id wl_callback@31) [195566,260] -> wl_surface@13.set_buffer_scale(1) [195566,272] -> wl_surface@13.frame(new id wl_callback@34) [195566,304] -> zwp_linux_dmabuf_v1@25.create_params(new id zwp_linux_buffer_params_v1@35) [195566,315] -> zwp_linux_buffer_params...@35.add(fd 39, 0, 0, 4096, 16777215, 4294967295) [195566,331] -> zwp_linux_buffer_params_v1@35.create_immed(new id wl_buffer@33, 1024, 768, 808669784, 0) [195566,345] -> zwp_linux_buffer_params_v1@35.destroy() [195566,348] -> wl_surface@13.attach(wl_buffer@33, 0, 0) [195566,356] -> wl_surface@13.damage_buffer(210, 100, 616, 1) [195566,364] -> wl_surface@13.damage_buffer(209, 101, 618, 113) [195566,372] -> wl_surface@13.damage_buffer(209, 214, 637, 444) [195566,383] -> wl_surface@13.damage_buffer(209, 658, 618, 20) [195566,391] -> wl_surface@13.damage_buffer(210, 678, 616, 1) [195566,408] -> wl_surface@13.commit() [195566,515] -> wl_callb...@44.done(322478) [195566,529] -> wl_display@1.delete_id(44) [195566,593] wl_display@1.delete_id(44) [195566,607] wl_buffer@38.release() [195566,611] wl_callb...@44.done(322478) [195575,763] wl_display@1.delete_id(36) [195575,778] wl_display@1.delete_id(35) [195575,811] wl_pointer@19.motion(322489, 693,00, 658,00) [195577,254] wl_display@1.delete_id(31) [195577,264] wl_display@1.delete_id(34) [195577,279] wl_callb...@31.done(322490) [195578,328] wl_buffer@29.release() [195578,334] wl_callb...@34.done(322490) [195578,339] -> wl_buffer@29.destroy() [195578,605] -> wl_surface@13.frame(new id wl_callback@34) [195578,615] -> wl_surface@13.set_buffer_scale(1) [195578,624] -> wl_surface@13.frame(new id wl_callback@31) [195578,647] -> zwp_linux_dmabuf_v1@25.create_params(new id zwp_linux_buffer_params_v1@35) [195578,656] -> zwp_linux_buffer_params...@35.add(fd 39, 0, 0, 4096, 16777215, 4294967295) [195578,669] -> zwp_linux_buffer_params_v1@35.create_immed(new id wl_buffer@36, 1024, 768, 808669784, 0) [195578,679] -> zwp_linux_buffer_params_v1@35.destroy() [195578,683] -> wl_surface@13.attach(wl_buffer@36, 0, 0) [195578,690] -> wl_surface@13.damage_buffer(210, 100, 616, 1) [195578,698] -> wl_surface@13.damage_buffer(209, 101, 618, 577) [195578,705] -> wl_surface@13.damage_buffer(210, 678, 616, 1) [195578,716] -> wl_surface@13.commit() [195582,664] wl_display@1.delete_id(29) [195582,673] wl_display@1.delete_id(35) [195582,690] wl_pointer@19.motion(322496, 693,00, 659,00) [195590,602] wl_display@1.delete_id(34) [195590,612] wl_display@1.delete_id(31) [195590,631] wl_callb...@34.done(322504) [195615,851] wl_pointer@19.motion(322529, 692,00, 659,00) [195710,824] wl_pointer@19.motion(322624, 692,00, 660,00) [195717,713] wl_pointer@19.motion(322631, 691,00, 660,00) [195788,945] wl_pointer@19.motion(322702, 690,00, 660,00) [195806,836] wl_pointer@19.motion(322720, 690,00, 661,00) [195832,803] wl_pointer@19.motion(322746, 689,00, 661,00) [195869,849] wl_pointer@19.motion(322783, 689,00, 662,00) [195881,871] wl_pointer@19.motion(322795, 688,00, 662,00) [195911,724] wl_pointer@19.motion(322825, 687,00, 662,00) [195912,634] wl_pointer@19.motion(322826, 687,00, 663,00) [195938,100] wl_pointer@19.motion(322851, 686,00, 663,00) [195947,736] wl_pointer@19.motion(322861, 686,00, 664,00) [195986,798] wl_pointer@19.motion(322900, 685,00, 664,00) [196013,993] wl_pointer@19.motion(322927, 685,00, 665,00) [196074,856] wl_pointer@19.motion(322988, 684,00, 665,00) [196082,714] wl_pointer@19.motion(322996, 684,00, 666,00) [196118,766] wl_pointer@19.motion(323032, 683,00, 666,00) [196119,666] wl_pointer@19.motion(323033, 683,00, 667,00) [196147,847] wl_pointer@19.motion(323061, 683,00, 668,00) [196147,917] -> wl_pointer@19.set_cursor(1531, wl_surface@18, 4, 4) [196147,929] -> wl_surface@18.attach(wl_buffer@28, 0, 0) [196147,938] -> wl_surface@18.set_buffer_scale(1) [196147,943] -> wl_surface@18.damage_buffer(0, 0, 32, 32) [196147,951] -> wl_surface@18.commit() [196148,404] wl_buffer@23.release() [196151,808] wl_pointer@19.motion(323065, 682,00, 668,00) [196188,891] wl_pointer@19.motion(323102, 682,00, 669,00) [196201,795] wl_pointer@19.motion(323115, 681,00, 669,00) [196218,771] wl_pointer@19.motion(323132, 681,00, 670,00) [196763,852] wl_pointer@19.motion(323677, 680,00, 670,00) [196830,800] wl_pointer@19.motion(323744,