Screen tearing in Xubuntu, no problem with Ubuntu - Ask Ubuntu


i have both ubuntu 14.04 , xubuntu 16.04 installed on 1 of older desktops.

while both work fine, experience screen tearing while dragging windows around in xubuntu. however, not experience on ubuntu.

it using motherboard's built-in amd graphics chip.

note: exact situation holds true main desktop gtx650 graphics card...


at point, i'm thinking has untiy being 3d de, , xfce being 2d de...

three months later, have found solution!

  1. disable xfce's built-in compositor:

    enter image description here


  1. open terminal, , run these commands:

     sudo apt-get update  sudo apt-get install compton  cd ~/.config  nano compton.conf 

  1. paste nano (see here commented version):

    backend = "glx"; glx-no-stencil = true; glx-copy-from-front = false; glx-swap-method = "undefined"; shadow = true; no-dnd-shadow = true; no-dock-shadow = true; clear-shadow = true; shadow-radius = 5; shadow-offset-x = -5; shadow-offset-y = -5; shadow-opacity = 0.5; shadow-exclude = [     "! name~=''",     "name = 'notification'",     "name = 'plank'",     "name = 'docky'",     "name = 'kupfer'",     "name = 'xfce4-notifyd'",     "name *= 'vlc'",     "name *= 'compton'",     "name *= 'chromium'",     "name *= 'chrome'",     "name *= 'firefox'",     "class_g = 'conky'",     "class_g = 'kupfer'",     "class_g = 'synapse'",     "class_g ?= 'notify-osd'",     "class_g ?= 'cairo-dock'",     "class_g ?= 'xfce4-notifyd'",     "class_g ?= 'xfce4-power-manager'" ]; shadow-ignore-shaped = false; menu-opacity = 1; inactive-opacity = 1; active-opacity = 1; frame-opacity = 1; inactive-opacity-override = false; alpha-step = 0.06; blur-background-fixed = false; blur-background-exclude = [     "window_type = 'dock'",     "window_type = 'desktop'" ]; fading = true; fade-delta = 4; fade-in-step = 0.03; fade-out-step = 0.03; fade-exclude = [ ]; mark-wmwin-focused = true; mark-ovredir-focused = true; use-ewmh-active-win = true; detect-rounded-corners = true; detect-client-opacity = true; refresh-rate = 0; vsync = "opengl-swc"; dbe = false; paint-on-overlay = true; sw-opti = false; unredir-if-possible = true; focus-exclude = [ ]; detect-transient = true; detect-client-leader = true; wintypes: {     tooltip =     {         fade = true;         shadow = false;         opacity = 0.85;         focus = true;     }; }; 

  1. press ctrl+x , y , enter save , exit.

  1. now, run command: compton

    your screen flicker, , no longer have screen tearing!


  1. finally, add startup applications:

    enter image description here


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User