[Kubuntu] Persistent tearing fix up to current LTS 18.04

Discussion in 'Linux' started by Yen, Jul 11, 2018.

  1. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,432
    Likes Received:
    13,000
    Trophy Points:
    340
    #1 Yen, Jul 11, 2018
    Last edited: Jul 11, 2018
    Hi,

    recently I am testing Kubuntu since Mint has dropped the KDE version in Mint 19.

    Kubuntu still suffers from old issues even though many had reported them.

    One of it is tearing when moving windows themselves or playing contents (YouTube) / scrolling contents....

    (Another one is theme issues when apps are running as root another one dolphin lacks of root processes):rolleyes:

    Working fix for tearing (Nvidia) proprietary drivers installed:

    Locate /etc/profile.d/kwin.sh. If not present create kwin.sh there.
    Edit / create with kate.

    Code:
    export __GL_YIELD="USLEEP"
    Save it there.


    This is the only needed and only working fix (no triple-buffering needed here) I have tried countless of different settings at compositor to avoid tearing and many other fixes like tinkering with other configs.

    Kubuntu impresses me. Anyway there are some old issues which should not exist anymore. Also the dolphin cannot run as root politics seems to be idiotic...

    Since Mint has dropped KDE I am a bit lost what to use in the future. I do not want to return to cinnamon anymore.


    BTW: Does somebody know how do I apply the KDE themes to root apps?
    They look ugly when running as root......but look fine when running as user_name
     
  2. windsman

    windsman MDL Expert

    Joined:
    Jan 11, 2010
    Messages:
    1,432
    Likes Received:
    1,233
    Trophy Points:
    60
    #2 windsman, Jul 26, 2018
    Last edited: Jul 26, 2018
    Hi,

    i don't know if it's still works but you can try this to run KDE themes to root apps :

    Code:
    sudo apt install gtk-chtheme
    then Alt+F2 and launch the apps
    I've moved from Mint to Manjaro Xfce.

    windsman.
     
  3. John Sutherland

    John Sutherland MDL Addicted

    Joined:
    Oct 15, 2014
    Messages:
    836
    Likes Received:
    1,247
    Trophy Points:
    30
  4. Kim100

    Kim100 MDL Senior Member

    Joined:
    Jun 17, 2009
    Messages:
    487
    Likes Received:
    216
    Trophy Points:
    10
  5. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,432
    Likes Received:
    13,000
    Trophy Points:
    340
  6. TinMan

    TinMan MDL Member

    Joined:
    Jul 31, 2009
    Messages:
    127
    Likes Received:
    190
    Trophy Points:
    10
  7. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,432
    Likes Received:
    13,000
    Trophy Points:
    340
  8. VSh

    VSh MDL Novice

    Joined:
    Sep 27, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Have you tried PCLinuxOS? It's KDE based and rolling distro. RPM packages. I liked it, but 2 showstoppers for me: no support for my printer and no ZFS. Compiled both from sources, it worked. ZFS crashed after 2 hours of testing.
     
  9. VDev

    VDev MDL Member

    Joined:
    Sep 9, 2015
    Messages:
    102
    Likes Received:
    55
    Trophy Points:
    10
    @Yen Will your tweak work on Nvidia optimus on Xubuntu 18? I have graphics corruptions on Intel iGPU. I get pink patchy screens sometimes on iGPU and no issues on dGPU 980M.
    I'm using DRI3 for Intel and dunno if nvi supports DRI3 so I'm using default DRI2.
     
  10. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,432
    Likes Received:
    13,000
    Trophy Points:
    340
    #10 Yen, Oct 4, 2018
    Last edited: Oct 4, 2018
    (OP)
  11. VDev

    VDev MDL Member

    Joined:
    Sep 9, 2015
    Messages:
    102
    Likes Received:
    55
    Trophy Points:
    10
  12. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,432
    Likes Received:
    13,000
    Trophy Points:
    340
    #12 Yen, Oct 4, 2018
    Last edited: Oct 5, 2018
    (OP)
  13. VDev

    VDev MDL Member

    Joined:
    Sep 9, 2015
    Messages:
    102
    Likes Received:
    55
    Trophy Points:
    10
  14. taylorlawson

    taylorlawson MDL Junior Member

    Joined:
    Jan 1, 2017
    Messages:
    62
    Likes Received:
    13
    Trophy Points:
    0
  15. taylorlawson

    taylorlawson MDL Junior Member

    Joined:
    Jan 1, 2017
    Messages:
    62
    Likes Received:
    13
    Trophy Points:
    0
    @Yen

    Did you fix it?
     
  16. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,432
    Likes Received:
    13,000
    Trophy Points:
    340
    Sure... :) also HEVC / H.265 without any tearing when playing in VLC.

    Have never tried any other fix since then....
     
  17. taylorlawson

    taylorlawson MDL Junior Member

    Joined:
    Jan 1, 2017
    Messages:
    62
    Likes Received:
    13
    Trophy Points:
    0
    My bad , i missed the fix in the post. ( facepalm )

    :rolleyes::)