allusive-dev / compfy

A Compositor for X11 based on Picom. No Longer Maintained in favor of Picom v12!
203 stars 23 forks source link

Everything but the mouse randomly freezes #51

Open Daniel-McLarty opened 9 months ago

Daniel-McLarty commented 9 months ago

What is the issue Everything but the mouse randomly freezes, all apps still work in the background, sound still plays, games still update but I cant see anything until I change window focus and it fixes itself. I am on Arch fully updated with a 2080ti using the Nvidia drivers. This was also a bug on the upstream I posted here: https://github.com/yshui/picom/issues/1152 before trying to see if Compfy had it fixed. What did you expect That my screen would not freeze and it would just work. Relevant Images or Videos: NA

Your configuration


wm-support = "awesome";

#Animations
animations = true;

#Corners
corner-radius = 15;

rounded-corners-exclude = [
  "class_g = 'awesome'",
]

#Shadows
shadow = false;

#Fade
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;

# Opacity
active-opacity = 1;
inactive-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
opacity-rule = [
    "70:class_g = 'Alacritty' && !focused",
    "70:class_g = 'Pcmanfm' && !focused",
    "70:class_g = 'Mousepad' && !focused",
    "90:class_g = 'discord' && !focused"
];

#Background Blur
blur-background = true;
blur-whitelist=false;
blur-method = "dual_kawase";
blur-strength = 6;

#General Settings
backend = "glx";
vsync = true;

log-level = "info";

Package Version: 1.7.2 Build Method: AUR WM: Awesome WM

mpourismaiel commented 8 months ago

Not sure if it's related, will create a new issue if it's not. Sorry for cluttering...

I'm using awesomewm and will post my config at the end.

I have the same issue of random freezes, but specifically with gaming whenever i switch tags or switch windows on the same tag everything freezes. I can switch to another tty to close compfy which fixes the issue but the game wouldn't display anything and would become a black window.

This specifically happens on my second monitor, even when laptop monitor is disabled using xrandr. When using laptop monitor and no HDMI connected everything works perfectly.

There are no errors I can see with log-level info, awesome isn't sending any errors except the loop taking longer and longer to finish. Adding exclusion rules for shadow and even disabling blur and shadow doesn't help.

Let me know if the issue is separate or if you need any more details. I tried to investigate but sadly I cannot understand how any of this is working.

GPU: Nvidia 3060 Build Method: AUR WM: Awesome WM Tested games: Dota2, Titanfall, Baldur's gate 3, etc.

wm-support = "awesome"

animations = false
animation-stiffness = 120
animation-window-mass = 0.5
animation-dampening = 12
animation-clamping = false
animation-for-open-window = "none"
animation-open-exclude = [
  "class_g = 'awesome'"
];
animation-for-unmap-window = "none"
animation-unmap-exclude = [
  "class_g = 'awesome'"
];

corner-radius = 0

shadow = true
shadow-radius = 15
shadow-opacity = 0.5;
shadow-offset-x = -15
shadow-offset-y = -15
shadow-color = "#000000"
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"class_g = 'slop'",
"class_g = 'Rofi'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"class_g != 'awesome' && !_COMPTON_SHADOW@:32c",
"_GTK_FRAME_EXTENTS@:c"
]

fading = true
fade-in-step = 0.03
fade-out-step = 0.03
fade-delta = 3
no-fading-openclose = false
no-fading-destroyed-argb = false

inactive-opacity = 1.0
frame-opacity = 1.0
inactive-opacity-override = false
active-opacity = 1.0
inactive-dim = 0.0;
opacity-rule = [
"70:class_g = 'URxvt'",
"70:class_g = 'kitty'",
"70:class_g = 'UXTerm'",
"70:class_g = 'XTerm'"
]

blur-background = true
blur-method = "dual_kawase"
blur-strength = 5
blur-whitelist = true
blur-include = [
# terminals
"class_g ?= 'xterm'",
"class_g ?= 'XTerm'",
"class_g ?= 'UXTerm'",
"class_g ?= 'roxterm'",
"class_g ?= 'kitty'",
"class_g ?= 'URxvt'",
"class_g ?= 'Alacritty'",
"class_g ?= 'st-256color'",
"class_g ?= 'st'",
"class_g ?= 'gnome-terminal'",
"class_g ?= 'xfce4-terminal'",
"class_g ?= 'sakura'",
"class_g ?= 'Terminator'",
"class_g ?= 'terminator'",
"class_g ?= 'Tilda'",
"class_g ?= 'termite'",
"class_g ?= 'Termite'",
# exclude awesome backdrops
"class_g = 'awesome' && !_NET_WM_WINDOW_TYPE@:32a = '_NET_WM_WINDOW_TYPE_UTILITY'",
]

backend = "glx"
vsync = true
log-level = "warn"

wintypes:
{
above = { shadow = true; };
tooltip = { fade = true; shadow = true; focus = false; };
popup_menu = { shadow = true; focus = false; opacity = 1.0; };
dropdown_menu = { shadow = true; focus = false; };
utility = { focus = false; };
desktop = { shadow = true; };
normal = { shadow = false; };
dock = { shadow = true; };
dnd = { shadow = true; };
splash = { shadow = true; };
notification = { shadow = false; };
dialog = { shadow = false; focus = false; };
menu = { focus = false; background-blur = true; };
};