Hi,
After several years with KDE Neon I am trying to migrate some of my systems back to Kubuntu for longer support and greater stability ... I hoped ...
I formated the disk (as predefined by the installer) and made a fresh install. I made some global configuration choices, moved files back and also started to gradually migrate old configuration for applications to the new user as I noticed that plasma is laggy (mouse pointer movement not smooth).
I noticed that under Wayland plasma and kwin_wayland consume large and increasing amounts of memory (can become Gigabytes) before I have to restart them or do a hard reset.
Without success, I did the following trying to fix the issue:
* Roll back some custom settings that I made.
* Install newer plasma and kde from the ubuntu-backports ppa.
* Shutting down the usual suspects that have caused headaches in the past (e.g., Baloo file search, akonadi and apparmor).
* Install Xorg instead of Wayland.
* Reset the custom user plasma configuration.
* Test with an entirely new user account without files.
Now I am still stuck with the essentially same issue, can work under X, but only briefly use Dolphin.
While Wayland gets immediately laggy and soon unusable I can work under X with limitations:
Under X dolphin and kglobalaccel5 (which handles global keyboard shortcuts) apparently leak memory.
For latter it is sufficient to kill and restart it (after which it will work and not leak anymore).
However dolphin eats Gigabytes of memory and can cause the whole system to lag.
I ran heaptrack on Dolphin under X with the result:
The gui version unfortunately quits with a Segfault, so no screenshots.
If I read the terminal log correctly the leaks are here:
My system is reasonably recent with sufficient memory:
Any help appreciated!
After several years with KDE Neon I am trying to migrate some of my systems back to Kubuntu for longer support and greater stability ... I hoped ...
I formated the disk (as predefined by the installer) and made a fresh install. I made some global configuration choices, moved files back and also started to gradually migrate old configuration for applications to the new user as I noticed that plasma is laggy (mouse pointer movement not smooth).
I noticed that under Wayland plasma and kwin_wayland consume large and increasing amounts of memory (can become Gigabytes) before I have to restart them or do a hard reset.
Without success, I did the following trying to fix the issue:
* Roll back some custom settings that I made.
* Install newer plasma and kde from the ubuntu-backports ppa.
* Shutting down the usual suspects that have caused headaches in the past (e.g., Baloo file search, akonadi and apparmor).
* Install Xorg instead of Wayland.
* Reset the custom user plasma configuration.
* Test with an entirely new user account without files.
Now I am still stuck with the essentially same issue, can work under X, but only briefly use Dolphin.
While Wayland gets immediately laggy and soon unusable I can work under X with limitations:
Under X dolphin and kglobalaccel5 (which handles global keyboard shortcuts) apparently leak memory.
For latter it is sufficient to kill and restart it (after which it will work and not leak anymore).
However dolphin eats Gigabytes of memory and can cause the whole system to lag.
I ran heaptrack on Dolphin under X with the result:
Code:
total runtime: 3047.02s. calls to allocation functions: 648550909 (212847/s) temporary memory allocations: 212269633 (69664/s) peak heap memory consumption: 581.62M peak RSS (including heaptrack overhead): 862.61M total memory leaked: 549.41M suppressed leaks: 503.80K
If I read the terminal log correctly the leaks are here:
Code:
175574559 calls to allocation functions with 467.46M peak consumption from
QArrayData::allocate2(QArrayData**, long long, QArrayData::AllocationOption)
in /lib/x86_64-linux-gnu/libQt6Core.so.6
7758708 calls with 0B peak consumption from:
QString::fromLatin1(QByteArrayView)
in /lib/x86_64-linux-gnu/libQt6Core.so.6
0x72bff5e07a89
in /lib/x86_64-linux-gnu/libQt6Core.so.6
0x72bff5e02f4e
in /lib/x86_64-linux-gnu/libQt6Core.so.6
0x72bff5e0847f
in /lib/x86_64-linux-gnu/libQt6Core.so.6
QMimeType::inherits(QString const&) const
in /lib/x86_64-linux-gnu/libQt6Core.so.6
0x72bff802000e
in /lib/x86_64-linux-gnu/libKF6Service.so.6
KBuildSycoca::recreate(bool)
in /lib/x86_64-linux-gnu/libKF6Service.so.6
KSycocaPrivate::buildSycoca()
in /lib/x86_64-linux-gnu/libKF6Service.so.6
KSycocaPrivate::checkDatabase(QFlags<>)
in /lib/x86_64-linux-gnu/libKF6Service.so.6
KSycoca::ensureCacheValid()
in /lib/x86_64-linux-gnu/libKF6Service.so.6
KService::serviceByDesktopName(QString const&)
in /lib/x86_64-linux-gnu/libKF6Service.so.6
0x61c104702c62
in /usr/bin/dolphin
0x61c1047040a1
in /usr/bin/dolphin
0x72bff5be4a94
My system is reasonably recent with sufficient memory:
Code:
~> inxi -Fzxx System: Kernel: 6.17.0-6-generic arch: x86_64 bits: 64 compiler: gcc v: 15.2.0 Desktop: KDE Plasma v: 6.5.3 tk: Qt v: N/A wm: kwin_x11 dm: SDDM Distro: Kubuntu 25.10 (Questing Quokka) base: Ubuntu Machine: Type: Laptop System: TUXEDO product: TUXEDO InfinityBook S 15 Gen6 v: N/A serial: <superuser required> Chassis: type: 10 serial: <superuser required> Mobo: NB01 model: NS50MU serial: <superuser required> part-nu: IBS1506 UEFI: INSYDE v: 1.07.03RTR date: 09/07/2020 Battery: ID-1: BAT0 charge: 25.2 Wh (71.8%) condition: 35.1/73.9 Wh (47.5%) volts: 8.35 min: 7.7 model: Notebook BAT serial: <filter> charging: status: charging cycles: N/A CPU: Info: quad core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 12 MiB Speed (MHz): avg: 400 min/max: 400/4700 cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 bogomips: 44851 Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: CLEVO/KAPOK driver: i915 v: kernel arch: Xe ports: active: HDMI-A-1,eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0 chip-ID: 8086:9a49 Device-2: Chicony USB2.0 Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-7:3 chip-ID: 04f2:b6f9 Display: x11 server: X.Org v: 21.1.18 with: Xwayland v: 24.1.6 compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 4480x1440 s-dpi: 96 Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: top-left model: LG (GoldStar) HDR 4K res: 2560x1440 hz: 60 dpi: 108 diag: 690mm (27.2") Monitor-2: eDP-1 pos: primary,bottom-r model: LG Display 0x0612 res: 1920x1080 hz: 60 dpi: 142 diag: 395mm (15.5") API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.2.3-1ubuntu1 glx-v: 1.4 direct-render: yes renderer: Mesa Intel Iris Xe Graphics (TGL GT2) device-ID: 8086:9a49 API: Vulkan v: 1.4.321 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: mesa intel device-ID: 8086:9a49 device: 1 type: cpu driver: mesa llvmpipe device-ID: 10005:0000 Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,kscreen-doctor gpu: gputop, intel_gpu_top, lsgpu wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr Audio: Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a0c8 API: ALSA v: k6.17.0-6-generic status: kernel-api Server-1: PipeWire v: 1.4.7 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active Network: Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 34:00.0 chip-ID: 10ec:8168 IF: enp52s0 state: up speed: 1000 Mbps duplex: full mac: <filter> Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 35:00.0 chip-ID: 8086:2723 IF: wlp53s0 state: down mac: <filter> Bluetooth: Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-10:4 chip-ID: 8087:0029 Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: disabled rfk-block: hardware: no software: yes address: <filter> Drives: Local Storage: total: 931.51 GiB used: 695.26 GiB (74.6%) ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO M.2 1TB size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> Partition: ID-1: / size: 911.58 GiB used: 695.03 GiB (76.2%) fs: ext4 dev: /dev/dm-0 mapped: luks-96592687-b3d2-4220-b379-ecf7b063f132 ID-2: /boot size: 3.86 GiB used: 229.3 MiB (5.8%) fs: ext4 dev: /dev/sda2 ID-3: /boot/efi size: 299.4 MiB used: 8 MiB (2.7%) fs: vfat dev: /dev/sda1 Swap: ID-1: swap-1 type: file size: 16 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors: System Temperatures: cpu: 44.0 C mobo: N/A Fan Speeds (rpm): N/A Info: Memory: total: 32 GiB available: 31.14 GiB used: 6.87 GiB (22.1%) Processes: 306 Power: uptime: 37m wakeups: 0 Init: systemd v: 257 default: graphical Packages: pm: dpkg pkgs: 2944 Compilers: gcc: 15.2.0 Shell: Bash v: 5.2.37 running-in: yakuake inxi: 3.3.39