cosmic-store icon indicating copy to clipboard operation
cosmic-store copied to clipboard

GPU memory leak

Open nonetrix opened this issue 1 year ago • 3 comments
trafficstars

Description:

The GPU will leak GPU memory if you scroll up and down repeatedly on of the categories such as Game, Create, Develop, etc. I am assuming it's forgetting to deallocate GPU memory for the app icons somehow, could even be a iced toolkit issue not sure exactly. If this is fixed could possibly lead to the app being faster too I imagine

How to reproduce:

  1. Open Cosmic Store
  2. Go to any of the categories or use the one already selected OTB
  3. Grab the scroll bar
  4. Throw your mouse up and down to scroll... P.s. Please add page up and page down support and smooth scrolling setting
  5. Open a process monitor that allows you to see VRAM allocation e.g. Mission Center
  6. See crazy VRAM usage and that it goes up with every scroll

Images:

screenshot-2024-04-23-23-36-17 screenshot-2024-04-23-23-46-44

System info:

  • RX 6800 (16GBs VRAM)
  • Ryzen 7 3700x
  • 64GBs of RAM
  • PopOS 22.04 with PPA installed

nonetrix avatar Apr 23 '24 23:04 nonetrix

I feel like this should be fixed before a final release

nonetrix avatar Jul 22 '24 00:07 nonetrix

Still a issue with the alpha iso

nonetrix avatar Aug 13 '24 22:08 nonetrix

We're working on rebasing to the latest version of iced. We're still using the same version from six months ago.

mmstick avatar Aug 13 '24 22:08 mmstick

This appears to be fixed after the rebase!

git-f0x avatar Oct 21 '24 21:10 git-f0x