pinnacle-comp/pinnacle

Memory leak when winit backend draws an unchanging frame

Ottatop opened this issue · 0 comments

If nothing on the screen is changing memory starts leaking rapidly after like 5-10 seconds then gets freed once something new is rendered.

Offending commit is cd8e15a as a result of smithay commit e810eba

Niri doesn't exhibit this and updating cosmic-comp to that commit doesn't cause the problem so my conclusion is that I'm doing some winit rendering wrong somewhere and the smithay update exposed the wrongness.