-
-
Notifications
You must be signed in to change notification settings - Fork 589
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 when using unredir-if-possible on certain software #960
Comments
can reproduce with gimp. affects only xrender backend only when edit: doesn't happen with |
fixes at least yshui#960
and check should we actually free something fixes at least yshui#960
and check should we actually free something fixes at least yshui#960
@bazettfraga, should be fixed starting from 5457d76. consider closing the issue if it doesn't happen to you anymore. |
Not sure if I am experiencing the same issue but as soon as I launch picom the VRAM usage is 900mb, which isn't too bad considering I have 8gb on my 3070 but is 900mb the normal amount or does that seem a little high? |
@Fxzzi, what backend you're using and what's your screen resolution? |
GLX backend, one monitor 2560x1440@170Hz, the other monitor 1920x1080@75Hz. |
@Fxzzi, what's in your configuration file? |
Hi! Sorry for the silence, I wasn't notified by Github last time for some reason. After building the latest version of picom I am glad to say that this bug no longer occurs at all. Thank you very much! |
https://gitlab.com/fazzi/dotfiles/-/blob/main/.config/picom/picom.conf Here is my picom config |
@Fxzzi, interesting. i agree that 900mb of vram is a little bit too much for picom. the only idea i currently have is that you have two monitors and one of them has 2k resolution what means bigger windows, bigger shadow and blur textures and bigger vram usage. let's see if it's actually picom: could you provide the output of the |
@Fxzzi, yeah, picom indeed ate your vram and it's about gl resources. is vram usage the same for both glx and egl backends? and, just out of curiosity, what's the vram usage of the xrender backend? let's see what @yshui or @tryone144 have to say about this, i'm not the gl expert. |
Yeah. Testing on GLX and EGL yields me similar VRAM numbers. Here's a screenshot of the vram usage on xrender. 6mib! |
and check should we actually free something fixes at least yshui#960
and check should we actually free something fixes at least yshui#960
currently there are no known leaks in picom. if you think you found a leak in picom, please create a new issue. closing as stale. |
Platform
Arch-Linux
GPU, drivers, and screen setup
NVidia GTX 1650S & 1060, nvidia drivers 525.60.11,
Xorg running on 1650S, three monitors configured side-by-side with xrandr
Environment
i3-gaps version 4.21.1
picom version
vgit-98a5c
Diagnostics
Extensions:
Misc:
(Another compositor is already running)
Drivers (inaccurate):
NVIDIA
Backend: glx
Backend: egl
Configuration:
Configuration file
Steps of reproduction
unredir-if-possible = true
in picom.conf.* Have tested Chromium, Discord (running electron), and Audacious, which do not cause this issue. Firefox, GIMP, OBS Studio, and LibreOffice Writer do.
Expected behavior
VRAM on display GPU remains consistent.
Current Behavior
VRAM on GPU is continuously consumed, upon restart VRAM use is back to normal.
Footage of the issue
https://files.catbox.moe/u6s20m.mp4
The text was updated successfully, but these errors were encountered: