Open XoDefender opened 2 months ago
This is expected: disabling vsync makes picom render new frames as fast as possible, which means a really high fps, which means high CPU usage.
maybe I ask why you chose to disable vsync? If there's a compelling use case, we can consider adding a frame rate limiter.
Noticed it started happening after frame pacing and vblank additions
GPU, drivers, and screen setup
picom version
v11.2
Configuration:
Configuration file
``` shadow = true; shadow-radius = 30; shadow-opacity = 1; shadow-offset-x = -10; shadow-offset-y = -7; shadow-exclude = [ "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "class_g = 'fly-notify-osd-service'", "class_g = 'firefox' && (window_type = 'popup_menu' || window_type = 'utility')", "_GTK_FRAME_EXTENTS@:c" ]; fading = false; fade-in-step = 0.03; fade-out-step = 0.03; enable-transparency = false; inactive-opacity = 1.0; inactive-opacity-override = false; focus-exclude = [ "class_g = 'Cairo-clock'" ]; opacity-rule = [ "0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'" ]; corner-radius = 10; rounded-corners-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "class_g ?= 'Firefox'" ]; blur-kern = "3x3box"; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "class_g = 'firefox' && (window_type = 'popup_menu' || window_type = 'utility')", "_GTK_FRAME_EXTENTS@:c" ]; backend = "glx"; vsync = false; dbus = false; mark-wmwin-focused = true; mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; use-ewmh-active-win = true; unredir-if-possible = true; detect-transient = true; detect-client-leader = true; glx-no-stencil = true; glx-no-rebind-pixmap = true; use-damage = true; xrender-sync-fence = false; no-ewmh-fullscreen = false; log-level = "warn"; frame-opacity = 1.0; ```Steps of reproduction
Expected behavior
Picom takes not so much of CPU
Current Behavior
(292 root children) Picom takes up to 80% of CPU - vsync disabled Picom takes 30% of CPU - vsync enabled