Subscribe
for notifications:
EN
Login / Registration
Guest avatar
Guest
Login to access all features
You can download client for your phone
download on play marketDownload at play market
download talkvio apkAPK file directly
  • Аватар пользователя Útost Alronbem
    8 месяцев20 Oct 2025 в 04:39
    RU
    Original language: Русский

    [моё] The Mystery of GNOME's Video Memory Consumption Revealed

    A couple of days ago, I became interested in the question of why the gnome-shell process (from GNOME 48, Wayland, fully stock Ubuntu 25.04 x64) started consuming almost twice as much VRAM (450MiB versus 250MiB just a couple of days earlier).
    Ah, you know, toys are slowing down, every megabyte counts.

    A quick search on the Internet yielded nothing, only episodic mentions that, indeed, GNOME loves to munch on video memory, sometimes devouring up to 16 GB on truly monstrous machines.

    And that's it.

    I had to recall my testing skills and step-by-step restore my actions with the system over the past few days.
    Roll them back point by point.
    And, of course, measure the effect of changes!

    It turned out that GNOME, for some reason, caches the ENTIRE list of wallpapers that the user has added to the list of wallpapers!

    Illustration 1: 1 (one) wallpaper
    Confidently holding at 300, no higher
    Confidently holding at 300, no higher
    Illustration 2: +6 wallpapers
    Oops! +100MiB of video memory consumption! Although after adding wallpapers, we gave the system a little time to settle and even let Steam and the browser take back some VRAM.
    Oops! +100MiB of video memory consumption! Although after adding wallpapers, we gave the system a little time to settle and even let Steam and the browser take back some VRAM.
    Moreover, at least +50MiB will be occupied even after a clean reboot.
    And consumption will grow proportionally to the number of added wallpapers.
    Although the user is unlikely to see them in their life.
    But for some reason, GNOME keeps them at hand...

    Decent thing would be to scold them somewhere on discourse.gnome.org or even on https://gitlab.gnome.org/GNOME/mutter/-/issues/4365, but... I don't feel like it.
    Let this be our little secret for now.
    Times when performance was cared about are gone. That's it. Can't stop them from shooting themselves in the foot.
    Let it remain so.

    Don't give GNOME too many wallpapers to choose from, save your video memory.
    / 2 / 0
    Ratio of positive and negative votes: 2/0
    Like this post, increate it rating
    Number of comments in this post, click to go to the thread
    Number of views in this post, click to go to the thread
Talkvio Engine 0.2.0-1520-g5d7c815
X
0.2.0-1520-g5d7c815