Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows sometimes lose their blur/transparency #1134

Open
demostanis opened this issue Oct 1, 2023 · 4 comments
Open

Windows sometimes lose their blur/transparency #1134

demostanis opened this issue Oct 1, 2023 · 4 comments

Comments

@demostanis
Copy link

Platform

Arch Linux (see https://github.com/demostanis/demolinux2 for exact setup)

GPU, drivers, and screen setup

$ expac %v xf86-video-intel mesa
1:2.99.917+923+gb74b67f0-1
1:23.2.1-1

$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics (HSW GT1) (0x402)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics (HSW GT1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

AwesomeWM

picom version

vgit-b700a

corner-radius = 5;

shadow = true;
shadow-radius = 50;
shadow-offset-x = -50;
shadow-offset-y = -50; 
shadow-exclude = [
  "name = 'overview_client_icon'",
  "name = 'Firefox' && argb",
  "window_type = 'menu'"
]

inactive-dim = 0.3;
inactive-dim-fixed = true;
focus-exclude = [
  "name = 'Awesome drawin'",
  "name = 'overview_client_icon'",
  "name = 'Firefox' && argb",
  "window_type = 'menu'"
]

opacity-rule = [
  "65:name = 'Awesome drawin'",
  "80:name != 'overview_client_icon' && class_g != 'mpv' && class_g != 'imv' && class_g != 'slop' && role != 'Popup'"
]
blur-background-exclude = [
  "name = 'overview_client_icon'",
  "class_g = 'slop'",
  "role = 'Popup'"
]

backend = "glx";

blur: {
  method = "dual_kawase";
  kern = "11x11gaussian";
  strength = 10;
  deviation = 1;
}

Steps of reproduction

  1. Wait
  2. Move windows
  3. Sleep
  4. Some windows lost their blur/transparency

Expected behavior

Windows shouldn't lose their blur/transparency

Current Behavior

Windows lose their blur/transparency

Other details

New windows are not affected.

@absolutelynothelix
Copy link
Collaborator

try picom built from the latest commit in the next branch.

@Monsterovich
Copy link
Contributor

try picom built from the latest commit in the next branch.

Which commit possibly fixes this issue?

@demostanis
Copy link
Author

The issue persists with the latest commit from the next branch.

I was able to reproduce the issue (it might not work everytime though) by screenshotting with Flameshot.
When Flameshot exits, the previously focused window gets unfocused. These errors get printed on the standard output:

[ 10/03/2023 21:18:26.296 x_log_error WARN ] X error 3 WINDOW request 2 minor 0 serial 4986
[ 10/03/2023 21:21:54.818 x_log_error WARN ] X error 3 WINDOW request 2 minor 0 serial 29442
[ 10/03/2023 21:21:56.592 x_log_error WARN ] X error 3 WINDOW request 2 minor 0 serial 29745

@demostanis
Copy link
Author

Restarting Picom does not resolve the issue. I have to restart AwesomeWM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants