pinnacle-comp / pinnacle

A WIP Smithay-based Wayland compositor, inspired by AwesomeWM and configured in Lua or Rust
GNU General Public License v3.0
278 stars 12 forks source link

Memory leak when winit backend draws an unchanging frame #239

Closed Ottatop closed 6 months ago

Ottatop commented 6 months ago

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.