CPU temperature jump on ideal/sleep

Hello, i have been noticing this for 3 days now

on ideal state(when i don’t use the pc at all) or in sleep mode
the CPU temperature is going so high like its being used/utilized by 100% and when i quickly open the system monitor i don’t see anything all i see is some processes that utilize the CPU between 0.4% ~ 0.8%

but the usage is around 80% on the overview tab/page in system monitor and then the usage go down until the normal usage which is between 1% ~ 5%
and when i use the pc for example just browsing or watching youtube i don’t see this behavior even when i do my work the cpu usage is around 12%

now what i can do to debug this ?
idk yet if is it because the new linux update or there’s actually a real issue and the system monitor can not find it

Thank you in advance…

alright, this is the output of the following command:

inxi --admin --verbosity=7 --filter --width

Output:

System:
  Kernel: 5.15.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=bf6b067f-85db-4033-bbbe-4d0086060e25 rw quiet apparmor=1
    security=apparmor resume=UUID=1e8757aa-37d0-43a5-bf60-b5d65829fe1e
    udev.log_priority=3 amd_iommu=on iommu=pt
  Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MEG X570 UNIFY (MS-7C35) v: 2.0
    serial: <superuser required> UEFI: American Megatrends v: A.50
    date: 08/07/2020
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 31.27 GiB used: 6.72 GiB (21.5%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 9 3900XT bits: 64 type: MT MCP arch: Zen 2
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 4x16 MiB
  Speed (MHz): avg: 2573 high: 4191 min/max: 2200/4776 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2424 2: 2200
    3: 2137 4: 4174 5: 2057 6: 2269 7: 2071 8: 2764 9: 2122 10: 2200 11: 2056
    12: 4190 13: 3349 14: 2229 15: 2188 16: 2693 17: 2072 18: 4191 19: 2065
    20: 2956 21: 2107 22: 2157 23: 2105 24: 2983 bogomips: 182493
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba 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 rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme smep ssbd sse
    sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme
    vmmcall wbnoinvd 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: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
    conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: Micro-Star MSI
    driver: nvidia v: 495.46 alternate: nouveau,nvidia_drm bus-ID: 2d:00.0
    chip-ID: 10de:1e84 class-ID: 0300
  Display: x11 server: X.org 1.21.1.3 compositor: kwin_x11 driver:
    loaded: nvidia resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA TU104 HD Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel bus-ID: 2d:00.1 chip-ID: 10de:10f8 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 2f:00.4 chip-ID: 1022:1487
    class-ID: 0403
  Device-3: Kingston HyperX Cloud II Wireless type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 7-2:2 chip-ID: 0951:1718
    class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k5.15.16-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.43 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel port: f000 bus-ID: 27:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: enp39s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 28:00.0
    chip-ID: 8086:2723 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: virbr0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    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.82 TiB used: 59.42 GiB (3.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 37.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Western Digital
    model: WD My Passport 2626 size: 931.48 GiB block-size: physical: 512 B
    logical: 512 B type: N/A serial: <filter> rev: 1028 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 896.72 GiB size: 881.57 GiB (98.31%)
    used: 59.42 GiB (6.7%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: bf6b067f-85db-4033-bbbe-4d0086060e25
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
    uuid: BB03-2695
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 34.47 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3 label: swap
    uuid: 1e8757aa-37d0-43a5-bf60-b5d65829fe1e
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: N/A
    uuid: 0CBA-A416
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 930.9 GiB fs: ntfs label: N/A
    uuid: 5614BB4514BB2741
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 505 MiB fs: ntfs label: N/A
    uuid: E4E2C80FE2C7E440
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2
    info: Corsair CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard
    type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 500mA chip-ID: 1b1c:1b49 class-ID: 0300
    serial: <filter>
  Device-2: 1-4:3 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-3: 1-5:4 info: Kingston HyperX Pulsefire Surge
    type: Mouse,Keyboard,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s power: 200mA chip-ID: 0951:16d3 class-ID: 0300
  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: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-5:2 info: Micro Star MYSTIC LIGHT type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 500mA chip-ID: 1462:7c35 class-ID: 0300 serial: <filter>
  Hub-4: 3-6:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 3-6.1:4 info: NZXT Smart Device V2 type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 1e71:2006 class-ID: 0300 serial: <filter>
  Device-2: 3-6.4:5 info: NZXT USB Device type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 1e71:2007 class-ID: 0300 serial: <filter>
  Hub-5: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-7: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-8: 7-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: 7-2:2 info: Kingston HyperX Cloud II Wireless type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 0951:1718 class-ID: 0300
    serial: <filter>
  Hub-9: 8-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 8-3:2 info: Western Digital My Passport (WDBPKJ)
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.1 speed: 5 Gb/s
    power: 896mA chip-ID: 1058:2626 class-ID: 0806 serial: <filter>
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 36 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 445 Uptime: 44m wakeups: 0 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1356 pacman: 1343 lib: 377
  flatpak: 0 snap: 13 Shell: Zsh v: 5.8 running-in: konsole inxi: 3.3.12

Use htop to see what’s causing the spikes. System monitor doesn’t always show all processes.

yeah i used this and i found a process called baloo_file that utilize the cpu by 100 i tried to took a screenshot but it was gone quickly,

i have searched a lot about it and i found this great documentation:
https://wiki.archlinux.org/title/Baloo

and also this thread:
https://bbs.archlinux.org/viewtopic.php?id=193169

i have run the following command:

$ balooctl failed

/home/alharbi/snap/chromium/common/chromium/ShaderCache/GPUCache/data_1
/home/alharbi/snap/chromium/common/chromium/GrShaderCache/GPUCache/index
/home/alharbi/snap/chromium/common/chromium/GrShaderCache/GPUCache/data_1

and then i removed chromium, i installed it via snap by accident i was gonna install it using the official repository

anyways, then i run the following command:

$ balooctl purge

and the issue is gone

and i now keep an eye on baloo by the following command:

$ balooctl monitor

thanks a lot …

i hope this comment help anyone who have issues with baloo_file

1 Like

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