Bug 482861

Summary: Overview FPS drop animation
Product: [Plasma] kwin Reporter: Sauf <hsaom>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: indigosky30, nate
Priority: NOR Keywords: qt6
Version: 6.0.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sauf 2024-03-08 11:57:26 UTC
SUMMARY
I've been using KDE Plasma for the past six months. Overall, the animations look good, but every time I use the overview effect, I experience laggy animations and FPS drops. I've updated to KDE 6, and even with the new overview design, the issue persists.

STEPS TO REPRODUCE
1. Login
2. Trigger overview effect using screen edge or META+W shortcut
3. lower FPS than normal and feeling laggy

OBSERVED RESULT
FPS drops notably than normal usage of plasma

EXPECTED RESULT
Overview desktop effect 144/60 fps and no fps drop/"feeling laggy"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
Kernel Version: 6.7.8-zen1-1-zen (64-bit)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
using both 60hz and 144hz issue persist. in 60hz FPS drops to 38 and in 144hz FPS drops to 117.
Comment 1 Sauf 2024-03-08 12:04:24 UTC
Hardware
AMD Ryzen 5 5600H
16 GB
AMD Radeon RX 6600M Graphics
Comment 2 Bug Janitor Service 2024-03-08 13:53:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5390
Comment 3 Zamundaaa 2024-03-26 16:14:44 UTC
Git commit d59451adcf8f7a4d90659a60bfbe73230091b0e3 by Xaver Hugl.
Committed on 26/03/2024 at 16:06.
Pushed by zamundaaa into branch 'master'.

effects/quickeffect: render qtquick scenes in the normal render pass

If they're rendered in prePaintScreen, the time needed to render them is not
accounted for in compositing scheduling, which may make KWin miss vblank
Related: bug 452119, bug 482034

M  +5    -0    src/effect/offscreenquickview.cpp
M  +9    -10   src/effect/quickeffect.cpp

https://invent.kde.org/plasma/kwin/-/commit/d59451adcf8f7a4d90659a60bfbe73230091b0e3
Comment 4 Axel 2024-07-03 00:20:34 UTC
(In reply to Zamundaaa from comment #3)
> Git commit d59451adcf8f7a4d90659a60bfbe73230091b0e3 by Xaver Hugl.
> Committed on 26/03/2024 at 16:06.
> Pushed by zamundaaa into branch 'master'.
> 
> effects/quickeffect: render qtquick scenes in the normal render pass
> 
> If they're rendered in prePaintScreen, the time needed to render them is not
> accounted for in compositing scheduling, which may make KWin miss vblank
> Related: bug 452119, bug 482034
> 
> M  +5    -0    src/effect/offscreenquickview.cpp
> M  +9    -10   src/effect/quickeffect.cpp
> 
> https://invent.kde.org/plasma/kwin/-/commit/
> d59451adcf8f7a4d90659a60bfbe73230091b0e3

Shouldnt this bug be closed since the merge request was accepted and the other 2 related bugs are RESOLVED?