dccsillag / picom

A lightweight compositor for X11
Other
164 stars 20 forks source link

Animations break Dunst #34

Open prephyte opened 2 years ago

prephyte commented 2 years ago

Platform

Arch Linux 5.17.1-zen1-1-zen

GPU, drivers, and screen setup

NVidia RTX 2070S with nvidia-dkms 510.60.02-1

glxinfo -B ``` name of display: :0 display: :0 screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8192 MB Total available memory: 8192 MB Currently available dedicated video memory: 2049 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 510.60.02 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6.0 NVIDIA 510.60.02 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.60.02 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 ```

Environment

i3-gaps from arch repos

Picom version

vgit-bc759

Diagnostics **Version:** vgit-bc759 ### Extensions: * Shape: Yes * XRandR: Yes * Present: Present ### Misc: * Use Overlay: Yes * Config file used: /home/user/.config/picom/picom.conf ### Drivers (inaccurate): NVIDIA ### Backend: glx * Driver vendors: * GLX: NVIDIA Corporation * GL: NVIDIA Corporation * GL renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2

Configuration:

Configuration file ``` ################################# # Shadows # ################################# shadow = false; shadow-radius = 7; shadow-offset-x = -7; shadow-offset-y = -7; shadow-exclude = [ "focused", "name = 'Notification'", "_GTK_FRAME_EXTENTS@:c" ]; clip-shadow-above = [] ################################# # Fading # ################################# fading = true; fade-in-step = 0.09; fade-out-step = 0.12; fade-delta = 10 ################################# # Transparency / Opacity # ################################# inactive-opacity = 0.9; frame-opacity = 1; inactive-opacity-override = false; active-opacity = 0.95 focus-exclude = []; opacity-rule = [ "100:name = 'Picture in picture'", "100:name = 'Media viewer' && focused", "100:class_i = 'chromium' && focused", ]; ################################# # Background-Blurring # ################################# blur-method = "dual_kawase"; blur-size = 12; blur-deviation = false; blur-strength = 5; blur-background = false; blur-background-fixed = false; blur-kern = "3x3box"; blur-background-exclude = [ "class_i = 'chromium' && focused", "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; ################################# # Animations # ################################# animations = true animation-for-open-window = "none" animation-stiffness = 300.0 animation-dampening = 20.0 animation-window-mass = 0.5 animation-clamping = true ################################# # General Settings # ################################# backend = "glx"; vsync = false; mark-wmwin-focused = true; mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; detect-transient = true; use-ewmh-active-win = true; use-damage = true; unredir-if-possible = true; xrender-sync-fence = false; log-level = "warn"; wintypes: { tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; dock = { shadow = true; clip-shadow-above = true; }; popup_menu = { opacity = 0.9; }; dropdown_menu = { opacity = 0.9; }; }; ```

Steps of reproduction

  1. enable animations in picom
  2. get notifications with dunst

Expected behavior

no glitching

Current Behavior

vid

Other details

https://user-images.githubusercontent.com/93487995/162879196-da039aca-6a8d-4803-9491-c7d2851adeb1.mp4

I think that a quick and easy way to fix this would be to implement an animations-exclude list, so that I can disable animations for dunst btw huge thanks for this fork, rly enjoy ur work and hope this issue will get resolved soon 😊

dccsillag commented 2 years ago

Sorry for the massive delay.

I think that a quick and easy way to fix this would be to implement an animations-exclude list, so that I can disable animations for dunst

This isn't a fix, it's an workaround. The animations should never glitch anyways.

I believe this should be fixed in #22, which I will be merging in a bit (sans a few things). Can you confirm?