Bug 491856 - Toggling compositing doesn't work on wayland.
Summary: Toggling compositing doesn't work on wayland.
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 6.1.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-18 11:40 UTC by Catty Steve
Modified: 2024-08-18 14:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Catty Steve 2024-08-18 11:40:59 UTC
SUMMARY
Toggling compositing, using either kwin rules or hotkeys, is broken on wayland. X11 is fine.

STEPS TO REPRODUCE
1. Set hotkey "suspend compositing" to Alt+Shift+F12
2. Press Alt+Shift+F12
or...
1. Set kwin rules to block compositing on any windows
2. Open any application

OBSERVED RESULT
Kwin still composing effects, with no VRAM usage drop.

EXPECTED RESULT
Kwin stop composing effects, seeing panel to become not transparent(or blurred), with significant VRAM drop.
Behavior is correct in x11 session though.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics
Memory: 13.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
Comment 1 Vinícius 2024-08-18 14:03:51 UTC
The function only work on x11, because in wayland kwin is the compositor, if you disable it you can't see anything