Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Cava Module is causing waybar to segfault when monitors get unplugged.

Open techyporcupine opened this issue 1 year ago • 1 comments

What was said in the title. I noticed that when I unplugged monitors from my laptop that waybar would segfault, and after doing some research, I noticed an older issue about Cava causing this, so I removed Cava from my waybar and suddenly it isn't crashing anymore.

techyporcupine avatar Aug 31 '24 17:08 techyporcupine

Hi @techyporcupine , can you please update waybar. Make sure it is used libcava-0.10.3 and check again. Please let me know about results here. Thanks

LukashonakV avatar Sep 28 '24 11:09 LukashonakV

Hi @techyporcupine , have you had a chance to check ?

LukashonakV avatar Oct 22 '24 08:10 LukashonakV

Oh, I'm so sorry I was busy at the time and totally forgot. I'll try it when I get home later!

techyporcupine avatar Oct 22 '24 11:10 techyporcupine

How do I change the cava version used? I'm using the latest version of the Nix flake provided from this repo, but its on 0.10.2

techyporcupine avatar Oct 22 '24 22:10 techyporcupine

Hey guys, have same issue, any solution? I'm on arch tried building from source, git version of package, and just waybar-cava. Waybar crushes only when hdmi output config has cava module if you configure only on eDP-1 it won't crush.

xaleck avatar Feb 14 '25 06:02 xaleck

Hi @techyporcupine , can you please update waybar. Make sure it is used libcava-0.10.3 and check again. Please let me know about results here. Thanks

I built from latest on void-linux (using 0.10.3 of libcava according to meson) and I'm using Hyprland. I still experience segfaults with the cava module.

Cronvs avatar Mar 03 '25 13:03 Cronvs

Experiencing this on Arch with Hyprland on waybar-cava 0.12.0-1 and libcava 0.10.3-3

Alespren avatar Jun 27 '25 23:06 Alespren

CR, https://github.com/Alexays/Waybar/issues/4108#issuecomment-3009212265, sway on arch on vulkan.

ninetailedtori avatar Jun 28 '25 01:06 ninetailedtori

Upgrading libcava seemed to brick an older compilation cache of waybar-cava packages. As such, it's best to delete all waybar package cache and reinstall - fixed it for me when I purged my package manager cache.

ninetailedtori avatar Jul 13 '25 22:07 ninetailedtori