← Back to context

Comment by nickjj

12 hours ago

I also switched to Linux last month. It hasn't been a smooth experience with my GPU as I'm encountering memory leaks in popular compositors. I also get 150-200ms keyboard input delay in all games using some compositors but not all. I documented as much as I could here https://nickjanetakis.com/blog/gpu-memory-allocation-bugs-wi....

Still, despite all of that when it works it is better than Windows. It's just ironic that my Linux desktop is less stable than Windows 10 since I have to reboot 2-3 times a day from GPU memory leaks. Windows 10 was really stable with the same hardware and had no input delay in games. I only rebooted when the OS pushed an update since I keep my machine on 24 / 7.

For that old of a GPU you may have a better time on X instead of wayland - there the NVIDIA drivers are supposed to be pretty decent.

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.

  • > 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.

    • > 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.

      1 reply →