Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak when switching wallpapers with DPM off #382

Open
xiaohuirong opened this issue Dec 3, 2024 · 1 comment
Open

Memory leak when switching wallpapers with DPM off #382

xiaohuirong opened this issue Dec 3, 2024 · 1 comment

Comments

@xiaohuirong
Copy link

xiaohuirong commented Dec 3, 2024

I have a script that switches wallpapers on schedule. After turning off the monitor power using a tool dpms-off based on the zwlr_output_power_manager_v1 protocol, I noticed that the memory usage of swww-daemon gradually increases with each wallpaper switch. I tried #375, but it doesn't seem to work.

swww: built with commit 0db3f4e
WM: wayfire

@kerty0
Copy link
Contributor

kerty0 commented Dec 7, 2024

Based on my testing, it appears that memory leaks occur due to unsuccessful (in case of dpms-off) or overlapping transitions. As temporary fix you could use --transition-type none or kill swww-daemon before and start it after dpms-off.

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

No branches or pull requests

2 participants