| ▲ | nickjj 10 hours ago | |||||||
> It would be fair to mention that this is happening for you with a decade old GPU using an EOL driver, which sucks, but is unlikely to be a common experience. The drivers are still getting maintained by NVIDIA until August 2026. They also got classified as "legacy" on paper 1 day before I installed them. The compositor memory leak is affecting a lot of people. Since COSMIC and niri both use the same one (smithay), there's threads on GitHub with people using modern GPUs, both NVIDIA and AMD who experience it. There's a lot of replies across all of the different open issues. The GPU allocation issue on Wayland (separate from the memory leak) also has hundreds of replies on the NVIDIA developer forums with people using new NVIDIA cards with the latest drivers. The thing is, most people don't talk about either of them because if you have 8+ GB of GPU memory and turn your computer off every night then you won't experience this problem since all GPU memory allocations get reset on shutdown. It happens to be more of a direct problem for me because I have 2 GB of GPU memory but that doesn't mean the problem isn't common. The root cause is still there. Even if I switched to an AMD GPU the niri / smithay memory leak would be present. Instead of rebooting twice a day, if the GPU had 8 GB of memory I'd have to reboot every 2 days (x4 basically). Since I opened that issue on GitHub NVIDIA did acknowledge it and suggested I try their experimental egl-wayland2 library. I did try that and it hasn't fixed it fully but it has made GPU memory allocations more stable. It even fixed 1 type of leak in niri. This library is decoupled from the drivers themselves as far as I know. I mean, this same library could still be used for the 590 series, it's not 580 specific which means it's not dependent on your GPU model. | ||||||||
| ▲ | formerly_proven 7 hours ago | parent [-] | |||||||
> The compositor memory leak is affecting a lot of people. Since COSMIC and niri both use the same one (smithay), there's threads on GitHub with people using modern GPUs, both NVIDIA and AMD who experience it. There's a lot of replies across all of the different open issues. But then this sounds like a bug in that particular compositor rather than the driver(s)? fwiw, I have a modern nvidia card, and use the proprietary drivers, and Wayland (KDE/KWin), and that box has a few weeks of uptime. | ||||||||
| ||||||||