-
-
Notifications
You must be signed in to change notification settings - Fork 901
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
VRAM Memory Leak on window close #357
Comments
are you sure it's related to hyprland? does sway also leak or no? |
Reading this issue prompted me to check my own VRAM usage on Nvidia 515.57, for some reason Hyprland is using 1508MiB of VRAM and I'm watching it slowly crawl up higher and higher. Now at 1596MiB before even finishing this post. Indeed, when starting new instances of foot terminal the memory usage increases, and closing those instances actually increases memory usage as well. |
doesn't answer my question |
Tested and it doesn't seem like it, also tested on Weston and no issues there either |
Not only NVIDIA, can see it on my rig too. |
should be fixed with bf762f5 but please verify. |
Seems to be fixed, opening and closing windows flushes the memory to the value seen here I'll give it ~3h before I close the issue, just to make sure. |
Fixed, no more than 200mb of VRAM was ever allocated, and it was instantly freed after closing respective processes. Thanks for the quick fix! |
I don't think it's fully fixed, VRAM / RAM usage still increases on config reload (file save), and never decreases. Here I just commented -> saved -> uncommented -> saved one option (binding) a bunch of times: System:
|
open a new issue plox |
watch -n 1 -d nvidia-smi
While I know NVIDIA support isn't directly there, it's more a question for how to properly fix this as I don't use Discord. A reset was also performed, without making any difference.
Tried
nvidia-open
,nvidia
andnvidia-lts
drivers (both DKMS and non), all ending in the same memory leak.Env:
nvidia-smi:
Before opening 2 instances:
0 N/A N/A 918 G Hyprland 294MiB
After opening and closing 2 instances:
0 N/A N/A 918 G Hyprland 314MiB
I've also tried to disable things like blur, which also didn't reduce the leaks. This is using the standard-generated config with changed keybindings and
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
added at the bottom.The text was updated successfully, but these errors were encountered: