protonscr

vram leak when opening/closing controller configuration or big picture from small/large mode

steamopen Steam clientGeneral controller / Steam Input
ValveSoftware/steam-for-linux#8372 · opened 2022-01-31 by ZakMcKrack3n · updated 2023-02-05 · 5 comments · github
ZZakMcKrack3n 2022-01-31 github

Your system information

  • Steam client version (build number or date): Feb 10 2022
  • Distribution (e.g. Ubuntu): Arch Linux with amdgpu card on xorg
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Opening and closing controller configuration for a game or big picture repeatetly without exiting steam modes leaks vram.

Steps for reproducing this issue:

  1. go to small/ large mode with a controller attached that can be remapped by steam
  2. open controller config screen
  3. close controller config screen
  4. repeat n times and see vram usage of the system increase
  5. finally close steam to see that allocated vram is now gone

  1. go to small/ large mode and start big picture mode
  2. exit big picture mode by 'Exit Big Picture' option
  3. repeat n times and see vram usage of the system increase
  4. finally close steam to see that allocated vram is now gone

In both cases the error can be reproduced until vram is gone or severly impacts performance of any game launch, this is more critical when the game is already near the vram limit of the card.

I will try to test this under windows with another amd card to see if this is a universal issue as well.

ZZakMcKrack3n 2022-02-02 github

Just tested on another machine on windows 10 and amd graphics card, there seems to be no indication of the error, vram usage drops instantly whenever the controller window / big picture mode is exited.

On linux I retestet with Xorg with and without compositors (lxde and gnome3) and under wayland (gnome3), all configurations exibit the error using amdgpu driver.

To measure vram usage radeontop was used on linux , and gpu-z on windows

Hardware accelerated webviews was disabled on both operation systems in steam client.
Possible connection to #6715, as the controller page and big picture are not rendered in software.

ZZakMcKrack3n 2022-02-16 github

Steam client version from Feb 15 2022 is still affected.
Faster way to test is having the small mode active and right click on "Edit Steam Controller Configuration" while alternating between two different game entries hence opening a lot of controller windows.

ZZakMcKrack3n 2022-04-29 github

April 27 build still affected.
Also found a even faster way to load vram by pressing the left stick down on the steam controller when in non big picture mode to show the virtual keyboard , then dismissing it.

It also opens in a big picture mode like window this also does not clean up properly and is much faster repeated.

ZZakMcKrack3n 2022-10-31 github

Still happening with Built from Oct 27 2022.
@kisak-valve can you reclassify this bug ?
This is NOT an controller issue but repeatedly "opening other UI" issue from normal desktop client.

At least these areas are still affected:

  • Virtual keyboard
  • Controller config
  • Switch to Big Picture

Still all are not freeing VRAM resources.

Maybe this is what is related to #5764 and they do not realize it because using any of these elements.

ZZakMcKrack3n 2023-02-05 github

Feb 23 build still affected.
Opening and closing controller layout that is now showing big picture controller configuration still causes this issue.

Nothing extracted yet.