Xorg process drain cpu

I have new laptop Lenovo Legion 5 PRO (nvidia 3070) and fresh Manjaro install.

Xorg process drain cpu and I don’t know why. Can anyone help me?

provide system info:
inxi -Faz
use formatting, click this icon in editor: </> and copy the output there

1 Like
  Kernel: 5.15.76-1-MANJARO arch: x86_64 bits: 64
    compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=1c8a3c8a-7cfe-47a9-b1c7-974f4264b49c rw
    quiet udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.2 tk: Qt v: 5.15.6
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux
    base: Arch Linux
  Type: Laptop System: LENOVO product: 82RF
    v: Legion 5 Pro 16IAH7H serial: <superuser required>
    Chassis: type: 10 v: Legion 5 Pro 16IAH7H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK
    serial: <superuser required> UEFI: LENOVO v: J2CN45WW
    date: 08/26/2022
  ID-1: BAT0 charge: 72.4 Wh (86.0%)
    condition: 84.2/80.0 Wh (105.3%) volts: 17.1 min: 15.4
    model: Celxpert L21C4PC1 type: Li-poly
    serial: <filter> status: charging cycles: 1
  Info: model: 12th Gen Intel Core i7-12700H bits: 64
    type: MST AMCP arch: Alder Lake gen: core 12 level: v3
    note: check built: 2021+ process: Intel 7 (10nm ESF)
    family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x421
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8
    threads: 20 smt: enabled cache: L1: 1.2 MiB
    desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB
    desc: 1x24 MiB
  Speed (MHz): avg: 462 high: 1006
    min/max: 400/4679:4700:3500 scaling:
    driver: intel_pstate governor: powersave cores:
    1: 1006 2: 525 3: 451 4: 466 5: 434 6: 432 7: 438
    8: 495 9: 416 10: 434 11: 449 12: 424 13: 400
    14: 400 15: 400 16: 400 17: 470 18: 400 19: 400
    20: 400 bogomips: 107560
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1
    sse4_2 ssse3 vmx
  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 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 status: Vulnerable: eIBRS with
    unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: Intel Alder Lake-P Integrated Graphics
    vendor: Lenovo driver: i915 v: kernel arch: Gen-12.2
    process: Intel 10nm built: 2021-22+ ports:
    active: eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0
    chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA104M [Geforce RTX 3070 Ti Laptop
    GPU] vendor: Lenovo driver: nvidia v: 520.56.06
    alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Ampere
    code: GAxxx process: TSMC n7 (7nm) built: 2020-22
    pcie: gen: 2 speed: 5 GT/s lanes: 8 link-max: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:24e0 class-ID: 0300
  Device-3: IMC Networks Integrated Camera type: USB
    driver: uvcvideo bus-ID: 3-6:4 chip-ID: 13d3:56bb
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4
    compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau
    alternate: fbdev,nv,vesa dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96
    s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 model: BOE Display 0x0a1f
    built: 2021 res: 2560x1600 hz: 165 dpi: 189 gamma: 1.2
    size: 344x215mm (13.54x8.46") diag: 406mm (16")
    ratio: 16:10 modes: 2560x1600
  API: OpenGL v: 4.6 Mesa 22.2.1 renderer: Mesa Intel
    Graphics (ADL GT2) direct render: Yes
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 8 link-max: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228b class-ID: 0403
  Sound API: ALSA v: k5.15.76-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
  Device-1: Intel Alder Lake-P PCH CNVi WiFi
    driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express
    Gigabit Ethernet vendor: Lenovo driver: r8169
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 34:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp52s0 state: down mac: <filter>
  Device-1: Intel type: USB driver: btusb v: 0.8
    bus-ID: 3-10:6 chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up
    address: see --recommends
  Local Storage: total: 1.86 TiB used: 18.11 GiB (0.9%)
  SMART Message: Unable to run smartctl. Root
    privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel
    model: SSDPEMKF010T8 NVMe 1024GB size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 7004 temp: 31.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: Samsung
    model: MZVL21T0HCLR-00BL2 size: 953.87 GiB block-size:
    physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: CL1QGXA7
    temp: 37.9 C scheme: GPT
  ID-1: / raw-size: 147.29 GiB size: 143.92 GiB (97.71%)
    used: 18.06 GiB (12.5%) fs: ext4 dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-2: /boot/efi raw-size: 785 MiB
    size: 176 MiB (22.42%) used: 55 MiB (31.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  Alert: No swap data was found.
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 392 Uptime: 4m wakeups: 1 Memory: 15.35 GiB
  used: 2.34 GiB (15.2%) Init: systemd v: 251
  default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 clang: 14.0.6 Packages: pm: dpkg pkgs: 0
  pm: pacman pkgs: 1290 libs: 325 tools: pamac,yay
  pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.23

I seems only it only did with external monitor.

so now its working normally, but when you connect your external monitor, it starts to drain the cpu?

It seems so.

so are you right now connected to external monitor and xorg has high cpu usage?