Bug 463133

Summary: Plasma-wayland animations stops when cursor not moving while using the threaded render loop
Product: [Plasma] plasmashell Reporter: Svyatoslav Timofeev <timofeevsv1989>
Component: generic-performanceAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR Keywords: wayland
Version: 5.26.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=459206
https://bugs.kde.org/show_bug.cgi?id=463377
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Svyatoslav Timofeev 2022-12-16 21:11:26 UTC
SUMMARY
When cursor not moving on wayland - animations of panels and widgets stops. (Arch KDE-unstable repo)


STEPS TO REPRODUCE
1. Install KDE Unstable from testing repos
2. Log in to wayland session
3. Install analog clock widget to desktop with seconds arrow
4. Don't move cursor few seconds
5. Animations stops

2:

1. Play music
2. Open sound applet from tray
3. Don't move cursor
4. Volume indicator freezes


OBSERVED RESULT
Animations stops on wayland, when cursor not moving

EXPECTED RESULT
As on X11, animations keep playing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Endeavour OS (Arch Linux)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7


ADDITIONAL INFORMATION

I'm using slideshow on my desktop with Transparent Folder View widget


############

cat /etc/environment           

BROWSER=firefox
EDITOR=nano

QT_QPA_PLATFORM="wayland;xcb"

WINEESYNC=0
WINEFSYNC=1
WINEFSYNC_SPINCOUNT=128
STAGING_SHARED_MEMORY=1

RADV_PERFTEST=sam,nggc,ext_ms,ngg_streamout

radeonsi_enable_sam=true
Comment 1 Nate Graham 2023-01-04 20:37:57 UTC
How bizarre. Some questions:
1. What GPU hardware do you have?
2. If you put "QSG_RENDER_LOOP=basic" in /etc/environment and then reboot, does the issue go away?
Comment 2 Svyatoslav Timofeev 2023-01-05 14:32:31 UTC
> 1. What GPU hardware do you have?
AMD RX 6600 XT

> 2. If you put "QSG_RENDER_LOOP=basic" in /etc/environment and then reboot,
> does the issue go away?

Yes, it helps!
Comment 3 Nate Graham 2023-01-09 21:04:08 UTC
Similar NVIDIA issue: BUG 459206

This will be a Mesa regression; please file a bug report at https://gitlab.freedesktop.org/mesa/mesa/-/issues. Thanks!