I’m posting this here in the Kde Plasma section, because the problem seems to be KDE specific. Here is a link to my old post in the Graphics & Display category: Screen Tearing while Gaming with Optimus (short summary, Laptop with intel and nvidia graphic, optimus -> hybrid driver 455 installed, get screen tearing while gaming on games with high framerate)
I now have Manjaro Kde and Manjaro XFCE installed side by side and on XFCE i get no screen tearing while playing Games with high frames, like CS:GO. On Kde I still get really bad screen tearing. The setup on both of those installs was exactly the same.
I have a slight suspicion that it has something to do with the compositor. When I’m on Kde and press the key comination alt+shift+f12 to reset the compositor, the screen tearing gets better for a second before getting worse again.
I then tried to change the settings in the compositor section in the settings and un- and rechecking the box for allowing programs to deactivate compositor, but nothing seems to help :(.
I would really like to have it working on Manjaro Kde, XFCE just is not my thing to put it mildly ;).
Yeah that’s what I was wondering, I know people start the Nvidia Settings with prime-run or something like that, but yeah it is probably not the good way, just wanted to bring that up as it could help think about a way to achieve similar configuration.
Maybe have a look at the wiki there are info about screen tearing.
I would like to try that, but it seems that i would have to deactivate the compositor that is currently running. Its only documented for XFCE in that Wiki as far as I can tell. If you know how I can do it on Kde I will try it.
I think the settings in the picture here are what is working for me. I get no Screen tearing now with the box unchecked that lets programs block the compositor. I hope that this does not have bad side effects. Well time will tell . I thought I had already tried those settings, but maybe not. Guess I’m getting older ;).
Thanks everyone for helping
The bad effects I noticed is when this box in enabled, as some programs (for Instance Mad Max game Linux version) can disable the compositor to ‘gain performance’ but when it is disabled your desktop is broken when you ALT+TAB out of the game (like the Panel and icons, the clock, nothing refreshes it stays in an old random state, blocked). It’s been two years almost that I run with this setting disabled (see my post linked above, where I detail my KDE settings in image).