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

Matheus Castanho <mscasta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mscasta...@gmail.com

--- Comment #68 from Matheus Castanho <mscasta...@gmail.com> ---
I also have the same issue. I'm using Fedora 41 (KDE Spin) on an Acer Nitro 5
with a discrete NVIDIA GPU. I use it with the laptop lid closed and an external
monitor plugged. This problem has been bugging me for a few weeks now, multiple
times a day. I have a system with 32GB of RAM that gets completely taken by
kwin_wayland after some time.

The workaround of unplugging the HDMI cable and plugging again seems to work.
After I plug the cable again the RAM usage drops by 10-15 GB at once.

I noticed a lot of memory seems to be allocated by the NVIDIA driver somehow. I
ran 'sudo pmap -x $(pidof kwin_wayland)' immediately before and after doing the
workaround above. When I compared both outputs, there were many (> 5000) memory
mappings labelled 'nvidiactl' that vanished after I plugged the cable back
again.

$ diff -W 200 --color=always -y ./kwin_wayland.pmap.before_unplug_plug.txt
./kwin_wayland.pmap.after_unplug_plug.txt | grep '<' | awk '{ print $6 }' |
sort | uniq -c
      5 [
      3 card0
      1 card1
      3 memfd:gdk-wayland
      4 memfd:wayland-shm
   5247 nvidiactl

I'll be happy to provide more information about my system or run any more
debugging commands to help diagnosing the problem if needed.

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

Reply via email to