Summary: | Major memory leak with GIF wallpaper and NVIDIA GPU | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Glenn Ivar Røsdal <trixxnet> |
Component: | Image & Slideshow wallpaper plugins | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | kde, kdechalice, kdedev, nate, notmart, poryvay.vladik, postix, qydwhotmail, szgiemza |
Priority: | NOR | Keywords: | efficiency-and-performance |
Version First Reported In: | 6.1.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=480693 https://bugs.kde.org/show_bug.cgi?id=386315 |
||
Latest Commit: | https://invent.kde.org/qt/qt/qtdeclarative/-/commit/8c54efe9fb007701eff6c5caad3c4ee54c714dc5 | Version Fixed In: | Qt 6.10.0 |
Sentry Crash Report: | |||
Attachments: |
Chill_Mario_2023_ver__Pixel_Jeff.gif
attachment-2852559-0.html attachment-284659-0.html GIF that has this memory leak. (BUG 500680) attachment-2721165-0.html attachment-618535-0.html 3080TI, 11+ GB of VRAM used in 3-4 Minutes 2-frame 1920x1080 GIF Wallpaper for testing |
Description
Glenn Ivar Røsdal
2024-08-23 18:33:03 UTC
Can you attach the GIF wallpaper that makes it happen for you? Created attachment 172894 [details] Chill_Mario_2023_ver__Pixel_Jeff.gif fre. 23. aug. 2024, 21:14 skrev Nate Graham <bugzilla_noreply@kde.org>: > https://bugs.kde.org/show_bug.cgi?id=492097 > > Nate Graham <nate@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|REPORTED |NEEDSINFO > Summary|Major Memory leak |Major memory leak with GIF > | |wallpaper > Resolution|--- |WAITINGFORINFO > CC| |nate@kde.org, > | |notmart@gmail.com, > | |qydwhotmail@gmail.com > Component|general |Image Wallpaper > > --- Comment #1 from Nate Graham <nate@kde.org> --- > Can you attach the GIF wallpaper that makes it happen for you? > > -- > You are receiving this mail because: > You reported the bug. Created attachment 172895 [details] attachment-2852559-0.html It might take some time before the memory ramps up. Some of the users spent 15 -20 min before it started. For me was around 3min, with a few programs up and running at the same time. I was using 2x 4k screens with that wallpaper fre. 23. aug. 2024, 23:37 skrev Vexy <trixxnet@gmail.com>: > > fre. 23. aug. 2024, 21:14 skrev Nate Graham <bugzilla_noreply@kde.org>: > >> https://bugs.kde.org/show_bug.cgi?id=492097 >> >> Nate Graham <nate@kde.org> changed: >> >> What |Removed |Added >> >> ---------------------------------------------------------------------------- >> Status|REPORTED |NEEDSINFO >> Summary|Major Memory leak |Major memory leak with >> GIF >> | |wallpaper >> Resolution|--- |WAITINGFORINFO >> CC| |nate@kde.org, >> | |notmart@gmail.com, >> | |qydwhotmail@gmail.com >> Component|general |Image Wallpaper >> >> --- Comment #1 from Nate Graham <nate@kde.org> --- >> Can you attach the GIF wallpaper that makes it happen for you? >> >> -- >> You are receiving this mail because: >> You reported the bug. > > Thanks. on current git master, I'm unable to reproduce the issue after an hour with that wallpaper active. Let's call it fixed in Plasma 6.2, but if after upgrading to Plasma 6.2, you can still experience the issue, then feel free to re-open the bug report and we can investigate further. Perhaps it's an NVIDIA driver bug. I'm using an Intel HD630 iGPU, FWIW. Created attachment 173068 [details] attachment-284659-0.html Ok, I'll check it out. Due I have an gpu with intel as well. tor. 29. aug. 2024, 00:57 skrev Nate Graham <bugzilla_noreply@kde.org>: > https://bugs.kde.org/show_bug.cgi?id=492097 > > Nate Graham <nate@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Resolution|WAITINGFORINFO |FIXED > Status|NEEDSINFO |RESOLVED > Version Fixed In| |6.2.0 > > --- Comment #4 from Nate Graham <nate@kde.org> --- > Thanks. on current git master, I'm unable to reproduce the issue after an > hour > with that wallpaper active. Let's call it fixed in Plasma 6.2, but if after > upgrading to Plasma 6.2, you can still experience the issue, then feel > free to > re-open the bug report and we can investigate further. Perhaps it's an > NVIDIA > driver bug. I'm using an Intel HD630 iGPU, FWIW. > > -- > You are receiving this mail because: > You reported the bug. *** Bug 500680 has been marked as a duplicate of this bug. *** Got a new report in Bug 500680 from someone using Plasma 6.3.1; re-opening. Created attachment 178846 [details] GIF that has this memory leak. (BUG 500680) That file is actually a .mp4 movie, not a GIF. Can you attach the GIF file that causes this? (In reply to Nate Graham from comment #9) > That file is actually a .mp4 movie, not a GIF. Can you attach the GIF file > that causes this? Just tested the gif that was thrown here earlier. (https://bugs.kde.org/attachment.cgi?id=172894) It also has a memory leak. In 2-3 minutes, the system completely crashes. Perhaps this is a quirk of Nvidia? Created attachment 178933 [details] attachment-2721165-0.html I was starting to wonder if it was related to the resize bug that was eating the memory. Not visited the issue since. Nor did i tinker with open and closed drivers at that time. Pretty much ran everything in stock ons. 26. feb. 2025, 22:16 skrev <bugzilla_noreply@kde.org>: > https://bugs.kde.org/show_bug.cgi?id=492097 > > --- Comment #10 from poryvay.vladik@gmail.com --- > (In reply to Nate Graham from comment #9) > > That file is actually a .mp4 movie, not a GIF. Can you attach the GIF > file > > that causes this? > > Just tested the gif that was thrown here earlier. > (https://bugs.kde.org/attachment.cgi?id=172894) > It also has a memory leak. In 2-3 minutes, the system completely crashes. > Perhaps this is a quirk of Nvidia? > > -- > You are receiving this mail because: > You reported the bug. I also tested with the Chill Mario animated gif wallpaper (https://bugs.kde.org/attachment.cgi?id=172894) on a system with an nvidia gpu, git-master Plasma, using the proprietary nvidia drivers After a couple of hours, I see no memory leak. nvidia driver: 570.133.07 kernel: 6.12.21 If anyone is still seeing this, what specific nvidia driver do you have? Also, what kernel? (If anyone is seeing this with a different gpu, please specify that) Thanks Created attachment 180165 [details] attachment-618535-0.html I will test it with in 12 hours. Using the same distro as i originaly used for 1.5 years now that is Cachyos. Then let you know. tor. 10. apr. 2025, 19:51 skrev TraceyC <bugzilla_noreply@kde.org>: > https://bugs.kde.org/show_bug.cgi?id=492097 > > TraceyC <kdedev@tlcnet.info> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|REPORTED |NEEDSINFO > CC| |kdedev@tlcnet.info > Keywords| |efficiency-and-performance > See Also| | > https://bugs.kde.org/show_b > | |ug.cgi?id=480693 > Resolution|--- |WAITINGFORINFO > > --- Comment #12 from TraceyC <kdedev@tlcnet.info> --- > I also tested with the Chill Mario animated gif wallpaper > (https://bugs.kde.org/attachment.cgi?id=172894) on a system with an > nvidia gpu, > git-master Plasma, using the proprietary nvidia drivers > After a couple of hours, I see no memory leak. > > nvidia driver: 570.133.07 > kernel: 6.12.21 > > If anyone is still seeing this, what specific nvidia driver do you have? > Also, > what kernel? > (If anyone is seeing this with a different gpu, please specify that) > Thanks > > -- > You are receiving this mail because: > You reported the bug. fre. 11. apr. 2025, 05:59 skrev Vexy <trixxnet@gmail.com>: > Tested it now. Still a problem here. I did attach > > tor. 10. apr. 2025, 19:51 skrev TraceyC <bugzilla_noreply@kde.org>: > >> https://bugs.kde.org/show_bug.cgi?id=492097 >> >> TraceyC <kdedev@tlcnet.info> changed: >> >> What |Removed |Added >> >> ---------------------------------------------------------------------------- >> Status|REPORTED |NEEDSINFO >> CC| |kdedev@tlcnet.info >> Keywords| >> |efficiency-and-performance >> See Also| | >> https://bugs.kde.org/show_b >> | |ug.cgi?id=480693 >> Resolution|--- |WAITINGFORINFO >> >> --- Comment #12 from TraceyC <kdedev@tlcnet.info> --- >> I also tested with the Chill Mario animated gif wallpaper >> (https://bugs.kde.org/attachment.cgi?id=172894) on a system with an >> nvidia gpu, >> git-master Plasma, using the proprietary nvidia drivers >> After a couple of hours, I see no memory leak. >> >> nvidia driver: 570.133.07 >> kernel: 6.12.21 >> >> If anyone is still seeing this, what specific nvidia driver do you have? >> Also, >> what kernel? >> (If anyone is seeing this with a different gpu, please specify that) >> Thanks >> >> -- >> You are receiving this mail because: >> You reported the bug. > > Here you see my system is out of memory. fre. 11. apr. 2025, 14:20 skrev Vexy <trixxnet@gmail.com>: > > fre. 11. apr. 2025, 05:59 skrev Vexy <trixxnet@gmail.com>: > >> Tested it now. Still a problem here. I did attach >> >> tor. 10. apr. 2025, 19:51 skrev TraceyC <bugzilla_noreply@kde.org>: >> >>> https://bugs.kde.org/show_bug.cgi?id=492097 >>> >>> TraceyC <kdedev@tlcnet.info> changed: >>> >>> What |Removed |Added >>> >>> ---------------------------------------------------------------------------- >>> Status|REPORTED |NEEDSINFO >>> CC| |kdedev@tlcnet.info >>> Keywords| >>> |efficiency-and-performance >>> See Also| | >>> https://bugs.kde.org/show_b >>> | |ug.cgi?id=480693 >>> Resolution|--- |WAITINGFORINFO >>> >>> --- Comment #12 from TraceyC <kdedev@tlcnet.info> --- >>> I also tested with the Chill Mario animated gif wallpaper >>> (https://bugs.kde.org/attachment.cgi?id=172894) on a system with an >>> nvidia gpu, >>> git-master Plasma, using the proprietary nvidia drivers >>> After a couple of hours, I see no memory leak. >>> >>> nvidia driver: 570.133.07 >>> kernel: 6.12.21 >>> >>> If anyone is still seeing this, what specific nvidia driver do you have? >>> Also, >>> what kernel? >>> (If anyone is seeing this with a different gpu, please specify that) >>> Thanks >>> >>> -- >>> You are receiving this mail because: >>> You reported the bug. >> >> Had to reboot the system, to give you the system info fre. 11. apr. 2025 kl. 14:22 skrev Vexy <trixxnet@gmail.com>: > Here you see my system is out of memory. > > > > fre. 11. apr. 2025, 14:20 skrev Vexy <trixxnet@gmail.com>: > >> >> fre. 11. apr. 2025, 05:59 skrev Vexy <trixxnet@gmail.com>: >> >>> Tested it now. Still a problem here. I did attach >>> >>> tor. 10. apr. 2025, 19:51 skrev TraceyC <bugzilla_noreply@kde.org>: >>> >>>> https://bugs.kde.org/show_bug.cgi?id=492097 >>>> >>>> TraceyC <kdedev@tlcnet.info> changed: >>>> >>>> What |Removed |Added >>>> >>>> ---------------------------------------------------------------------------- >>>> Status|REPORTED |NEEDSINFO >>>> CC| |kdedev@tlcnet.info >>>> Keywords| >>>> |efficiency-and-performance >>>> See Also| | >>>> https://bugs.kde.org/show_b >>>> | |ug.cgi?id=480693 >>>> Resolution|--- |WAITINGFORINFO >>>> >>>> --- Comment #12 from TraceyC <kdedev@tlcnet.info> --- >>>> I also tested with the Chill Mario animated gif wallpaper >>>> (https://bugs.kde.org/attachment.cgi?id=172894) on a system with an >>>> nvidia gpu, >>>> git-master Plasma, using the proprietary nvidia drivers >>>> After a couple of hours, I see no memory leak. >>>> >>>> nvidia driver: 570.133.07 >>>> kernel: 6.12.21 >>>> >>>> If anyone is still seeing this, what specific nvidia driver do you >>>> have? Also, >>>> what kernel? >>>> (If anyone is seeing this with a different gpu, please specify that) >>>> Thanks >>>> >>>> -- >>>> You are receiving this mail because: >>>> You reported the bug. >>> >>> I tried to upload some images and a video, showing the whole process until it kills my system. Telling me it was fine to upload under 26mb, seems like it all failed. But yes nothing has changed so far of the issue here im sitting. Ate my 32Gb of ram within 5min, then i got a critical error that the kernel killed plasmashell.service Linux 6.14.2-2-cachyos KDE Plasma 6.3.4 Driver Version: 570.133.07 Some of the community did go in and test it as well. One user tested on laptop with a AMD gpu, and it seemed fine. Then we made an even more agressive GIF file to replicate the issue, and it ate all the 32gb of ram in about 1min. We get more input on the problem later on. We have a user that has more experience in linux then me from the CachyOs distro community, that will come in with some input comments later on today. The other user will do some test, when comming home again. We think its tied to the Nvidia driver at this point. CPU: Intel(R) Core(TM) i7-8700K CPU GPU: NVIDIA GeForce RTX 3080 Ti Driver Version: 570.133.07 OS: Arch Linux / CachyOS Kernel: 6.14.1-2-cachyos #1 SMP PREEMPT_DYNAMIC I can reproduce this issue; For testing, I made a simple 1920x1080 GIF wallpaper that merely consists of 2 frames and just a couple indexed colors. After applying it to both my monitors, it took about 3-4 minutes for my 3080TI to reach 95% of memory usage (11.5GB of 12GB). I will attach the btop++ memory output, as well as the wallpaper itself. Warning: it's not pretty, but it is *pretty effective*. Created attachment 180179 [details]
3080TI, 11+ GB of VRAM used in 3-4 Minutes
3080TI, 11+ GB of VRAM used in 3-4 Minutes - btop++ output
Created attachment 180180 [details]
2-frame 1920x1080 GIF Wallpaper for testing
2-frame 1920x1080 GIF Wallpaper for testing, created in GIMP, small indexed color palette. Efficient at filling the VRAM up in minutes.
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! (In reply to Ambrosia from comment #21) Thanks for the wallpaper for testing. Using this wallpaper, I was not able to reproduce the memory leak on two systems, on git-master - One has an integrated AMD GPU - The other has a discrete NVIDIA GPU and integrated Intel, using the proprietary NVIDIA drivers - I added the wallpaper to two external displays I'll leave this open so more experienced contributors can investigate further and try to narrow down the root cause (In reply to Ambrosia from comment #21) This wallpaper and any other gif wallpaper still causes a memory leak for me on proprietary NVIDIA drivers (575.64.04) on a discrete GPU. It's still likely a driver bug, but I'll leave this open on the off chance there's something we can do about it. Ultimately though NVIDIA should be investigating it. There in an issue that is fixed in Qt 6.10 (https://invent.kde.org/qt/qt/qtdeclarative/-/commit/8c54efe9fb007701eff6c5caad3c4ee54c714dc5) This would have affected nvidia only as we force non-threaded rendering there. |