Problems With XFCE Tearing, even with PICOM installed

Hello,

I’ve been going crazy with this issue of Tearing in the XFCE environment, I’ve made some attempts both changing the parameters xorg 20-intel.conf (in this the screen is black at boot) and also installing picom according to this tutorial https: / / terminaldopenguin. blogspot. com /2020/06/ resolvendo-tearing-com-o-picom . html) (sorry it’s in Pt-br).

Follow the ixni -G and the xorg.log below.

$ inxi -G

raphics:
  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
  Display: x11 server: X.Org v: 21.1.3 driver: X: loaded: modesetting
    gpu: i915 resolution: 1: 1536x864~60Hz 2: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.

cat /var/log/Xorg.0.log

688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    58.155] (--) modeset(0): HDMI max TMDS frequency 150000KHz
[   211.578] (II) modeset(0): EDID vendor "GSM", prod id 1
[   211.578] (II) modeset(0): Using hsync ranges from config file
[   211.578] (II) modeset(0): Using vrefresh ranges from config file
[   211.578] (II) modeset(0): Printing DDC gathered Modelines:
[   211.578] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   211.578] (II) modeset(0): Modeline "1360x768"x0.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   211.578] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[   211.578] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[   211.578] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[   211.578] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[   211.578] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[   211.578] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[   211.578] (II) modeset(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[   211.578] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[   211.578] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[   211.578] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[   211.578] (II) modeset(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[   211.578] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   211.578] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   211.578] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   211.578] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   211.578] (II) modeset(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz e)
[   211.578] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   211.578] (--) modeset(0): HDMI max TMDS frequency 150000KHz
[   345.529] (II) modeset(0): EDID vendor "GSM", prod id 1
[   345.529] (II) modeset(0): Using hsync ranges from config file
[   345.529] (II) modeset(0): Using vrefresh ranges from config file
[   345.529] (II) modeset(0): Printing DDC gathered Modelines:
[   345.529] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   345.529] (II) modeset(0): Modeline "1360x768"x0.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   345.529] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[   345.529] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[   345.529] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[   345.529] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[   345.529] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[   345.529] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[   345.529] (II) modeset(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[   345.529] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[   345.529] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[   345.529] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[   345.529] (II) modeset(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[   345.529] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   345.529] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   345.529] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   345.529] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   345.529] (II) modeset(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz e)
[   345.529] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   345.529] (--) modeset(0): HDMI max TMDS frequency 150000KHz
[   447.984] (II) modeset(0): EDID vendor "GSM", prod id 1
[   447.984] (II) modeset(0): Using hsync ranges from config file
[   447.984] (II) modeset(0): Using vrefresh ranges from config file
[   447.984] (II) modeset(0): Printing DDC gathered Modelines:
[   447.984] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   447.984] (II) modeset(0): Modeline "1360x768"x0.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   447.984] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[   447.984] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[   447.984] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[   447.984] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[   447.984] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[   447.985] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[   447.985] (II) modeset(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[   447.985] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[   447.985] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[   447.985] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[   447.985] (II) modeset(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[   447.985] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   447.985] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   447.985] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   447.985] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   447.985] (II) modeset(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz e)
[   447.985] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   447.985] (--) modeset(0): HDMI max TMDS frequency 150000KHz

and finally cat ~/.config/picom/picom.conf

backend = "glx";
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
use-damage = true;
xrender-sync-fence = true;
refresh-rate = 0;
vsync = true;

mark-wmwin-focused = true;

mark-ovredir-focused = true;

use-ewmh-active-win = true;

shadow = true;

shadow-radius = 3;

shadow-offset-x = -3;

shadow-offset-y = -3;

shadow-opacity = 0.5;

shadow-exclude = [

"! name~=''",

"name = 'Notification'",

"name = 'xfce4-notifyd'",

"name *= 'picom'",

"name *= 'Chromium'",

"class_g = 'Navigator' && argb",

"class_g ?= 'Notify-osd'",

"class_g ?= 'Cairo-dock'",

"class_g ?= 'Xfce4-notifyd'",

"class_g ?= 'Xfce4-power-manager'",

"_GTK_FRAME_EXTENTS@:c",

"bounding_shaped && !rounded_corners"

];

fading = true;

fade-delta = 5;

fade-in-step = 0.03;

fade-out-step = 0.03;

no-fading-openclose = true;

fade-exclude = [ ];

active-opacity = 1;

inactive-opacity = 0.9;

frame-opacity = 1;

inactive-opacity-override = false;

