tryone144 / compton

A compositor for X11.
Other
617 stars 235 forks source link

Edges preserving #25

Closed anstadnik closed 4 years ago

anstadnik commented 4 years ago

Platform: Arch linux

GPU, drivers, and screen setup: Intel UHD Graphics 620, mesa 19.3.1-1, laptop screen and monitors configured side-by-side with xrandr (works the same with laptop screen only)

Compton version: bgit-f92eb from aur repo

Compton configuration: Written below

Steps of reproduction

Install picom from the aur repo, use dual_kawase blur method

Expected behavior

For some reason I can clearly see the edges of objects. I think that that should not be the case with blurring. Is that a bug or intended behavior? ### Current Behavior & Other details

DeepinScreenshot_select-area_20200106110219

{
  method = "dual_kawase";
  strength = 20;
};

DeepinScreenshot_select-area_20200106110439

{
  method = "dual_kawase";
  strength = 1;
};

DeepinScreenshot_select-area_20200106111247

{
  method = "box";
  size = 20;
  deviation = 20.0;
};
tryone144 commented 4 years ago

How do you achieve the transparency effect? Is it by setting it with active-opacity or an opacity-rule? And have you set blur-background-fixed = true? If not, the blur is applied with some alpha-value to compensate for windows fading out with inactive-opacity = 0 (see #2). This feature might need some work though as I am not sure the current implementation aligns with the way the new backends are intended to work.

anstadnik commented 4 years ago

I used opacity-rule with inactive-opacity = 1; active-opacity = 1;, and the setting blur-background-fixed = true solved the issue, now blur works perfectly, thank you.