https://bugs.kde.org/show_bug.cgi?id=493462

            Bug ID: 493462
           Summary: kwin with wayland excessive VRAM usage
    Classification: Plasma
           Product: kwin
           Version: 6.1.5
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: xwayland
          Assignee: kwin-bugs-n...@kde.org
          Reporter: maxim.yegorush...@gmail.com
  Target Milestone: ---

Created attachment 173947
  --> https://bugs.kde.org/attachment.cgi?id=173947&action=edit
nvtop screenshot

I observe kwin with wayland using 5GB of VRAM while running a Plasma shell with
an Emacs and 3 Konsoles. Which looks a bit too excessive for me.

My research involves training lots of relatively small PyTorch models on a
single GPU in parallel. VRAM is a limiting resource for me, and getting more of
it is most expensive and non-trivial. That's why I keep an eye on VRAM usage.

OBSERVED RESULT

kwin with wayland use 5GB of VRAM (21% of 24GB) just to display a Plasma shell
with an Emacs and 3 Konsoles.

EXPECTED RESULT

kwin with wayland use well under 1GB VRAM for this use case.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-lowlatency (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
nvidia-driver-555

ADDITIONAL INFORMATION

nvidia-smi -q output (sometime earlier than nvtop screenshot):

...
Processes
    Process ID                        : 2302
        Type                          : G
        Name                          : /usr/lib/xorg/Xorg
        Used GPU Memory               : 30 MiB
    Process ID                        : 6113
        Type                          : G
        Name                          : /usr/bin/kwin_wayland
        Used GPU Memory               : 2326 MiB
    Process ID                        : 6182
        Type                          : G
        Name                          : /usr/bin/Xwayland
        Used GPU Memory               : 2478 MiB
    Process ID                        : 6217
        Type                          : G
        Name                          : /usr/bin/ksmserver
        Used GPU Memory               : 6 MiB
    Process ID                        : 6233
        Type                          : G
        Name                          : /usr/bin/plasmashell
        Used GPU Memory               : 122 MiB
...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to