Bug 462820 - [Desktop grid] animation is slower and smoother after restarting kwin_x11 process
Summary: [Desktop grid] animation is slower and smoother after restarting kwin_x11 pro...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 5.26.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 17:51 UTC by 80p3fy75dc
Modified: 2024-04-24 03:47 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 80p3fy75dc 2022-12-09 17:51:12 UTC
SUMMARY

When I log in with my user, the desktop grid animation is very fast and not so smooth. If I restart kwin with: $ kwin_x11 --replace ; the desktop grid animation is then slower and much smoother.


STEPS TO REPRODUCE

Note that I tried with a new user and couldn't reproduce, the desktop grid animation is identical even after restarting kwin_x11 process (too fast and not smooth). It only occurs with my actual user for some reasons.

1. Log in
2. Trigger the desktop grid effect: the animation is very fast (too fast) and not smooth
3. Open krunner and run `kwin_x11 --replace`
4. Trigger the desktop grid effect again: the animation is a bit slower and smoother


OBSERVED RESULT

The desktop grid animation is slower and smoother after restarting kwin (feels much better). The difference may not be obvious when watching the attached video but in real life it's very noticeable.


EXPECTED RESULT

I wish the desktop grid animation were always rendered like in the second part of the attached video (after restarting kwin_x11 process).


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux & Gentoo (identical behavior on both distros)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0-1
Qt Version: 5.15.7 / 6.4.1-1
X11
High refresh rate monitor (165 Hz)
NVIDIA GTX 970 with proprietary NVIDIA drivers (525.60.11)


ADDITIONAL INFORMATION

It's occurring since recent Plasma versions, I cannot remember the exact version but since last summer I'd say.

I'm not sure why restarting kwin_x11 process changes this, is this intended?

I know I can adjust the animation speed in System Settings but it doesn't fix the smoothness difference.

Thanks.
Comment 1 80p3fy75dc 2022-12-09 17:52:49 UTC
The video is too big so I uploaded it here: https://filetransfer.io/data-package/1oqnszUO#link
Comment 2 80p3fy75dc 2023-01-08 11:39:46 UTC
Still occurring with 5.26.5 on Arch and Gentoo (NVIDIA 525.78.01).
Comment 3 Nate Graham 2024-03-25 22:04:50 UTC
Can you check to see if this is still an issue in Plasma 6? Thanks a lot!
Comment 4 Bug Janitor Service 2024-04-09 03:48:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2024-04-24 03:47:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!