Krunner Takes Too Long at Every Initial Search

Every system search I use (application launcher, the new overview and krunner itself) seems to be sufering from the same problem: whenever I start typing in the search bar it takes a rather long time (about 5 seconds) to initalize, after that adding more characters to the search runs smoothly, however such “smoothness” resets every time I re-open the application, so every time I try to search in plasma overview it gets stuck for a few seconds.

I’ve tried running krunner -d to run it as a daemon, wich seems to work but only for about 5 minutes, until it goes back to status quo
Has anyone experienced this and/or knows of a way to fix it?

System:
  Kernel: 5.19.13-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.19-x86_64
    root=UUID=45c4647f-cf0d-4650-8365-24ed42d1dcae rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: AB350M-DS3H V2 v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: AB350M-DS3H V2-CF serial: <superuser required>
    UEFI: American Megatrends LLC. v: F52f date: 04/28/2022
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 13.57 GiB used: 4.03 GiB (29.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 3 PRO 2200G with Radeon Vega Graphics bits: 64
    type: MCP arch: Zen level: v3 built: 2017-19 process: GF 14nm
    family: 0x17 (23) model-id: 0x11 (17) stepping: 0 microcode: 0x8101016
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 384 KiB
    desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 2374 high: 3208 min/max: 1600/3825 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1600 2: 3208
    3: 1600 4: 3091 bogomips: 30553
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb
    cpuid cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c
    flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf
    lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe msr mtrr
    mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdrand rdseed rdtscp rep_good
    sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 succor svm svm_lock syscall tce topoext tsc tsc_scale
    v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave xsavec
    xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT disabled
  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, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Gigabyte driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1,
    DP-2, DP-3, DVI-D-1, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series]
    vendor: Gigabyte driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-2 empty: DVI-D-2 bus-ID: 08:00.0 chip-ID: 1002:15dd
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-2 mapped: HDMI-A-1 model: LG (GoldStar) 2D FHD TV
    serial: <filter> built: 2013 res: 1920x1080 hz: 60 dpi: 96 gamma: 1.2
    size: 509x286mm (20.04x11.26") diag: 584mm (23") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD Radeon Vega 8 Graphics (raven LLVM 14.0.6 DRM 3.47
    5.19.13-1-MANJARO) v: 4.6 Mesa 22.1.7 direct render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: Gigabyte driver: snd_hda_intel bus-ID: 3-2:2 v: kernel pcie:
    chip-ID: 8086:0808 gen: 1 class-ID: 0300 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 08:00.1
    chip-ID: 1002:15de class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 08:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Intel USB PnP Sound Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.19.13-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.21 running: no
  Sound Server-4: PulseAudio v: 16.1 running: yes
  Sound Server-5: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8168 v: 8.050.03-NAPI modules: r8169 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp6s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-7:4
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.16 TiB used: 549.55 GiB (46.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lexar model: 500GB SSD
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: T0709E0L temp: 46.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD6400BPVT-60HXZT1 size: 596.17 GiB block-size: physical: 4096 B
    logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A01 scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37120G
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: B1E1 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Cruzer Blade
    size: 14.32 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%) used: 212.66 GiB
    (46.5%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: ManjaroNVME
    uuid: 45c4647f-cf0d-4650-8365-24ed42d1dcae
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 292 KiB
    (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: NO_LABEL
    uuid: 6B35-87A8
  ID-3: /mnt/Linux600Gb raw-size: 596.17 GiB size: 585.74 GiB (98.25%)
    used: 336.89 GiB (57.5%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
    label: Linux600Gb uuid: 5fa1f7a0-0935-486a-838d-0823f022a3e3
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 100 MiB fs: vfat label: N/A
    uuid: 0E50-D7EC
  ID-2: /dev/sdb2 maj-min: 8:18 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/sdb3 maj-min: 8:19 size: 111.18 GiB fs: ntfs label: N/A
    uuid: D8A651B9A6519938
  ID-4: /dev/sdb4 maj-min: 8:20 size: 508 MiB fs: ntfs label: N/A
    uuid: C610687E106876F9
  ID-5: /dev/sdc1 maj-min: 8:33 size: 14.29 GiB fs: exfat label: Ventoy
    uuid: 42A3-96E4
  ID-6: /dev/sdc2 maj-min: 8:34 size: 32 MiB fs: vfat label: VTOYEFI
    uuid: 5A89-BA75
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Logitech G102/G203 LIGHTSYNC Gaming Mouse
    type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 300mA chip-ID: 046d:c092 class-ID: 0300
    serial: <filter>
  Device-2: 1-6:3 info: BY Tech Gaming Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: 258a:0049 class-ID: 0300
  Device-3: 1-7:4 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-4: 1-9:5 info: SanDisk Cruzer Blade type: Mass Storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 200mA
    chip-ID: 0781:5567 class-ID: 0806 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-2:2 info: Intel USB PnP Sound Device type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 8086:0808 class-ID: 0300
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 6-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 38.8 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: amdgpu temp: 35.0 C fan: 122 watts: 5.22 device: amdgpu
    temp: 38.0 C
Info:
  Processes: 288 Uptime: 38m wakeups: 0 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 11
  clang: 14.0.6 Packages: 2244 pm: dpkg pkgs: 0 pm: pacman pkgs: 2225
  libs: 503 tools: pamac,yay pm: flatpak pkgs: 7 pm: snap pkgs: 12 Shell: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.21

Hi @homemmakako, have you tried to clear history for KRunner in ‘Configure KRunner’?
That’s the first thing that comes up in my mind to do in such case.
You may also try to disable KRunner plugins temporarily and see if it changes the behavior.

1 Like

Sorry for the late response; since the behavior was kinda inconsistent it was quite time consuming to test. Apparently the long times was due to the option of indexing file contents (Baloo), however, even after disabling the content indexing I didn’t get any improvements (even after a restart). I had to fully disable baloo’s file search, restart the system and re-enable it without content indexing.

It makes sense that searching trough file contents would take a long time, but it being synchronous still feels like a bug (maybe?).

Either way, that is what fixed the problem.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.