yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.15k stars 589 forks source link

XFCE: Refresh Problem with GLX backend #273

Open noobbuild opened 4 years ago

noobbuild commented 4 years ago

Platform

Xubuntu Desktop 18.04 amd64

GPU, drivers, and screen setup

Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller bus-ID: 00:02.0 Display Server: x11 (X.Org 1.20.4 ) drivers: intel (unloaded: modesetting) Resolution: 1920x1080@60.00hz OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell) version: 4.5 Mesa 19.0.8 Direct Render: Yes

I tried this with both modesetting and the xf86-intel drivers. Happens in both after an hour or so has gone by of system start.

Environment

XFCE 4.12

picom version

vulcan@vulcan-desktop:~$ picom --diagnostics Version: vgit-6a3d1

Extensions:

Misc:

Drivers (inaccurate):

Intel

Configuration:

# Shadow
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-exclude = [];

# Opacity
inactive-opacity = 1;
# active-opacity = 0.8;
frame-opacity = 1;
inactive-opacity-override = false;
blur-kern = "3x3box";
blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'",
    "_GTK_FRAME_EXTENTS@:c"
];

# Other
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 60;
vsync = true;
unredir-if-possible = true;
detect-transient = true;
detect-client-leader = true;
resize-damage = 1;

# GLX backend
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true;

# Window type settings
wintypes:
{
  tooltip = { fade = false; shadow = true; opacity = 1; focus = true; full-shadow = false; };
  dock = { shadow = false; }
  dnd = { shadow = false; }
  popup_menu = { opacity = 1; }
  dropdown_menu = { opacity = 1; }
};

Steps of reproduction

  1. Use glx as backend instead of xrender

Expected behavior

no such problem should exist.

Current Behavior

Please see video Video - https://youtu.be/GXi-Hdn5lKc

Trace

attaching logs for log level = debug and log level = trace.

debug.txt trace.txt

noobbuild commented 4 years ago

What backend does picom use by default if there is no user config file in the .config folder? xrender or glx? I deleted my picom config file and the troubles stopped. I see tearing (like a horizontal z on top part of screen) similar to when using xrender backend.

yshui commented 4 years ago

Were you using the experimental backends?