yshui / picom

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

transparent-clipping then flash wallpaper longer #565

Open v6cc opened 3 years ago

v6cc commented 3 years ago

Expected behavior

not flash wallpaper longer

Current Behavior

when I set transparent-clipping = true; , flash wallpaper when open a new window or switch tag(workspace) duration longer or not blur?

Other details

transparent-clipping = false;

noclip

transparent-clipping = true;

clip

Platform

 5.9.13-arch1-1 #

GPU, drivers, and screen setup

GPU: NVIDIA GeForce GTX 1070 Mobile
GPU: Intel UHD Graphics 630
two monitors configured side-by-side with xrandr

Environment

awesomewm 4.3 or i3wm 4.19

picom version

vgit-af991

Configuration:

# Enabled client-side shadows on windows.
shadow = true;
detect-rounded-corners = true;
shadow-radius = 10;
shadow-offset-x = -15;
shadow-offset-y = -15;
shadow-opacity = 0.8;
shadow-ignore-shaped = false;

shadow-exclude = [
    "name = 'Notification'",
    "override_redirect = 1 && !WM_CLASS@:s",
    "class_g ?= 'i3-frame'",
    "class_g ?= 'wechat.exe'",

# disable shadows for hidden windows:
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
    "_GTK_FRAME_EXTENTS@:c"
];

inactive-opacity = 0.96;
active-opacity = 1;
blur-background = true;
blur-method = "dual_kawase";
blur-strength = 5;

fading = true;
fade-delta = 2;
fade-in-step = 0.05;
fade-out-step = 0.05;
fade-exclude = [ ];

backend = "glx";
glx-no-stencil = true;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-client-opacity = true;
unredir-if-possible = true;
refresh-rate = 0;
vsync = true ;
dbe = false;
# paint-on-overlay = true;    remove

detect-transient = true;
detect-client-leader = true;
glx-copy-from-front = false;
use-damage = true

# use-ewmh-active-win = true;
# sw-opti = true;

opacity-rule = [
  "99:class_g *? = 'St'        && focused", "94:class_g *? = 'St'        && !focused",
];

wintypes:
{
    tooltip =
    {
        fade = true;
        shadow = false;
        opacity = 0.85;
        focus = true;
    };
    fullscreen :
    {
      fade = true;
      shadow = false;
      opacity = 1;
      focus = true;
    };
};

transparent-clipping = true;
yshui commented 3 years ago

Can you get an apitrace of both scenarios?

v6cc commented 3 years ago

Can you get an apitrace of both scenarios?

trace.zip