It's generally a single checkbox to turn off compositing in X11, for precisely this reason.
You can also disable compositing conditionally in KDE, such as when a game window is opened.
You can also disable compositing conditionally in KDE, such as when a game window is opened.