Results 1 to 9 of 9

Thread: Video tearing with Nvidia driver/Kubuntu 15.04

  1. #1
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Beans
    129
    Distro
    Kubuntu 15.04 Vivid Vervet

    Video tearing with Nvidia driver/Kubuntu 15.04

    I have an NVidia GTX 670. In the past (ie, with previous versions of Ubuntu and Mint) I've had an aneurysm inducing problem with tearing, both in video playback and with desktop effects. In the past, I've been able to workaround the issue by 1) disabling compositing and 2) using the VDPAU plugin for whatever video player I'm using (currently VLC.) However, these fixes did NOT remedy the problem with Kubuntu 15.04, for whatever reason. Since I'm really pleased with the KDE 5 Plasma desktop, I decided to go the extra mile and dug out an old ATI Radeon 5750. I turned on the very effective "Tear Free Desktop" feature in the Catalyst control center, and presto! no more tearing.

    Now the problem with this solution is that I still have my old GTX 670 taking up space and power in my rig for Windows gaming, I have a really weird monitor config, and the performance of the 5750 is not even close to the GTX 670.

    TL; DR Does anyone know how to fix video tearing with the NVidia driver and the KDE 5 desktop?

  2. #2
    Join Date
    May 2015
    Location
    Scotland
    Beans
    50

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    I tried plasma 5 for a short while and decided against it.But i remember i was getting tearing with the nvidia driver. GT640 card. Theres different options for V-sync in the compositor and one of them fixed it.I think it was called complete screen repaint or something like that.I had to play around with the settings for a while before i worked out how to fix it.

  3. #3
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Beans
    129
    Distro
    Kubuntu 15.04 Vivid Vervet

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    OK, I'll reload Kubuntu and try that option. Any other suggestions?

  4. #4
    Join Date
    May 2015
    Location
    Scotland
    Beans
    50

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    System settings >hardware>display and monitor>compositor

    Tearing prevention : fullscreen repaints

    OpenGL interface: GLX

    Rendering backend : OpenGL 2

    These are the selections that worked for my nvidia card .But you can try other option/combinations as well.

    VLC media player for nvidia card/driver Tools >preferences>Video under display

    Turn off accelerated video output - best quality and stability is to use your processor.Only use it for old/weak hardware.
    Output:select Open GLX video output(XCB) think its the fourth one down.

    I was using 346.59 nvidia driver with my GT640 card.

  5. #5
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Beans
    129
    Distro
    Kubuntu 15.04 Vivid Vervet

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    No joy. Even though I duplicated those settings to a T, I still get bad tearing in videos. Odd thing is if I mess around with different settings for a while, the problem will go away. However, as soon as I reboot, the problem reappears.

  6. #6
    Join Date
    May 2015
    Location
    Scotland
    Beans
    50

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    Have you tried creating a Tearing.sh file in /etc/profile.d folder as administrator?
    Some people have found that either
    Code:
    export KWIN_TRIPLE_BUFFER=1
    or
    Code:
    export __GL_YIELD="USLEEP"
    Then make it executable in terminal with:
    Code:
    chmod +x /etc/profile.d/Tearing.sh
    REBOOT
    Fixes it.Dont use both.

    What about upgrading your nvidia driver to the latest for your card?

    Netrunner 16 just been released ,its Plasma 5/15.04.There involved with kde development.
    Mabye that might work better?.Or at least rule out a kubuntu problem with your card.

    The only desktop that ive had tearing with nvidia is Xfce.All the rest, including mint 17.1 cinnamon have been fine.
    Last edited by kryten35; June 3rd, 2015 at 02:33 PM. Reason: more info

  7. #7
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Beans
    129
    Distro
    Kubuntu 15.04 Vivid Vervet

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    This seems to have done the trick!
    Code:
    export KWIN_TRIPLE_BUFFER=1
    After testing for a few days, I can confirm that I no longer see tearing in video playback or desktop effect. There appears to be one fly in the ointment, though. My display goes crazy with video artifacts if I try to change resolution. So far it's only been necessary once, so I hope it won't be an issue going forward.

    Thanks! I Googled for what seemed like hours and not once did I see that fix.

  8. #8
    Join Date
    Jan 2008
    Beans
    4

    Re: Video tearing with Nvidia driver/Kubuntu 15.04

    This has worked for me too on Manjaro KDE. I'm surprised they don't turn the triple buffer on by default, or at least allow it in the KDE options.
    Anyway, thanks! You've made my day!

  9. #9
    Join Date
    Aug 2016
    Beans
    1

    Cool Re: Video tearing with Nvidia driver/Kubuntu 15.04

    @kryten35 : Thanks a lot, that's work great for me too !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •