[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

    May 6, 2007
    13,081
    13,979
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. windsman

    windsman MDL Expert

    Jan 11, 2010
    1,491
    1,350
    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

    Oct 15, 2014
    867
    1,388
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Kim100

    Kim100 MDL Addicted

    Jun 17, 2009
    555
    278
    30
  5. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. TinMan

    TinMan MDL Member

    Jul 31, 2009
    127
    190
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. VSh

    VSh MDL Novice

    Sep 27, 2018
    2
    0
    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

    Sep 9, 2015
    109
    57
    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

    May 6, 2007
    13,081
    13,979
    340
    #10 Yen, Oct 4, 2018
    Last edited: Oct 4, 2018
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    #12 Yen, Oct 4, 2018
    Last edited: Oct 5, 2018
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. taylorlawson

    taylorlawson MDL Junior Member

    Jan 1, 2017
    62
    13
    0
    @Yen

    Did you fix it?
     
  13. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    Sure... :) also HEVC / H.265 without any tearing when playing in VLC.

    Have never tried any other fix since then....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. taylorlawson

    taylorlawson MDL Junior Member

    Jan 1, 2017
    62
    13
    0
    My bad , i missed the fix in the post. ( facepalm )

    :rolleyes::)