Bug 443359 - Some animations are stuttery on Wayland
Summary: Some animations are stuttery on Wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 18:17 UTC by Oliver Williamson
Modified: 2021-10-12 09:35 UTC (History)
1 user (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 Oliver Williamson 2021-10-05 18:17:51 UTC
SUMMARY

Some animations are stuttery when using the Wayland display server, such as switching between entries in the system tray, as well as clicking on categories in Discover.

STEPS TO REPRODUCE
1. Log in to Wayland session
2. Switch between entries in system tray or click on categories in Discover.

OBSERVED RESULT

Some animations are stuttery as mentioned above.

EXPECTED RESULT

Animations are smooth as with the rest of the desktop.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
OpenSUSE Tumbleweed 20211001
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-10-06 19:30:59 UTC
Does it work fine on X11? Do you notice that any processes are consuming excess CPU resources?
Comment 2 Oliver Williamson 2021-10-08 15:31:59 UTC
(In reply to Nate Graham from comment #1)
> Does it work fine on X11? Do you notice that any processes are consuming
> excess CPU resources?

Yes in X11 the animations mentioned are perfectly smooth and act how they should. I've tried a number of composting settings in combination and that has little effect. There aren't any processes that seem to be hogging the system.
Comment 3 Nate Graham 2021-10-08 15:34:59 UTC
Does this affect only Plasma and QtQuick apps such as Discover and System Monitor, or also QtWidgets apps such as Dolphin and Gwenview? Also what kind of graphics hardware do you have?
Comment 4 Oliver Williamson 2021-10-08 17:54:12 UTC
(In reply to Nate Graham from comment #3)
> Does this affect only Plasma and QtQuick apps such as Discover and System
> Monitor, or also QtWidgets apps such as Dolphin and Gwenview? Also what kind
> of graphics hardware do you have?

Thanks for such a quick reply. I will do more testing in these applications and report back. I'm on Intel hardware.
Comment 5 Oliver Williamson 2021-10-10 13:49:51 UTC
(In reply to Nate Graham from comment #3)
> Does this affect only Plasma and QtQuick apps such as Discover and System
> Monitor, or also QtWidgets apps such as Dolphin and Gwenview? Also what kind
> of graphics hardware do you have?

From the QtQuick applications I've tested, including Dolphin and System Monitor, it seems to be only the sliding animation that's stuttery, which the system tray uses when the user switches entries (from WiFi to Bluetooth for example); as well as Discover (when clicking on categories). The system tray and Discover remain to be the two elements to have this stutter in Wayland.
Comment 6 Oliver Williamson 2021-10-10 13:52:09 UTC
Gwenview doesn't have this stutter either. It also doesn't have the sliding animation.
Comment 7 Nate Graham 2021-10-11 16:01:41 UTC
Interesting. Seems like an issue with the graphics drivers, as two diverse pieces of KDE software that both use hardware acceleration are affected. Can you please file a bug with the mesa developers? See https://docs.mesa3d.org/bugs.html
Comment 8 Oliver Williamson 2021-10-12 09:35:13 UTC
(In reply to Nate Graham from comment #7)
> Interesting. Seems like an issue with the graphics drivers, as two diverse
> pieces of KDE software that both use hardware acceleration are affected. Can
> you please file a bug with the mesa developers? See
> https://docs.mesa3d.org/bugs.html

I'll look into it. Thanks for your time!