← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 600178] Re: Screen tearing when dragging window, in videos and other large screen redraws (on nVidia GPU)

 

For some reason the attached workaround seems to work for some people
(see http://ubuntuforums.org/showthread.php?t=1742643&page=4) including
me. I do not fancy having the whole screen redrawn on every repaint, but
it seems rather interesting that it works.

Also – the solution proposed in comment 41 (https://bugs.launchpad.net
/nvidia-drivers-ubuntu/+bug/600178/comments/41) seems to indicate that
vsync for OpenGL works even though the one for x-server does not.
Unfortunately in dual-screen setup it only affects the main screen
(DFP-0), while the secondary screen continues to show tearing.

--- The mentioned workaround ---

Open CompizConfig-settings manager (if you don't find it, just install
it from Ubuntu Software Center).

    Enable Workarounds -> Force full screen redrews (buffer swap) on repaint
    Disable Workarounds -> Don't wait for video sync

Open NVIDIA X Server Settings

    Enable X Server XVideo Settings -> Sync to VBlanck
    Enable OpenGL Settings -> Sync to VBlank
    Disable DFP...(name of your screen) -> Force Full Gpu Scaling

Open Startup Applications and add a new program:

    Name: antitearing
    Command: bash -c "sleep 2; compiz --replace"

Reboot

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/600178

Title:
  Screen tearing when dragging window, in videos and other large screen
  redraws (on nVidia GPU)

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/600178/+subscriptions


References