KDE keeps freezing

Whenever I use KDE and put some load on it it just slows down/freezes. I have to force power off my computer and turn it on to get back on it. I am one running with 4GB of RAM so I thought it could be swap. In the installer I did enable the option for swap but the issue is still happening.

Firstly, you should never force power off. You should setup sysrq key before you do anything else at all. > [Tip] Enable Magic SysRq Key (REISUB)

Secondly what’s the output of your journal from the last boot? (assuming the last boot was when it froze)

2 Likes

Thanks for the reply. How do I get that? Beginner here.

https://wiki.archlinux.org/title/Systemd/Journal#Filtering_output

And even more Endeavour specific:

https://discovery.endeavouros.com/forum-log-tool-options/how-to-include-systemlogs-in-your-post/2021/03/

I’ll reproduce this problem now and get it to freeze.

Here is the journalctl log

Aug 29 15:29:12 araheem-desktop kernel: microcode: microcode updated early to revision 0x21, date = 2019-02-13
Aug 29 15:29:12 araheem-desktop kernel: Linux version 5.19.4-arch1-1 (linux@archlinux) (gcc (GCC) 12.2.0, GNU>
Aug 29 15:29:12 araheem-desktop kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=dfae3071-4512->
Aug 29 15:29:12 araheem-desktop kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point register>
Aug 29 15:29:12 araheem-desktop kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Aug 29 15:29:12 araheem-desktop kernel: x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, usin>
Aug 29 15:29:12 araheem-desktop kernel: signal: max sigframe size: 1520
Aug 29 15:29:12 araheem-desktop kernel: BIOS-provided physical RAM map:
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000087fff] usable
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000000088000-0x00000000000bffff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000020200000-0x0000000040003fff] usable
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000040004000-0x0000000040004fff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x0000000040005000-0x00000000a0baffff] usable
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000a0bb0000-0x00000000a13affff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000a13b0000-0x00000000a9dbefff] usable
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000a9dbf000-0x00000000aa1befff] type 20
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000aa1bf000-0x00000000aaebefff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000aaebf000-0x00000000aafbefff] ACPI NVS
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000aafbf000-0x00000000aaffefff] ACPI data
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000aafff000-0x00000000aaffffff] usable
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000ab000000-0x00000000af9fffff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000feb00000-0x00000000feb03fff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Aug 29 15:29:12 araheem-desktop kernel: BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved

It would be more helpful if you provide some hardware info also.

inxi -Faz | eos-sendlog
1 Like

Are you on BTRFS or EXT4?

I am using EXT4

CPU: dual core Intel Celeron 1017U (-MCP-) speed/min/max: 798/800/1600 MHz
Kernel: 5.19.4-arch1-1 x86_64 Up: 5m Mem: 917.5/3804.9 MiB (24.1%)
Storage: 465.76 GiB (1.6% used) Procs: 138 Shell: Bash inxi: 3.3.20
[araheem@araheem-desktop ~]$ inxi -Faz
System:
  Kernel: 5.19.4-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=dfae3071-4512-415c-b066-f04bbd44a48b rw loglevel=3 nowatchdog
    nvme_load=YES
  Desktop: KDE Plasma v: 5.25.4 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Arch Linux
Machine:
  Type: Portable System: Dell product: Inspiron 3521 v: A16
    serial: <superuser required> Chassis: type: 8 v: A16
    serial: <superuser required>
  Mobo: Dell model: 0X2H5X v: A00 serial: <superuser required> UEFI: Dell
    v: A16 date: 05/24/2018
Battery:
  ID-1: BAT1 charge: 8.6 Wh (34.7%) condition: 24.8/41.4 Wh (59.9%)
    volts: 14.5 min: 14.8 model: SDI DELL XRDW238S type: Unknown
    serial: <filter> status: discharging
CPU:
  Info: model: Intel Celeron 1017U bits: 64 type: MCP arch: Ivy Bridge
    built: 2012-15 process: Intel 22nm family: 6 model-id: 0x3A (58)
    stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 2 MiB
    desc: 1x2 MiB
  Speed (MHz): avg: 798 min/max: 800/1600 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 798 2: 798 bogomips: 6388
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915
    v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports:
    active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0156 class-ID: 0300
  Device-2: Realtek Integrated Webcam HD type: USB driver: uvcvideo
    bus-ID: 1-1.4:5 chip-ID: 0bda:58c2 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,intel,vesa gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: LVDS-1 model: LG Display 0x03ab built: 2012 res: 1366x768
    hz: 60 dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
  OpenGL: renderer: Mesa Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa
    22.1.7 direct render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
    class-ID: 0403
  Sound Server-1: ALSA v: k5.19.4-arch1-1 running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000
    bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
    vendor: Dell driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 168c:0036 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros AR9462 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-1.1:6 chip-ID: 0cf3:0036 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 465.76 GiB used: 7.45 GiB (1.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000LPCX-24C6HT0 size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A02 scheme: GPT
Partition:
  ID-1: / raw-size: 232.57 GiB size: 227.87 GiB (97.98%) used: 7.43 GiB
    (3.3%) fs: ext4 dev: /dev/sda5 maj-min: 8:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.3 MiB
    (26.3%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 147 Uptime: 7m wakeups: 1 Memory: 3.72 GiB used: 1.82 GiB
  (49.0%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 Packages: pacman: 859 lib: 215 Shell: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.20

thanks I’ve done that now

It is a weak processor, perhaps the problem?

I would create a swap file if you don’t have swap? Your post said you did enable the option for swap?

Can you show the output from this command?

swapon --show

Edit: As @xircon said it’s only a dual core processor. You may find KDE is just too much for it and you might be better off with Xfce.

NAME      TYPE SIZE USED PRIO
/swapfile file   6G 1.1G   -2

I think kde is just more than your cpu can handle only being a dual core processor. You may want to try Xfce at some point.