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

High VRAM usage on nvidia (memory leak?) #108

Open
kelvie opened this issue Sep 23, 2024 · 2 comments
Open

High VRAM usage on nvidia (memory leak?) #108

kelvie opened this issue Sep 23, 2024 · 2 comments

Comments

@kelvie
Copy link
Contributor

kelvie commented Sep 23, 2024

Hello, on my nvidia system, it seems like VRAM usage is really high with this plugin after opening windows and even after closing them.

I'm not sure how to debug this though, but basicaly, on boot:

kwin_wayland uses 110 MB vram

After opening firefox, it shoots up to 2.5GB vram, then even after closing it, it remains at 2.5GB. Perhaps there's a texture leak or something somewhere?

@taj-ny
Copy link
Owner

taj-ny commented Sep 24, 2024

Main or develop? I tested both and couldn't reproduce this on KWin 6.1.5 and Nvidia 560.35.03.

I noticed that resizing a window results in the VRAM usage increasing from ~50MiB to ~450MiB, but that happened without any blur effects enabled and didn't increase further.

I also checked all the places where textures are allocated and I couldn't anything that would cause such a massive memory leak.

@kelvie
Copy link
Contributor Author

kelvie commented Sep 25, 2024

Main, and you're right, it's not blur, it's resizing windows: NVIDIA/egl-wayland#126 (comment)

It seems vram just isn't freed right on this driver, and blur seems to make it happen faster. I'll close this, thanks for checking!

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