linux-wallpaperengine icon indicating copy to clipboard operation
linux-wallpaperengine copied to clipboard

Almost certain memory leak

Open JustSimplyKyle opened this issue 1 year ago • 6 comments

image This will steadily go up over time. One thing to note is that I'm using wayland, might be related.

JustSimplyKyle avatar Jul 20 '23 13:07 JustSimplyKyle

@JustSimplyKyle need more info.

  • What's the exact command you ran to start this app?
  • What desktop environment/window manager is it running under?
  • Does it occur for any wallpaper? Which have you tried that caused this leak?
  • You mentioned Wayland, do you use the XWayland compatibility tool or is this straight/pure Wayland?

trainzkid avatar Dec 12 '23 05:12 trainzkid

  1. linux-wallpaper
  2. Hyprland, which is wlroots based
  3. I'm not sure if it's for all wallpaper, but the one that I've observed that give is.
  4. Wayland! Yes I have Xwayland active, but I'm not sure whether it uses it

JustSimplyKyle avatar Dec 12 '23 05:12 JustSimplyKyle

Sorry, I should have been a little more clear on that first question. What's the full command + args you typed into the terminal? Or wherever you're calling this app from.

Could you provide the ID of the wallpaper you tried?

trainzkid avatar Dec 12 '23 05:12 trainzkid

Sorry for the inconvenience! 1845706469 would be the id. linux-wallpaperengine 1845706469 --screen-root DP-2 --silent --no-auto-mute

JustSimplyKyle avatar Dec 12 '23 06:12 JustSimplyKyle

This needs some profiling to locate where the leak comes from, looks to be happening regardless of the bg (at least on the ones I tested yesteday) but I need to look a bit deeper into this

Almamu avatar Dec 13 '23 02:12 Almamu

https://gitea.com/SimplyKyle/dotfiles/src/branch/main/home/.config/hypr/scripts/waybar_memoryleak For people suffering from this bug, here is a good-but-not-really workaround for it

JustSimplyKyle avatar Dec 13 '23 07:12 JustSimplyKyle