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

--- Comment #85 from JPdxd <jp.mn...@gmail.com> ---
ok, for my setup, just ftr the external monitor is 1920*1080 and the rate of
increase (measured just with htop) is about 4M per second while scrolling this
page up/down fast (sometimes it is 6M but mostly it is 4M). 

Idk how to attach the outputs here, but I can tell that at least for me, this
mmap seems not being freed  in the short term (couple of minutes), not sure if
it helps anyways, weird enough, it only happens with the external monitor

22:37:54 mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED, 368, 0) =
0x7e0325000000 <0.000079>
 > /usr/lib/libc.so.6(__mmap+0x2c) [0x115d4c]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xec3b0b]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xec418d]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xec85b3]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xad3d4e]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa31158]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa32f1c]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa333b1]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa8c9cc]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa87d73]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa73d4c]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xaf87f4]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xafc2bb]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xab0f53]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xb961dc]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa457f7]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0x9fdddd]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa20f92]
 > /usr/lib/libEGL_nvidia.so.570.133.07() [0x3b561]
 > /usr/lib/libEGL_nvidia.so.570.133.07() [0x3bd67]
 > /usr/lib/libEGL_nvidia.so.570.133.07() [0x4e2cc]
 > /usr/lib/libEGL.so.1.1.0() [0x4cfd]
 > /usr/lib/libEGL.so.1.1.0(eglMakeCurrent+0x103) [0x7403]
 > /usr/lib/libkwin.so.6.3.3(KWin::EglContext::makeCurrent(void*)+0x56)
[0x2669e6]
 > /usr/lib/libkwin.so.6.3.3() [0x426074]
 > /usr/lib/libkwin.so.6.3.3() [0x426bbe]
 > /usr/lib/libkwin.so.6.3.3() [0x4270b1]
 > /usr/lib/libkwin.so.6.3.3() [0x17c2b7]
 > /usr/lib/libQt6Core.so.6.8.2() [0x1b1a49]
 > /usr/lib/libkwin.so.6.3.3() [0x1907e5]
 > /usr/lib/libkwin.so.6.3.3(KWin::RenderLoopPrivate::dispatch()+0x23)
[0x1958d3]
 > /usr/lib/libQt6Core.so.6.8.2() [0x1b1a49]
 > /usr/lib/libQt6Core.so.6.8.2(QTimer::timerEvent(QTimerEvent*)+0xa5)
[0x1baa75]
 > /usr/lib/libQt6Core.so.6.8.2(QObject::event(QEvent*)+0xe9) [0x1a2ef9]
 > /usr/lib/libQt6Widgets.so.6.8.2() [0xff0ca]
 > /usr/lib/libQt6Core.so.6.8.2() [0x155b00]
 > /usr/lib/libQt6Core.so.6.8.2(QTimerInfoList::activateTimers()+0x5df)
[0x2d5aff]
 > /usr/lib/libQt6Core.so.6.8.2() [0x2de408]
 > /usr/lib/libQt6Gui.so.6.8.2() [0x661d93]
 > /usr/lib/libQt6Core.so.6.8.2() [0x1606a6]
 > /usr/lib/libQt6Core.so.6.8.2(QCoreApplication::exec()+0xa6) [0x1591d6]
 > /usr/bin/kwin_wayland() [0x4006e]
 > /usr/lib/libc.so.6() [0x27488]
 > /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x2754c]
 > /usr/bin/kwin_wayland() [0x463d5]

