[Kubuntu 18.04] Persistent tearing/screen refresh problem in KWin and nvidia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kwin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Kubuntu 18.04 64bits
GTX 960
==
$ uname -a
Linux yafu 4.15.0-12-generic #13-Ubuntu SMP Thu Mar 8 06:24:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
==
$ sudo dpkg -l | grep -i nvid
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii libnvidia-
ii nvidia-compute-390 390.42-0ubuntu1 amd64 NVIDIA computing metapackage
ii nvidia-
ii nvidia-
ii nvidia-dkms-390 390.42-0ubuntu1 amd64 NVIDIA DKMS package
ii nvidia-driver-390 390.42-0ubuntu1 amd64 NVIDIA driver metapackage
ii nvidia-
ii nvidia-prime 0.8.6 all Tools to enable NVIDIA's Prime
ii nvidia-settings 390.42-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-390 390.42-0ubuntu1 amd64 NVIDIA driver support binaries
ii xserver-
==============
=====
Hello, since many versions of Kubuntu/KWin this problem of tearing/
Even though this has been reported many times and marked as solved, but it has never really been solved.
The only thing that has worked for me and solves the problem (I use it since Kubuntu 14.04) is this workaround:
https:/
which consists of copying the following lines within this file kate "/etc/profile.
export __GL_YIELD="USLEEP"
export KWIN_TRIPLE_
===
Edit:
According to this, apparently it is not advisable to use both lines at the same time:
https:/
At least for me, first line is enough to eliminate tearing.
===
The question is, would it be possible for Kubuntu or nvidia maintainers to apply that workaround by default when you install Kubuntu or nvidia proprietary driver?
Otherwise there are a lot of new Kubuntu users having this problem over the years.
Thank you very much.
According to this, apparently it is not advisable to use both lines at the same time: /devtalk. nvidia. com/default/ topic/828962/ screen- tearing/
https:/
At least for me, first line is enough to eliminate tearing.