← Back to team overview

desktop-packages team mailing list archive

[Bug 1374976] [NEW] Screen tearing Nvidia - since Kubuntu 14.04

 

Public bug reported:

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.d/Tearing.sh

Insert this code:
export __GL_YIELD="USLEEP"

Then make it executable with:
chmod +x /etc/profile.d/Tearing.sh

Once that's done, reboot.

The GL_YIELD worked for me, and now vertical sync appears to be working
as it should.

(https://www.kubuntuforums.net/showthread.php?63946-No-vertical-sync-
with-NVIDIA&highlight=tearing)

---------------
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
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:50 memory:e2000000-e2ffffff memory:c0000000-cfffffff memory:e0000000-e1ffffff ioport:2000(size=128)
  *-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
       capabilities: msi pm bus_master cap_list
       configuration: driver=i915 latency=0
       resources: irq:47 memory:e3200000-e327ffff ioport:3460(size=8) memory:d0000000-dfffffff memory:e3100000-e31fffff
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
ProcVersionSignature: Ubuntu 3.16.0-18.25-generic 3.16.3
Uname: Linux 3.16.0-18-generic x86_64
NonfreeKernelModules: nvidia
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)

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1374976

Title:
  Screen tearing Nvidia - since Kubuntu 14.04

Status in “xorg-server” package in Ubuntu:
  New

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.d/Tearing.sh

  Insert this code:
  export __GL_YIELD="USLEEP"

  Then make it executable with:
  chmod +x /etc/profile.d/Tearing.sh

  Once that's done, reboot.

  The GL_YIELD worked for me, and now vertical sync appears to be
  working as it should.

  (https://www.kubuntuforums.net/showthread.php?63946-No-vertical-sync-
  with-NVIDIA&highlight=tearing)

  ---------------
  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
         capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
         configuration: driver=nvidia latency=0
         resources: irq:50 memory:e2000000-e2ffffff memory:c0000000-cfffffff memory:e0000000-e1ffffff ioport:2000(size=128)
    *-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
         capabilities: msi pm bus_master cap_list
         configuration: driver=i915 latency=0
         resources: irq:47 memory:e3200000-e327ffff ioport:3460(size=8) memory:d0000000-dfffffff memory:e3100000-e31fffff
  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
  ProcVersionSignature: Ubuntu 3.16.0-18.25-generic 3.16.3
  Uname: Linux 3.16.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1374976/+subscriptions


Follow ups

References