![]() Registered Member ![]()
|
I have been wondering what is the recommended way to stop tearing in playing videos on Youtube in Firefox with the latest KDE Neon and Proprietary Nvidia drivers?
I have come across various things related to the Nvidia driver, putting in triple buffer setting, force full composting pipeline, or in the KDE compositor force full screen repaint and opengl 3.1. What is the correct way to deal with this? ps. This is on a Dell 7577 laptop with a Nvidia 1060-GTX Max-Q
wrender, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
Hello,
I too have been wondering for the recommended method. But here's what I've done, according to quidsup in this link https://www.youtube.com/watch?v=NPx3pdmncXk basically I've created a script that autoruns before login. that script has: --- #!/bin/sh #Reduces tearing for Nvidia based systems #Place file in ~/.config/plasma-workspace/env/ for KDE 5 #or ~/.kde/env/ for KDE 4 export __GL_YIELD=USLEEP ---- placed that script in ~/.config/plasma-workspace/env/ and made it executable. hope that helps. |
![]() Registered Member ![]()
|
Have you enabled prime sync on that laptop? I have a Dell gaming laptop that's quite similar to yours, and going through the procedure to enable prime sync took care of it. I didn't have to set the triple-buffer or GL_YIELD variables; once sync was set (you can see if it is enabled by looking in nvidia-settings under X server display configuration). I don't have a kwin.sh or an xorg.conf in the laptop with Prime sync, and there's no tearing. The compositor is set to the default settings (openGL 2, vsync to Auto).
If it is not enabled, there are guides available (the one I used was from an Nvidia person on their site) that describe how to do it. I believe this is it: https://devtalk.nvidia.com/default/topi ... onization/ There used to be an environment variable that had to be set for Firefox to not have tearing, but I haven't used or needed that in a while. I do have hardware acceleration forced on via the pref layers.acceleration.force-enabled (in about:config). On my desktop PC which has a discrete Nvidia card, I took care of the tearing by setting KWIN_TRIPLE_BUFFER to 1 (in /etc/profile.d/kwin.sh). |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]