opacity-rule = [

"100:class_g = 'Termite' && _NET_WM_STATE@:32a",

"95:class_g = 'Termite' && !_NET_WM_STATE@:32a",

"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"

];

# blur-background = true;

# blur-background-frame = true;

blur-background-fixed = false;

blur-kern = "3x3box";

blur-background-exclude = [

"window_type = 'dock'",

"window_type = 'desktop'",

"_GTK_FRAME_EXTENTS@:c"

];

unredir-if-possible = false;

detect-rounded-corners = true;

detect-client-opacity = true;

detect-transient = true;

detect-client-leader = true;

wintypes:

{

tooltip = { opacity = 0.95; shadow = false; fade = true; focus = true; };

dock = { shadow = false; };

dnd = { shadow = false; };

};

Default xfce compositor is off in window tweaks

Neofetch

OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: Infoway w7730 Inft 
████████            ████████   Kernel: 5.15.48-1-MANJARO 
████████  ████████  ████████   Uptime: 15 mins 
████████  ████████  ████████   Packages: 1172 (pacman) 
████████  ████████  ████████   Shell: bash 5.1.16 
████████  ████████  ████████   Resolution: 1536x864 
████████  ████████  ████████   DE: Xfce 4.16 
████████  ████████  ████████   WM: Xfwm4 
████████  ████████  ████████   WM Theme: Matcha-sea 
████████  ████████  ████████   Theme: Matcha-dark-sea [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Maia [GTK2], Adwaita [GTK3] 
                               Terminal: xfce4-terminal 
                               Terminal Font: Monospace 12 
                               CPU: Intel i3-3110M (4) @ 2.400GHz 
                               GPU: Intel 3rd Gen Core processor Graphics Contr 
                               Memory: 1326MiB / 3818MiB 

Your inxi output shows you have the modesetting driver loaded; if you created the /etc/X11/xorg.conf.d/20-intel.conf file as detailed on the Arch wiki you need to be using the xf86-video-intel driver. This is probably why you had a black screen on boot. You could try installing that driver then recreating the file.

1 Like

Hi,

I installed xf86-video-intel as shows

$ sudo pacman -Q xf86-video-intel
xf86-video-intel 1:2.99.917+916+g31486f40-2

and create the following 20-intel.conf file

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"
EndSection

When I reboot my X is stuck and I need to login thriugh CLI ctrl_alt_f3

Heres the tail of xorg.log

[     9.161] (II) XINPUT: Adding extended input device "2.4G Composite Devic" (type: KEYBOARD, id 10)
[     9.161] (**) Option "xkb_layout" "br"
[     9.165] (II) event4  - 2.4G Composite Devic: is tagged by udev as: Keyboard
[     9.165] (II) event4  - 2.4G Composite Devic: device is a keyboard
[     9.166] (II) config/udev: removing device 2.4G Composite Devic System Control
[     9.166] (II) event8  - 2.4G Composite Devic System Control: device removed
[     9.181] (II) UnloadModule: "libinput"
[     9.182] (II) config/udev: Adding input device 2.4G Composite Devic System Control (/dev/input/event8)
[     9.182] (**) 2.4G Composite Devic System Control: Applying InputClass "evdev keyboard catchall"
[     9.182] (**) 2.4G Composite Devic System Control: Applying InputClass "libinput keyboard catchall"
[     9.182] (**) 2.4G Composite Devic System Control: Applying InputClass "system-keyboard"
[     9.182] (II) Using input driver 'libinput' for '2.4G Composite Devic System Control'
[     9.182] (**) 2.4G Composite Devic System Control: always reports core events
[     9.182] (**) Option "Device" "/dev/input/event8"
[     9.185] (II) event8  - 2.4G Composite Devic System Control: is tagged by udev as: Keyboard
[     9.185] (II) event8  - 2.4G Composite Devic System Control: device is a keyboard
[     9.186] (II) event8  - 2.4G Composite Devic System Control: device removed
[     9.211] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:4037:2804.0002/input/input9/event8"
[     9.211] (II) XINPUT: Adding extended input device "2.4G Composite Devic System Control" (type: KEYBOARD, id 13)
[     9.211] (**) Option "xkb_layout" "br"
[     9.213] (II) event8  - 2.4G Composite Devic System Control: is tagged by udev as: Keyboard
[     9.214] (II) event8  - 2.4G Composite Devic System Control: device is a keyboard
[     9.214] (II) config/udev: removing device 2.4G Composite Devic Consumer Control
[     9.215] (II) UnloadModule: "libinput"
[     9.215] (II) config/udev: removing device 2.4G Composite Devic Consumer Control
[     9.215] (II) event7  - 2.4G Composite Devic Consumer Control: device removed
[     9.227] (II) UnloadModule: "libinput"
[     9.229] (II) config/udev: Adding input device 2.4G Composite Devic Consumer Control (/dev/input/event7)
[     9.229] (**) 2.4G Composite Devic Consumer Control: Applying InputClass "evdev keyboard catchall"
[     9.229] (**) 2.4G Composite Devic Consumer Control: Applying InputClass "libinput keyboard catchall"
[     9.229] (**) 2.4G Composite Devic Consumer Control: Applying InputClass "system-keyboard"
[     9.229] (II) Using input driver 'libinput' for '2.4G Composite Devic Consumer Control'
[     9.229] (**) 2.4G Composite Devic Consumer Control: always reports core events
[     9.229] (**) Option "Device" "/dev/input/event7"
[     9.231] (II) event7  - 2.4G Composite Devic Consumer Control: is tagged by udev as: Keyboard
[     9.231] (II) event7  - 2.4G Composite Devic Consumer Control: device is a keyboard
[     9.232] (II) event7  - 2.4G Composite Devic Consumer Control: device removed
[     9.254] (II) libinput: 2.4G Composite Devic Consumer Control: needs a virtual subdevice
[     9.254] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:4037:2804.0002/input/input8/event7"
[     9.254] (II) XINPUT: Adding extended input device "2.4G Composite Devic Consumer Control" (type: MOUSE, id 12)
[     9.254] (**) Option "AccelerationScheme" "none"
[     9.254] (**) 2.4G Composite Devic Consumer Control: (accel) selected scheme none/0
[     9.254] (**) 2.4G Composite Devic Consumer Control: (accel) acceleration factor: 2.000
[     9.254] (**) 2.4G Composite Devic Consumer Control: (accel) acceleration threshold: 4
[     9.257] (II) event7  - 2.4G Composite Devic Consumer Control: is tagged by udev as: Keyboard
[     9.257] (II) event7  - 2.4G Composite Devic Consumer Control: device is a keyboard
[     9.257] (**) 2.4G Composite Devic Consumer Control: Applying InputClass "evdev keyboard catchall"
[     9.257] (**) 2.4G Composite Devic Consumer Control: Applying InputClass "libinput keyboard catchall"
[     9.257] (**) 2.4G Composite Devic Consumer Control: Applying InputClass "system-keyboard"
[     9.257] (II) Using input driver 'libinput' for '2.4G Composite Devic Consumer Control'
[     9.257] (**) 2.4G Composite Devic Consumer Control: always reports core events
[     9.257] (**) Option "Device" "/dev/input/event7"
[     9.257] (II) libinput: 2.4G Composite Devic Consumer Control: is a virtual subdevice
[     9.257] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:4037:2804.0002/input/input8/event7"
[     9.257] (II) XINPUT: Adding extended input device "2.4G Composite Devic Consumer Control" (type: KEYBOARD, id 16)
[     9.257] (**) Option "xkb_layout" "br"
[    10.407] (--) intel(0): HDMI max TMDS frequency 150000KHz
[    12.081] (--) intel(0): HDMI max TMDS frequency 150000KHz
[    16.875] (--) intel(0): HDMI max TMDS frequency 150000KHz
[    31.991] (--) intel(0): HDMI max TMDS frequency 150000KHz
[    52.588] (II) event3  - Power Button: device removed
[    52.629] (II) event11 - Video Bus: device removed
[    52.735] (II) event0  - Power Button: device removed
[    52.776] (II) event1  - Sleep Button: device removed
[    52.802] (II) event5  - AT Translated Set 2 keyboard: device removed
[    52.829] (II) event10 - SynPS/2 Synaptics TouchPad: device removed
[    52.882] (II) event6  - 2.4G Composite Devic Mouse: device removed
[    52.923] (II) event4  - 2.4G Composite Devic: device removed
[    52.936] (II) event8  - 2.4G Composite Devic System Control: device removed
[    52.963] (II) event7  - 2.4G Composite Devic Consumer Control: device removed

Theres any idea ?

Hi,

I solved my problem right now with this config.

$ cat /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
	Identifier  "Intel Graphics"
	Driver      "intel"
	Option "TearFree" "true"
	Option      "DRI" "2"             # DRI3 is now default 
	Option      "AccelMethod"  "sna" # default
#	Option      "AccelMethod"  "uxa" # fallback
EndSection

Now everything works fine!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.