Bug 494919 - Clipboard UI is somewhat laggy / slow to respond with AMD GPU
Summary: Clipboard UI is somewhat laggy / slow to respond with AMD GPU
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 501096 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-17 10:02 UTC by Naxdy
Modified: 2025-03-05 17:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naxdy 2024-10-17 10:02:58 UTC
SUMMARY
The full clipboard UI (which is also the same as the Meta+V UI since 6.2) is extremely laggy / slow to respond, compared to other UI elements.

Video demonstration: https://cloud.polskalemon.com/s/mWjY4YzeB5cngQL (too large to upload here)

STEPS TO REPRODUCE
1. Open the clipboard UI
2. Move the mouse around over its different entries

OBSERVED RESULT
The UI is extremely slow to respond

EXPECTED RESULT
The UI responds as quickly as other parts of plasmashell

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS Unstable
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
-
Comment 1 Nate Graham 2024-12-12 19:40:43 UTC
That's very weird, I don't see that at all.

Can you mention your hardware setup?
Comment 2 Naxdy 2024-12-13 11:07:34 UTC
As per neofetch:

Host: ASUSTeK COMPUTER INC. ProArt X570-CREATOR WIFI 
Kernel: 6.11.5-zen1 
Uptime: 9 days, 2 hours, 27 mins 
Packages: 1820 (nix-system), 7998 (nix-user), 45 (flatpak) 
Shell: zsh 5.9 
Resolution: 7680x2160 
DE: Plasma 6.2.4 (Wayland) 
Theme: Breeze Light [Plasma], Breeze-Dark [GTK2], Breeze [GTK3] 
Icons: breeze [Plasma], breeze-dark [GTK2/3] 
Terminal: .konsole-wrappe 
CPU: AMD Ryzen 9 3950X (32) @ 4.762GHz 
GPU: AMD Radeon RX 7900 XTX
GPU: NVIDIA GeForce RTX 3090 
Memory: 27348MiB / 64186MiB 

Note that the NVIDIA GPU is not used to render anything, it's purely reserved for usage within VMs and for CUDA applications (right now, the kernel module isn't even loaded).
Comment 3 Fushan Wen 2025-01-02 03:15:45 UTC
Can also confirm on AMD. THe Meta+V popup is less smooth.
Comment 4 Naxdy 2025-03-03 17:02:18 UTC
As an update, as of 6.3.2, the behavior is much better, but still not what I would expect (now it only stutters when moving the mouse cursor quickly across the entries)
Comment 5 Nate Graham 2025-03-03 17:39:26 UTC
Can you attach a screen recording of that? I don't think I'm able to reproduce it.
Comment 6 Nate Graham 2025-03-05 17:50:07 UTC
> now it only stutters when moving the mouse cursor quickly across the entries
aaaaa this is an AMD GPU driver bug, either https://gitlab.freedesktop.org/drm/amd/-/issues/3760 or one of the related ones. I encounter it myself. You can work around it by adding "amdgpu.dcdebugmask=0x200" to your kernel boot args. That did it for me.
Comment 7 Nate Graham 2025-03-05 17:50:11 UTC
*** Bug 501096 has been marked as a duplicate of this bug. ***