Skip to content

Conversation

@LukashonakV
Copy link
Contributor

@LukashonakV LukashonakV commented Oct 23, 2025

Dear @Alexays ,
This PR is based on investigation of the #4567 .
Thanks to @DaDiamondArmor and @mutoroglin I realized backend and frontend was not implemented as well.
During investigation I found non safe threading that's why it is segfaults from time to time, freezes and race conditions.
Now backend was deeply reworked. Dev tests shown that module is very stabled now. In additional it was fixed an issue when audio server for some reason is restarted. No need more to restart in that case waybar. cava will get this.
But the most surprising for me was - the significant performance benefit. Even with the single monitor CPU consumption decreased 10x times. I wasn't expected such big improvement.
In the same time it was again updated libcava because of -> karlstav/cava#698 . I also provided big rework to the upstream in order to avoid of memory leaking. So for now waybar + cava - the only one small memory leak still exists because of issue somewhere deep in the pipewire driver.
Finally this PR closes #4567
Thank you

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

Successfully merging this pull request may close these issues.

Waybar built with cava segfaulting

1 participant