Screen tearing Nvidia - since Kubuntu 14.04
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xorg-server (Ubuntu) |
High
|
Unassigned | ||
Bug Description
Affects fullscreen YouTube, VLC or OnLive.
Since Kubuntu 14.04 I have a screen tearing which is quite annoying... It looks like 4/5 of the screen gets painted on time and the rest is refreshed too late.
The problem occurs since Kubuntu 14.04. Changing Nvidia drivers does not help. Currently I'm on the recommended 331.89 driver.
No problem on Debian and previous versions of Kubuntu.
Temporary resolution is:
1) Go to System Settings -> Desktop Effects
2) Go to Advanced tab
3) Change the Scaling Method to whichever other option
4) Apply settings
The problem reoccurs after restart or resume from suspend or hybernation.
-------
The following FIXED the problem completely:
-------
Create file:
/etc/profile.
Insert this code:
export __GL_YIELD="USLEEP"
Then make it executable with:
chmod +x /etc/profile.
Once that's done, reboot.
The GL_YIELD worked for me, and now vertical sync appears to be working as it should.
(https:/
---------------
Output of "sudo lshw -C display; lsb_release -a; uname -a; free -m" as follows:
*-display
description: VGA compatible controller
product: G96 [GeForce 9500 GT]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
resources: irq:50 memory:
*-display
description: Display controller
product: 82G33/G31 Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 32 bits
clock: 33MHz
resources: irq:47 memory:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10
Codename: utopic
Linux CNRI-PC 3.16.0-18-generic #25-Ubuntu SMP Fri Sep 26 02:44:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
total used free shared buffers cached
Mem: 7909 4353 3555 94 529 1306
-/+ buffers/cache: 2518 5391
Swap: 10001 0 10001
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: xserver-xorg-core 2:1.16.0-1ubuntu1
ProcVersionSign
Uname: Linux 3.16.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
Date: Sun Sep 28 15:32:03 2014
ExecutablePath: /usr/bin/Xorg
InstallationDate: Installed on 2014-09-13 (14 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140826.1)
ProcEnviron:
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
| BadBoy (sklep-szybkieczytanie) wrote : | #1 |
| BadBoy (sklep-szybkieczytanie) wrote : | #2 |
| BadBoy (sklep-szybkieczytanie) wrote : | #3 |
I'm sorry to report that the "Desktop Effects" workaround does not work anymore...
| Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in xorg-server (Ubuntu): | |
| status: | New → Confirmed |
| Changed in xorg-server (Ubuntu): | |
| importance: | Undecided → High |
| Iván Gálvez (ivgalvez) wrote : | #5 |
For me the only way to avoid tearing when reproducing video or using applications such as Firefox is to use the Nouveau driver.
| varnie (varnie29a) wrote : | #6 |
I can confirm that bug in xubuntu 14.04 (nvidia-driver version 304.125), XFCE4's compositor disabled.
the part from "glxinfo" output:
""
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX version: 1.4
GLX extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7900 GS/PCIe/SSE2
OpenGL version string: 2.1.2 NVIDIA 304.125
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions:
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_


One more thing to add...
Sadly after my computer goes to sleep and then wakes up the tearing comes back.
You have to go to System Settings -> Desktop Effects -> Advanced tab and change Scaling Method to whatever. Than Apply changes and that's it.