Bug 480376 - Bring Back Compositing Setting
Summary: Bring Back Compositing Setting
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.27.10
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-26 23:08 UTC by vindicator
Modified: 2024-01-28 22:47 UTC (History)
1 user (show)

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


Attachments
Compositing Choices Removed? (60.80 KB, image/png)
2024-01-28 20:06 UTC, vindicator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vindicator 2024-01-26 23:08:48 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Due to a previous bug (linked below), I found that compositing was disabled on my system (the cause for that linked issue), but there was no setting available in the GUI to change such feature.
I was forced to use QDBus to manually find it under KWin and re-enable it.


STEPS TO REPRODUCE
1. Magically disable compositing (via some dbus app, or an older KDE version that had the compositing setting)
2. Try to use todays KDE's "Settings" to re-enable it.

OBSERVED RESULT
Compositing setting was removed quite some time ago

EXPECTED RESULT
The return of the compositing setting


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Ref: https://bugs.kde.org/show_bug.cgi?id=470998#c7
If I recall correctly, the setting allowed you to switch between disabled/X11/OpenGl. But for whatever reason, that option no longer exists.
I know I've disabled it in the past (when the setting was available in Settings) because of rendering issues (not seen yet after re-enabling, but even now I'll have performance responsiveness issues).
It's on a very old Gen7 Haswell with 8GB RAM (was waiting for Alder Lake, then Meteor Lake looked better, but not going to happen, so sight is set on Arrow Lake now).

As an aside which can be ignored since I see it's expressed elsewhere many times over, I too don't care for the 5.27 tiling that was produced, where it locks windows-sizes to each other. That must change by becoming an option.
My ideal is to have 25%-corner snapping, and even top-max snapping and side-edge snapping (as it all was before), but not to have any snapped window latch onto any other window edge when it is being resized. I can see the value for some, but when it's indiscriminate to which window(s) it latches onto, I see that as a problem.
Even now when I start off with 1/4-snapping, which works out fine, then start doing other odd snapped window sizes (resized; non-1/4), any re-1/4-snapping now starts going off of where that oddly-snapped window is (or even "was", after that window was closed).
Like I said, this rant can be ignored since it's all been said ad nauseam in other places and must already be on the dev's radar. It's only mildly related (via the linked reference).
Comment 1 Zamundaaa 2024-01-28 14:07:48 UTC
The setting has not been removed, you can still enable or disable compositing on X11. Can you clarify what you mean, maybe with a screenshot?
Comment 2 vindicator 2024-01-28 20:06:14 UTC
Created attachment 165316 [details]
Compositing Choices Removed?

I attached a screenshot for what it is now vs https://www.reddit.com/r/kde/comments/hl1lak/how_to_disable_compositing_under_wayland_the/ which is how I remember it existing (note the "rendering backend" option where I believe the "disable/x11/opengl" options were.
Comment 3 Zamundaaa 2024-01-28 20:29:30 UTC
The rendering backend selection was indeed removed; XRender was removed entirely and people confused the OpenGL settings for being actually meaningful in any way except debugging insanely broken drivers.

It was not about enabling or disabling compositing though. That's what the checkbox on the top is for.
Comment 4 vindicator 2024-01-28 21:46:19 UTC
But the "Enable on startup" checkbox is solely for just that... "startup".
If I uncheck it, compositiing is still enabled (just tested by moving the Settings window and seeing the grid).
Like I've been saying, I believe there was a "disable" option under the rendering part that just shut it off right then and there.

The only way for me to change the "enablement" was via dbus now. Also just tested by triggering "suspend", and no grid showed when moving the qdbus window.
Comment 5 Zamundaaa 2024-01-28 22:33:20 UTC
There's also a shortcut to do it, but adding a toggle to do it in the settings page sounds reasonable
Comment 6 vindicator 2024-01-28 22:39:01 UTC
If you're referring to Alt+Shift+F12 to suspend compositing, I'm not seeing any counterpart to that.
Comment 7 Zamundaaa 2024-01-28 22:46:41 UTC
It toggles compositing, it doesn't suspend it. The shortcut is just badly named
Comment 8 vindicator 2024-01-28 22:47:49 UTC
LOL! I hope I won't need to open up an issue for that. XD