You are not logged in.

#1 2024-04-17 14:24:37

triccsr
Member
Registered: 2023-10-08
Posts: 6

[SOLVED]High resource consumption when starting konsole in KDE X11

I am using KDE Plasma 6.0.4 in X11 session.
When I launch Konsole in an X11 session, the Konsole process occupies 100% CPU and 13GB of memory (my computer only has 16GB memory), and kswapd also consumes 100% CPU. They use such a lot resource until Konsole opens.
Additionally, Konsole opens very slowly, taking about 17 seconds.
However, in a Wayland session, there is no such issue, and the time to open Konsole does not exceed 1 second.

This is the result of pacman -Qikk xdg-desktop-portal-kde:

Name            : xdg-desktop-portal-kde
Version         : 6.0.4-1
Description     : A backend implementation for xdg-desktop-portal using Qt/KF5
Architecture    : x86_64
URL             : https://kde.org/plasma-desktop/
Licenses        : LGPL-2.0-or-later
Groups          : plasma
Provides        : xdg-desktop-portal-impl
Depends On      : gcc-libs  glibc  kconfig  kcoreaddons  kglobalaccel  kiconthemes  ki18n  kio  kio-fuse  kirigami  kitemviews  knotifications  kpipewire
                  kservice  kstatusnotifieritem  kwayland  kwindowsystem  libxkbcommon  plasma-workspace  qt6-base  qt6-declarative  wayland
                  xdg-desktop-portal
Optional Deps   : None
Required By     : plasma-integration  plasma-meta
Optional For    : xdg-desktop-portal
Conflicts With  : None
Replaces        : None
Installed Size  : 1376.92 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Wed Apr 17 17:16:23 2024
Install Date    : Wed Apr 17 21:07:45 2024
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

xdg-desktop-portal-kde: 165 total files, 0 altered files

And this is the full result of journalctl -b: https://pastebin.com/G6DQuNnY

Last edited by triccsr (2024-05-02 04:38:56)

Offline

#2 2024-04-17 15:12:43

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 938
Website

Re: [SOLVED]High resource consumption when starting konsole in KDE X11

//EDIT: Seems to be a different issue, edited

Last edited by Vamp898 (2024-04-17 15:14:52)

Offline

#3 2024-04-17 15:27:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,465

Re: [SOLVED]High resource consumption when starting konsole in KDE X11

You are likely starting something huge in your bashrc or similar. Check/post the contents of that.

Offline

#4 2024-04-17 16:28:57

triccsr
Member
Registered: 2023-10-08
Posts: 6

Re: [SOLVED]High resource consumption when starting konsole in KDE X11

V1del wrote:

You are likely starting something huge in your bashrc or similar. Check/post the contents of that.

Thank you for your advice, but I don't believe my issue is caused by the case you described.
I usually use zsh. I put all my stuff in zsh configuration files, and my bash configuration files are all default.
However, after I changed the shell inside Konsole from zsh to bash , ran

chsh -s /usr/bin/bash

and rebooted my computer, the problem still persists.

Offline

#5 2024-05-02 04:43:11

triccsr
Member
Registered: 2023-10-08
Posts: 6

Re: [SOLVED]High resource consumption when starting konsole in KDE X11

I used to use Win11 icon theme. Problem solved after changing icon theme to breeze. Strange problem.

Offline

Board footer

Powered by FluxBB