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

            Bug ID: 436900
           Summary: Memory leak with Nvidia driver
           Product: plasmashell
           Version: 5.21.4
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: generic-performance
          Assignee: k...@davidedmundson.co.uk
          Reporter: grzesiek.jedenas...@outlook.com
  Target Milestone: 1.0

SUMMARY
plasmashell process has a constantly growing memory footprint on my system. I
believe that it has something to do with the Nvidia driver, but I'm not sure.

I noticed this quite a long time ago (5.15-5.18 or earlier, I don't know).

This machine runs Debian Sid with Plasma packages from experimental (currently
5.21.5) and has an Nvidia GTX 660 graphics card using the proprietary driver
(version 460.73.01).

A really good example:

- Here is a screenshot from 13 April 2021 19:28:54 CEST, a bit after starting
plasmashell:
https://grzesiek11.stary.pc.pl/files/images/Screenshot_20210413_192854.png
- Now, a screenshot from 14 April 2021 15:40:52 CEST (~24h later):
https://grzesiek11.stary.pc.pl/files/images/Screenshot_20210414_154049.png
 - Memory details from KSysGuard from about the same time:
https://grzesiek11.stary.pc.pl/files/images/Screenshot_20210414_154025.png
- Finally, after restarting plasmashell:
https://grzesiek11.stary.pc.pl/files/images/Screenshot_20210414_154220.png

This was a test done on 5.21.4 (last month), I kept my PC on for 2 workdays and
a night.

However, I experience this during my normal workday on 5.21.5, with smaller
memory values obviously (it grows to around 300-400 MB instead of 800 MB, so
it's pretty consistent (~2x smaller for ~2x less time)).

I have another machine, a Thinkpad x240 with Intel iGPU (the same distro, the
same Plasma packages). It had over a month of uptime (with sleep, so a it's bit
of cheating I guess) without restarting plasmashell when I was rebooting it to
apply a kernel update. The memory usage was at ~150 MB, the same as right after
starting plasmashell.

STEPS TO REPRODUCE
1. Get a GTX 660 (I have no idea about other Nvidia cards, I don't have any. I
don't even know if it happens on all 660s).
2. Install Debian Sid (I am using the experimental repo for Plasma, but I was
experiencing the same on plain Sid versions, and I think even Stable).
3. Restart plasmashell, note its memory footprint.
4. Wait (I think it's noticable (~50-100 MB) after an hour, you can wait a day
if you want to achieve the same results as shown above).
5. Note the memory footprint of plasmashell.

OBSERVED RESULT
The memory footprint stays about the same.

EXPECTED RESULT
The memory footprint grows to really high values.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 11 (Sid)
KDE Plasma Version: 5.21.5 (any "recent" version is broken for me; I have
chosen 5.21.4 because 5.21.5 is not on the list yet)
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-19.1-liquorix-amd64 (using vanilla Debian kernel doesn't
change anything)
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2400 CPU @ 3.10GHz
Memory: 7.7 GiB of RAM
Graphics Processor: GeForce GTX 660/PCIe/SSE2 (MSI GeForce GTX660 TWINFROZR
III)
Nvidia Driver Version: 460.73.01 (as with KDE Plasma Version)

ADDITIONAL INFORMATION
--

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

Reply via email to