https://bugs.kde.org/show_bug.cgi?id=469094
Bug ID: 469094 Summary: GPU Memory Leak Classification: Plasma Product: plasmashell Version: 5.27.4 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: major Priority: NOR Component: Panel Assignee: plasma-b...@kde.org Reporter: forestofr...@gmail.com CC: niccolo.venera...@gmail.com Target Milestone: 1.0 SUMMARY I have to logout/reboot my system often, due to GPU memory leaking? I notice it mostly after locking my screen and coming back after several hours. It has been happening for many months, can't even remember which version it started, only hoping that the next release fixes the issue. Similar issue can be seen using System Settings and selecting another scaling factor and then revert. Do this several times and all GPU memory will be consumed. Possible relation to bug 428394. My setup is three 4k monitors. One larger in the middle, with the other two in portrait mode on each side. After a fresh boot, the GPU memory will be anywhere from 2GB to 4.2GB. The range is all dependent upon KDE updates, not each reboot on the same version. Using nvidia-smi or nvtop, the process GPU usage does not add up to total consumed. Monitor setup 1. Left, 3840x2160 @ 200%, portrait, 27" 2. Center, primary, 3840x2160 @ 125%, 43" 3. Right, 3840x2160 @ 200%, portrait, 27" STEPS TO REPRODUCE 1. Lock screen 2. Come back in a few hours or next morning Alternative Steps 1. System settings, display and monitor 2. Change a screen scale, I selected the middle. Go from 125% to 100% 3. Revert 4. GPU memory usage climbed 5. Repeat scale and revert a few times 6. Be careful to not max out GPU memory OBSERVED RESULT GPU Memory almost doubled in the standard scenario. The alternative steps, it will keep climbing on each scale/revert cycle. EXPECTED RESULT GPU memory usage would be nearly the same as before. Ideally, not use so much to begin with. SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.13 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.2.13-gentoo-dist (64-bit) Graphics Platform: Wayland Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2 ADDITIONAL INFORMATION Using the same monitor setup with a "trash can" mac, scales just as nice and uses way less GPU memory, somewhere around 1GB. Windows on the same computer, not as nice scaling between monitors, uses around 1.4GB GPU memory. It would be a dream to see KDE on wayland under 2GB GPU. :) After 3 change scale/revert cycles nvidia-smi output Before |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 3080 Off| 00000000:01:00.0 On | N/A | | 30% 41C P0 84W / 320W| 3716MiB / 10240MiB | 1% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 1217 G /usr/bin/kwin_wayland 1475MiB | | 0 N/A N/A 1583 G /usr/bin/Xwayland 29MiB | | 0 N/A N/A 1591 G /usr/bin/ksmserver 3MiB | | 0 N/A N/A 1603 G /usr/bin/kded5 3MiB | | 0 N/A N/A 1678 G /usr/bin/plasmashell 753MiB | | 0 N/A N/A 1730 G ...c/polkit-kde-authentication-agent-1 3MiB | | 0 N/A N/A 1732 G ...ib64/libexec/xdg-desktop-portal-kde 3MiB | | 0 N/A N/A 1867 G /usr/lib64/libexec/kdeconnectd 3MiB | | 0 N/A N/A 1869 G /usr/bin/some_qt_app 3MiB | | 0 N/A N/A 1878 G /usr/bin/kaccess 3MiB | | 0 N/A N/A 1880 G /usr/bin/kalendarac 3MiB | | 0 N/A N/A 2360 G /usr/lib64/libexec/baloorunner 3MiB | | 0 N/A N/A 81264 G /usr/bin/krunner 27MiB | | 0 N/A N/A 148708 G /usr/bin/konsole 3MiB | | 0 N/A N/A 148925 G ...ble-features=WebRTCPipeWireCapturer 4MiB | | 0 N/A N/A 151890 G /usr/bin/kate 3MiB | +---------------------------------------------------------------------------------------+ |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 3080 Off| 00000000:01:00.0 On | N/A | | 30% 41C P0 84W / 320W| 6647MiB / 10240MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ After +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 1217 G /usr/bin/kwin_wayland 1473MiB | | 0 N/A N/A 1583 G /usr/bin/Xwayland 29MiB | | 0 N/A N/A 1591 G /usr/bin/ksmserver 3MiB | | 0 N/A N/A 1603 G /usr/bin/kded5 3MiB | | 0 N/A N/A 1678 G /usr/bin/plasmashell 3435MiB | | 0 N/A N/A 1730 G ...c/polkit-kde-authentication-agent-1 3MiB | | 0 N/A N/A 1732 G ...ib64/libexec/xdg-desktop-portal-kde 3MiB | | 0 N/A N/A 1867 G /usr/lib64/libexec/kdeconnectd 3MiB | | 0 N/A N/A 1869 G /usr/bin/some_qt_app 3MiB | | 0 N/A N/A 1878 G /usr/bin/kaccess 3MiB | | 0 N/A N/A 1880 G /usr/bin/kalendarac 3MiB | | 0 N/A N/A 2360 G /usr/lib64/libexec/baloorunner 3MiB | | 0 N/A N/A 81264 G /usr/bin/krunner 27MiB | | 0 N/A N/A 148708 G /usr/bin/konsole 3MiB | | 0 N/A N/A 148925 G ...ble-features=WebRTCPipeWireCapturer 4MiB | | 0 N/A N/A 151890 G /usr/bin/kate 3MiB | | 0 N/A N/A 153731 G /usr/bin/systemsettings 250MiB | +---------------------------------------------------------------------------------------+ -- You are receiving this mail because: You are watching all bug changes.