Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

VRAM leak (?) on nvidia when resizing some windows

Open thejch opened this issue 1 year ago • 5 comments

Hyprland Version

Hyprland, built from branch main at commit 1a4f23eb2fee77b23b2cc6ff1fbfc87f60f10314 dirty (renderer: Only force nearest neighbor when the sizes are off by one or two (4325)). Date: Mon Jan 1 11:20:27 2024 Tag: v0.34.0-12-g1a4f23eb

Bug or Regression?

Bug

Description

vram leak (?) on nvidia when resizing some windows, e.g. firefox requires nvidia_anti_flicker = false It does seem to stop at a certain amount though Maybe related to #4294

How to reproduce

  1. Have an nvidia GPU
  2. Set OpenGL:nvidia_anti_flicker = false
  3. In an empty workspace, open kitty and firefox next to each other. Drag to resize them, and vram goes through the roof

Crash reports, logs, images, videos

No response

thejch avatar Jan 01 '24 22:01 thejch

if it stops, it might be nvidia just queueing frees but not actually conducting them right away

vaxerski avatar Jan 01 '24 22:01 vaxerski

Yeah it stops but it's after it reaches 1.5 or 2 GB for me so still very bad. Nothing can be done on hyprland side? Also when it stops it doesn't come back down. It just stays at that amount.

thejch avatar Jan 01 '24 23:01 thejch

No clue, I've never seen this happen on AMD, so it could also be an nvidia bug.

vaxerski avatar Jan 01 '24 23:01 vaxerski

I can't reproduce it on nvidia

wxlyyy avatar Jan 02 '24 10:01 wxlyyy

I wonder if it's related to the issue I'm seeing here (although it's xwayland and not firefox)

https://gitlab.freedesktop.org/xorg/xserver/-/issues/1617

kelvie avatar Jan 04 '24 07:01 kelvie

This seems somehow mostly gone now, probably due to some of the recent rewrites. Now although it does still happen sometimes, it never lasts very long before the vram goes back down so it doesn't really concern me anymore. I'm just gonna close this for now.

thejch avatar Apr 28 '24 10:04 thejch