smithay icon indicating copy to clipboard operation
smithay copied to clipboard

NVIDIA: memory leak from per-texture glFenceSync in GlesRenderer (TextureSync::update_read)

Open MixaDoDs opened this issue 1 month ago • 0 comments

niri течёт ~100–440 МБ/ч при захвате экрана на NVIDIA, причина — glFenceSync на каждую текстуру в smithay (TextureSync::update_read), repro.c воспроизводит без niri и без smithay. Подробности и repro.c: https://github.com/niri-wm/niri/issues/4729 Обход в нашем форке: https://github.com/MixaDoDs/angel-smithay/commit/3894c4df

Translation (machine): niri leaks ~100–440 MB/h during screencasting on NVIDIA. The cause is glFenceSync per texture in smithay (TextureSync::update_read). repro.c reproduces it without niri and without smithay. Details and repro.c: https://github.com/niri-wm/niri/issues/4729 Workaround in our fork: https://github.com/MixaDoDs/angel-smithay/commit/3894c4df

MixaDoDs avatar Oct 23 '26 19:10 MixaDoDs