--- now kwin_wayland has 8G of shared mem, so running strace caused all ui to
freeze, but fine
sudo  strace -Ttvff -o strace_free -e
trace=mmap,munmap,mremap,process,clone,memory,brk,fork  -k -p $(pidof
kwin_wayland)
strace: Process 1278 attached with 36 threads
strace: Process 36109 attached
strace: Process 36110 attached
strace: Process 36111 attached
strace: Process 36141 attached
strace: Process 36142 attached
strace: Process 36143 attached
strace: Process 36325 attached
strace: Process 36326 attached
strace: Process 36327 attached
strace: Process 36432 attached
strace: Process 36433 attached
strace: Process 36434 attached
strace: Process 36465 attached
strace: Process 36466 attached
strace: Process 36467 attached
strace: Process 36468 attached
strace: Process 36472 attached
strace: Process 36473 attached
strace: Process 36474 attached
strace: Process 36475 attached
strace: Process 36476 attached
strace: Process 36477 attached
strace: Process 36478 attached
strace: Process 36479 attached
strace: Process 36480 attached
strace: Process 36482 attached
strace: Process 36483 attached
strace: Process 36484 attached
strace: Process 36486 attached
strace: Process 36527 attached
strace: Process 36528 attached
strace: Process 36571 attached
strace: Process 36572 attached
strace: Process 36573 attached
strace: Process 36575 attached
strace: Process 36576 attached
strace: Process 36577 attached
strace: Process 36579 attached
strace: Process 36580 attached
strace: Process 36581 attached
strace: Process 36600 attached
strace: Process 36601 attached
strace: Process 36602 attached
strace: Process 36603 attached
strace: Process 36604 attached
strace: Process 36605 attached
strace: Process 36654 attached
strace: Process 36667 attached
strace: Process 36668 attached
strace: Process 36704 attached
strace: Process 36705 attached
strace: Process 36706 attached
strace: Process 36707 attached
strace: Process 36708 attached
strace: Process 36710 attached
strace: Process 36711 attached
strace: Process 36714 attached
strace: Process 36715 attached
strace: Process 36716 attached
strace: Process 36717 attached
strace: Process 36718 attached
strace: Process 36719 attached
strace: Process 36720 attached
strace: Process 36721 attached
strace: Process 36722 attached
strace: Process 36723 attached
strace: Process 36724 attached
strace: Process 36726 attached
strace: Process 36734 attached
strace: Process 36735 attached
strace: Process 36744 attached
strace: Process 36754 attached
strace: Process 36805 attached
strace: Process 36831 attached
strace: Process 36831 detached
strace: Process 36754 detached
strace: Process 36744 detached
strace: Process 36726 detached
strace: Process 36724 detached
strace: Process 36723 detached
strace: Process 36719 detached
strace: Process 36711 detached
strace: Process 36710 detached
strace: Process 36708 detached
strace: Process 36654 detached
strace: Process 36486 detached
strace: Process 36484 detached
strace: Process 36483 detached
strace: Process 36482 detached
strace: Process 36474 detached
strace: Process 36473 detached
strace: Process 36472 detached
strace: Process 36468 detached
strace: Process 36467 detached
strace: Process 36466 detached
strace: Process 36465 detached
strace: Process 36434 detached
strace: Process 36433 detached
strace: Process 36432 detached
strace: Process 36327 detached
strace: Process 21796 detached
strace: Process 21795 detached
strace: Process 1353 detached
strace: Process 1352 detached
strace: Process 1348 detached
strace: Process 1346 detached
strace: Process 1345 detached
strace: Process 1344 detached
strace: Process 1343 detached
strace: Process 1342 detached
strace: Process 1328 detached
strace: Process 1324 detached
strace: Process 1323 detached
strace: Process 1322 detached
strace: Process 1321 detached
strace: Process 1320 detached
strace: Process 1319 detached
strace: Process 1318 detached
strace: Process 1317 detached
strace: Process 1316 detached
strace: Process 1315 detached
strace: Process 1314 detached
strace: Process 1313 detached
strace: Process 1312 detached
strace: Process 1311 detached
strace: Process 1310 detached
strace: Process 1309 detached
strace: Process 1307 detached
strace: Process 1278 detached
...
and I can see lots (3960) of 
23:21:25 munmap(0x7e014a200000, 2097152) = 0 <0.000043>
 > /usr/lib/libc.so.6(__munmap+0xb) [0x11670b]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xec39c5]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xec44b3]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xad27d7]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xad2a99]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa3214b]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xa3267a]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0xab0bee]
 > /usr/lib/libnvidia-eglcore.so.570.133.07() [0x75c89b]
 > /usr/lib/libkwin.so.6.3.3() [0x424863]
 > /usr/lib/libkwin.so.6.3.3() [0x426bbe]
 > /usr/lib/libkwin.so.6.3.3() [0x42821a]
 > /usr/lib/libkwin.so.6.3.3() [0x428a36]
 > /usr/lib/libkwin.so.6.3.3() [0x428bfd]
 > /usr/lib/libkwin.so.6.3.3() [0x429517]
 > /usr/lib/libkwin.so.6.3.3() [0x41cd8b]
 > /usr/lib/libkwin.so.6.3.3() [0x4388a1]
 > /usr/lib/libkwin.so.6.3.3() [0x43967b]
 > /usr/lib/libkwin.so.6.3.3() [0x43995a]
 > /usr/lib/libkwin.so.6.3.3() [0x43ad99]
 > /usr/lib/libkwin.so.6.3.3() [0x42e5a2]
 > /usr/lib/libkwin.so.6.3.3() [0x42e17d]
 > /usr/lib/libkwin.so.6.3.3() [0x42e17d]
 > /usr/lib/libkwin.so.6.3.3() [0x42eccc]
 > /usr/lib/libkwin.so.6.3.3() [0x4324e7]
 > /usr/lib/libkwin.so.6.3.3() [0x40dc0e]
 > /usr/lib/libkwin.so.6.3.3() [0x391ea5]
 > /usr/lib/libkwin.so.6.3.3() [0x3922fb]
 > /usr/lib/libkwin.so.6.3.3() [0x392be3]
 > /usr/lib/libQt6Core.so.6.8.2() [0x1b1a49]
 > /usr/lib/libkwin.so.6.3.3(KWin::DrmBackend::updateOutputs()+0x663)
[0x40e673]
 > /usr/lib/libkwin.so.6.3.3(KWin::DrmBackend::handleUdevEvent()+0x3e4)
[0x410594]
 > /usr/lib/libQt6Core.so.6.8.2() [0x1b1a49]
 > /usr/lib/libQt6Core.so.6.8.2(QSocketNotifier::event(QEvent*)+0x488)
[0x1bbf08]
 > /usr/lib/libQt6Widgets.so.6.8.2() [0xff0ca]
 > /usr/lib/libQt6Core.so.6.8.2() [0x155b00]
 > /usr/lib/libQt6Core.so.6.8.2() [0x2d70d8]
 > /usr/lib/libQt6Core.so.6.8.2() [0x2de712]
 > /usr/lib/libQt6Gui.so.6.8.2() [0x661d93]
 > /usr/lib/libQt6Core.so.6.8.2() [0x1606a6]
 > /usr/lib/libQt6Core.so.6.8.2(QCoreApplication::exec()+0xa6) [0x1591d6]
 > /usr/bin/kwin_wayland() [0x4006e]
 > /usr/lib/libc.so.6() [0x27488]
 > /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x2754c]
 > /usr/bin/kwin_wayland() [0x463d5]


Not sure if it helps or if anyone need additional info, happy to help

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

Reply via email to