Wayland utilising large amounts of CPU usage

My CPU is reaching 70% usage whilst idle. I looked at HTOP and wayland appears to be using up to 50% of that.

Does anyone have any suggestions as to what may have caused this and how to fix it? this wasn’t an issue a couple of weeks ago.

Can you post some hardware info inxi -Fza ?

2 Likes

Yes, sorry. wasnt really sure what logs would be helpful in this situation, but let me know if there are any others I should be providing

System:
  Kernel: 6.9.12-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
    root=UUID=3dbd5efc-d3d1-4379-a733-f0c1a89e6059 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.5.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX B360-F GAMING v: Rev 1.xx
    serial: <superuser required> part-nu: ASUS_MB_CNL uuid: <superuser required>
    UEFI: American Megatrends v: 0904 date: 09/14/2018
CPU:
  Info: model: Intel Core i3-8350K bits: 64 type: MCP arch: Coffee Lake
    gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xB (11) microcode: 0xF6
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 800/4000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 32013
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  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 mitigation: Clear CPU buffers; SMT disabled
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow 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: IBRS; IBPB: conditional; STIBP: disabled;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] driver: nvidia v: 550.107.02
    alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of
    2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 2 link-max: lanes: 16
    ports: active: none off: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1
    bus-ID: 01:00.0 chip-ID: 10de:1b81 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: N/A failed: nvidia gpu: nvidia
    display-ID: 0
  Monitor-1: HDMI-A-1 res: 2752x1152 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast surfaceless: drv: nvidia wayland: drv: swrast x11: drv: swrast
    inactive: gbm,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.1.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: llvmpipe (LLVM 18.1.8 256 bits)
    device-ID: ffffffff:ffffffff memory: 30.53 GiB unified: yes
    display-ID: :1.0
  API: Vulkan v: 1.3.279 layers: 1 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1070 driver: nvidia v: 550.107.02
    device-ID: 10de:1b81 surfaces: xcb,xlib,wayland
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 2 link-max: lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f0 class-ID: 0403
  API: ALSA v: k6.9.12-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.2 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: br-1494bb5b81e2 state: down mac: <filter>
  IF-ID-2: br-50b69e2fbee8 state: down mac: <filter>
  IF-ID-3: br-81b83e4653ad state: down mac: <filter>
  IF-ID-4: br-96f2b79ea0e8 state: down mac: <filter>
  IF-ID-5: br-c9e28a90d36f state: down mac: <filter>
  IF-ID-6: docker0 state: down mac: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd
Drives:
  Local Storage: total: 22.74 TiB used: 10.91 TiB (48.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T2B0C-00PXH0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 211070WD temp: 38.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST22000NT001-3LS101
    size: 20.01 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: EN01
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD20EURX-63T0FY0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 0A80
Partition:
  ID-1: / raw-size: 833.56 GiB size: 819.4 GiB (98.30%)
    used: 232.31 GiB (28.4%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 25.9 MiB (8.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 38.2 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.26 GiB used: 6.11 GiB (19.5%)
  Processes: 218 Power: uptime: 4h 58m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.48 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1240 libs: 346 tools: pamac pm: flatpak pkgs: 0
    Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9 default: Bash v: 5.2.32
    running-in: konsole inxi: 3.3.35

This is not a very powerful processcor.

Its an i3-8350K 4 cores 4ghz. Its a couple years old and its not the top of the range but I wouldnt say its that poor performance wise? This also hasnt been an issue until a couple days ago, so im not sure its a hardware issue

same here, i hope it fix it in 6.1

This is an EOL kernel, install&switch to another one and remove it after rebooting.

2 Likes

I switched to 6.6.46-1 and it seems to be working alot better, Thanks

1 Like

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