FPS Fluctuation Issue on KDE Desktop with NVIDIA GPU

Why does the desktop FPS drop significantly when using an NVIDIA graphics card compared to the AMD integrated graphics?

As mentioned, my laptop has hybrid graphics, with an NVIDIA 4060 GPU and an AMD 8845 CPU with integrated graphics. The system I am using is manjaro(unstable) with a KDE desktop on Wayland. The NVIDIA graphics driver is the latest version, 560. The refresh rate of the laptop’s built-in screen is 240Hz.

Clearly, the performance of the NVIDIA 4060 graphics card far exceeds that of the AMD integrated graphics. However, I am encountering the opposite situation on the KDE desktop.

When I disable the AMD integrated graphics and use only the NVIDIA card for the entire Linux system, the FPS on the KDE desktop drops significantly. Specifically, when the desktop is idle (e.g., no mouse movement for 5 seconds), the KDE desktop only runs at 120 FPS, roughly half of the maximum refresh rate. When I open a program, the desktop animations during program launch only reach around 210-220 FPS, far from the screen’s maximum refresh rate. Additionally, even before the animations finish, the FPS suddenly drops to around 160 FPS, giving the impression that opening a program is stuttering.

However, if I enable the integrated graphics for the Linux system, whether using both the AMD integrated graphics and the NVIDIA card simultaneously, or just enabling the AMD integrated graphics and disabling the NVIDIA card, this issue disappears. At the very least, there is no significant FPS fluctuation. Moreover, when the KDE desktop is idle for 5 seconds, the FPS stays at 240Hz.

What could be causing this problem? How can I resolve it?

Please provide some system information:

inxi --admin --verbosity=8 --filter --no-host --width
$ inxi --admin --verbosity=8 --filter --no-host --width

System:
  Kernel: 6.11.2-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=46731c0c-15da-451b-a25b-a0a6439e3a7b rw nowatchdog nvme_load=YES
    loglevel=3 nvidia-drm.modeset=1 nvidia_drm.fbdev=1
    nvidia.NVreg_EnableGpuFirmware=0
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A info: frameworks v: 6.6.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: MECHREVO product: Yilong15Pro Series GM5HG0A v: Standard
    serial: <superuser required>
  Mobo: MECHREVO model: GM5HG0A v: Standard serial: <superuser required>
    part-nu: 0001 uuid: <superuser required> UEFI: American Megatrends LLC.
    v: N.1.08MRO15 date: 07/30/2024
Battery:
  ID-1: BAT0 charge: 80.1 Wh (100.0%) condition: 80.1/80.1 Wh (100.0%)
    volts: 17.1 min: 15.4 model: standard type: Li-ion serial: <filter>
    status: full
Memory:
  System RAM: total: 32 GiB available: 30.64 GiB used: 2.16 GiB (7.0%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 5600 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Crucial
    part-no: CT16G56C46S5.M8D1 serial: <filter>
  Device-2: Channel-B DIMM 0 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 5600 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Crucial
    part-no: CT16G56C46S5.M8D1 serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 8845H w/ Radeon 780M Graphics bits: 64 type: MT MCP
    arch: Zen 4 gen: 4 level: v4 note: check built: 2022+ process: TSMC n5 (5nm)
    family: 0x19 (25) model-id: 0x75 (117) stepping: 2 microcode: 0xA705203
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
    desc: 8x1024 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 400 min/max: 400/5137 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400 bogomips: 121420
  Flags: 3dnowprefetch abm adx aes amd_lbr_v2 aperfmperf apic arat avx avx2
    avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq
    avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl 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 erms extapic
    extd_apicid f16c flush_l1d flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt
    gfni ht hw_pstate ibpb ibrs ibrs_enhanced ibs invpcid irperf lahf_lm lbrv
    lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx
    nonstop_tsc nopl npt nrip_save nx ospke osvw overflow_recov pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    perfmon_v2 pfthreshold pge pku pni popcnt pse pse36 rapl rdpid rdpru
    rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd
    sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip user_shstk v_spec_ctrl v_vmsave_vmload vaes
    vgif vmcb_clean vme vmmcall vnmi vpclmulqdq wbnoinvd wdt x2apic x2avic
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  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: Enhanced / Automatic IBRS; IBPB: conditional;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
    vendor: AIstone Global driver: nvidia v: 560.35.03
    alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-09) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 8
    ports: active: none off: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:28a0 class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Phoenix3 vendor: AIstone Global
    driver: amdgpu v: kernel arch: RDNA-3 code: Phoenix process: TSMC n4 (4nm)
    built: 2023+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-2, DP-3, DP-4, DP-5, DP-6, Writeback-1, eDP-2 bus-ID: 06:00.0
    chip-ID: 1002:1900 class-ID: 0300 temp: 52.0 C
  Device-3: SunplusIT HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:4 chip-ID: 2b7e:b651
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting alternate: fbdev,nouveau,nv,vesa dri: radeonsi
    gpu: nvidia,amdgpu display-ID: 0
  Monitor-1: eDP-1 res: 1280x800 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4060 Laptop
    GPU/PCIe/SSE2 memory: 7.81 GiB display-ID: :1.0
  API: Vulkan v: 1.3.295 layers: 1 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4060 Laptop GPU driver: nvidia v: 560.35.03
    device-ID: 10de:28a0 surfaces: xcb,xlib,wayland
Audio:
  Device-1: NVIDIA AD107 High Definition Audio vendor: AIstone Global
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
    bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: AIstone Global driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:1640
    class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: AIstone Global driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x,
    snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci,
    snd_rpl_pci_acp6x, snd_sof_amd_renoir, snd_sof_amd_rembrandt,
    snd_sof_amd_vangogh, snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
    vendor: AIstone Global driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.11.2-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: AIstone Global driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7922 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:5 chip-ID: 13d3:3585
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 48.91 GiB (5.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Hynix model: YMTC PC411-1024GB-B
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: YM3603B0 temp: 36.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 29.71 GiB size: 29.61 GiB (99.67%) used: 9.79 GiB (33.1%)
    fs: xfs dev: /dev/nvme0n1p9 maj-min: 259:9 label: N/A
    uuid: 46731c0c-15da-451b-a25b-a0a6439e3a7b
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 300 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p8 maj-min: 259:8 label: N/A
    uuid: D1D0-D285
  ID-3: /run/media/wux/b88c8036-2134-4244-9b28-5e59f87d0a01 raw-size: 400 GiB
    size: 399.8 GiB (99.95%) used: 39.12 GiB (9.8%) fs: xfs dev: /dev/nvme0n1p7
    maj-min: 259:7 label: N/A uuid: b88c8036-2134-4244-9b28-5e59f87d0a01
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: N/A
    uuid: DE86-EC07
  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: 200.01 GiB fs: ntfs label: N/A
    uuid: D89E88439E881BDE
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 226.49 GiB fs: ntfs label: N/A
    uuid: C69888B59888A611
  ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 900 MiB fs: ntfs label: N/A
    uuid: 86D68967D6895877
  ID-6: /dev/nvme0n1p6 maj-min: 259:6 size: 300 MiB fs: vfat label: N/A
    uuid: 8E12-8733
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-1:2 info: Telink G3M PRO type: mouse driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 400mA chip-ID: 320f:706e class-ID: 0301
  Device-2: 1-2:3 info: CX 2.4G Wireless Receiver type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 3554:fa09 class-ID: 0301
  Device-3: 1-3:4 info: SunplusIT HD Webcam type: video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 2b7e:b651 class-ID: 0e02 serial: <filter>
  Device-4: 1-5:5 info: IMC Networks Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 13d3:3585 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 3-1:2 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 05e3:0608 class-ID: 0900
  Hub-5: 4-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-6: 5-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-7: 6-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-9: 7-1:2 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 05e3:0610
    class-ID: 0900
  Hub-10: 8-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-11: 8-1:2 info: Genesys Logic GL3523 Hub ports: 4 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 05e3:0620
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 60.5 C mobo: 54.5 C gpu: amdgpu temp: 53.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 992 libs: 239 tools: yay
  Active pacman repo servers in: /etc/pacman.d/endeavouros-mirrorlist
    1: https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
    2: https://mirror.funami.tech/endeavouros/repo/$repo/$arch
    3: https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch
    4: https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch
    5: https://www.miraa.jp/endeavouros/repo/$repo/$arch
    6: https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch
    7: https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch
    8: https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
    9: https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch
    10: https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
    11: https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch
    12: https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch
    13: https://mirror.rznet.fr/endeavouros/repo/$repo/$arch
    14: https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch
    15: https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch
    16: https://mirror.moson.org/endeavouros/repo/$repo/$arch
    17: https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch
    18: https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch
    19: https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch
    20: https://mirror.albony.xyz/endeavouros/repo/$repo/$arch
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: http://sg.mirrors.cicku.me/archlinux/$repo/os/$arch
    2: http://arch.niranjan.co/$repo/os/$arch
    3: http://mirror.xeonbd.com/archlinux/$repo/os/$arch
    4: http://mirror.xtom.com.hk/archlinux/$repo/os/$arch
    5: https://mirror.cyberbits.asia/archlinux/$repo/os/$arch
    6: https://mirror.funami.tech/arch/$repo/os/$arch
    7: http://jp.mirrors.cicku.me/archlinux/$repo/os/$arch
    8: http://ch.mirrors.cicku.me/archlinux/$repo/os/$arch
    9: https://sg.mirrors.cicku.me/archlinux/$repo/os/$arch
    10: http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
    11: https://sydney.mirror.pkgbuild.com/$repo/os/$arch
    12: http://at.mirrors.cicku.me/archlinux/$repo/os/$arch
    13: http://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch
    14: http://ca.mirrors.cicku.me/archlinux/$repo/os/$arch
    15: http://nl.mirrors.cicku.me/archlinux/$repo/os/$arch
    16: http://mirror.twds.com.tw/archlinux/$repo/os/$arch
    17: https://it.mirrors.cicku.me/archlinux/$repo/os/$arch
    18: http://it.mirrors.cicku.me/archlinux/$repo/os/$arch
    19: http://gsl-syd.mm.fcix.net/archlinux/$repo/os/$arch
    20: https://mirror.twds.com.tw/archlinux/$repo/os/$arch
    21: http://mirror.funami.tech/arch/$repo/os/$arch
    22: https://mirror.xtom.com.hk/archlinux/$repo/os/$arch
    23: https://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch
    24: https://nl.mirrors.cicku.me/archlinux/$repo/os/$arch
    25: http://arch.jensgutermuth.de/$repo/os/$arch
    26: https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch
    27: https://arch.yhtez.xyz/$repo/os/$arch
    28: http://al.arch.niranjan.co/$repo/os/$arch
    29: http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
    30: https://jp.mirrors.cicku.me/archlinux/$repo/os/$arch
    31: http://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch
    32: https://mirrors.dotsrc.org/archlinux/$repo/os/$arch
    33: http://ru.mirrors.cicku.me/archlinux/$repo/os/$arch
    34: http://es.mirrors.cicku.me/archlinux/$repo/os/$arch
    35: http://mirror.sahil.world/archlinux/$repo/os/$arch
    36: http://de.arch.niranjan.co/$repo/os/$arch
    37: https://europe.mirror.pkgbuild.com/$repo/os/$arch
    38: https://arch.mirror.zachlge.org/$repo/os/$arch
    39: https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch
    40: https://arch.sakamoto.pl/$repo/os/$arch
    41: https://mirror.2degrees.nz/archlinux/$repo/os/$arch
    42: https://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch
    43: http://us.arch.niranjan.co/$repo/os/$arch
    44: http://mirror.2degrees.nz/archlinux/$repo/os/$arch
    45: https://london.mirror.pkgbuild.com/$repo/os/$arch
    46: http://repository.su/archlinux/$repo/os/$arch
    47: http://nova.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch
    48: http://super.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch
    49: http://archlinux.iskon.hr/$repo/os/$arch
    50: http://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch
    51: http://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch
    52: http://br.mirrors.cicku.me/archlinux/$repo/os/$arch
    53: http://mirrors.atviras.lt/archlinux/$repo/os/$arch
    54: https://mirrors.pidginhost.com/arch/$repo/os/$arch
    55: http://mirrors.xtom.ee/archlinux/$repo/os/$arch
    56: http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch
    57: http://archlinux.mirror.kangaroot.net/$repo/os/$arch
    58: http://arch.yhtez.xyz/$repo/os/$arch
    59: https://mirror.qctronics.com/archlinux/$repo/os/$arch
    60: https://edgeuno-bog2.mm.fcix.net/archlinux/$repo/os/$arch
    61: http://mirror.cspacehostings.com/archlinux/$repo/os/$arch
    62: http://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
    63: http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
    64: http://arlm.tyzoid.com/$repo/os/$arch
    65: https://mirror.tux.si/arch/$repo/os/$arch
    66: https://al.arch.niranjan.co/$repo/os/$arch
    67: https://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch
    68: http://arch.sakamoto.pl/$repo/os/$arch
    69: https://mirror.ufscar.br/archlinux/$repo/os/$arch
    70: http://mirror.tux.si/arch/$repo/os/$arch
    71: https://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch
    72: https://theswissbay.ch/archlinux/$repo/os/$arch
    73: http://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch
    74: http://mirrors.celianvdb.fr/archlinux/$repo/os/$arch
    75: http://edgeuno-bog2.mm.fcix.net/archlinux/$repo/os/$arch
    76: https://nox.panibrez.com/archlinux/$repo/os/$arch
    77: https://mirror.anquan.cl/archlinux/$repo/os/$arch
    78: http://ftp.sh.cvut.cz/arch/$repo/os/$arch
Processes:
  CPU top: 5 of 384
  1: cpu: 31.7% command: kwin_wayland pid: 892 mem: 343.8 MiB (1.0%)
  2: cpu: 8.0% command: konsole pid: 1773 mem: 153.3 MiB (0.4%)
  3: cpu: 5.7% command: Xorg pid: 799 mem: 145.2 MiB (0.4%)
  4: cpu: 5.5% command: kate pid: 1760 mem: 160.4 MiB (0.5%)
  5: cpu: 2.4% command: thumbnail.so started-by: kioworker pid: 1746
    mem: 111.2 MiB (0.3%)
  Memory top: 5 of 384
  1: mem: 344.0 MiB (1.0%) command: plasmashell pid: 1051 cpu: 2.1%
  2: mem: 343.8 MiB (1.0%) command: kwin_wayland pid: 892 cpu: 31.7%
  3: mem: 185.4 MiB (0.5%) command: dolphin pid: 1621 cpu: 1.7%
  4: mem: 174.1 MiB (0.5%) command: polkit-kde-authentication-agent-1
    pid: 1093 cpu: 0.3%
  5: mem: 160.4 MiB (0.5%) command: kate pid: 1760 cpu: 5.5%
Info:
  Processes: 384 Power: uptime: 2m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 12.21 GiB services: org_kde_powerdevil, power-profiles-daemon,
    upowerd Init: systemd v: 256 default: graphical tool: systemctl
  Compilers: gcc: 14.2.1 Shell: Bash v: 5.2.37 running-in: konsole
    inxi: 3.3.36

Mod Note: Formatted for you. <3

I tried to install endeavouros because I wanted to check if it could be a distro problem, but in endeavouros, I had the same problem as in manjaro, so I was sure it was a kde desktop problem.

I noticed from the logs that kwin_wayland is using more than 30% of the cpu usage, which is unbelievable since I don’t have a single program open. Is this the problem?

Being that you experience this in another OS, it’s clearly not an issue with Manjaro; that’s all I can say for certain. However, your guess that it’s a KDE issue is likely accurate; a simple search seems to confirm that:

You might try editing the cursor configuration and removing cursor animation. I recall reading that this solved a similar issue.

This also, might be contributing. You have no swap configured. Some applications may require it irrespective of system RAM available:


However, it might be best to open an issue directly with KDE:

Others may potentially have useful input on this topic, so I suggest not abandoning this thread, if you create a report with KDE.


Let’s address another issue that might discourage others from responding:

Please edit your previous post (the command output) so that your great wall of text instead appears in a scrollable, preformatted text box. This will make it generally more readable, and less of a burden for others to refer to:

While in the edit window, select (highlight) the entire pasted text, and press the button that looks like this </>.


I hope this was helpful.

Cheers.

1.Maybe because you use a dual GPU driver for your nvidia card?
2.Or because you using Wayland, instead X11?
3.Or you have not the right settings for Wayland activated.

My Manjaro KDE/AMD Laptop with Wayland running smooth.
My Manjaro KDE PC (nvidia 2080Ti) with X11 running even a little smother.
I use on both system LTS Kernel 6.6 btw.

I use identical Themes on both systems and because i duplicated my Homefolder from my PC to my Laptop, almost all my settings are identical, besides the different hardware.

:saluting_face:

The only reason I can think of as to why the FPS drops on a hybrid GPU laptop is the technology or how images are displayed. Usually, the dedicated GPU is not connected to the laptop screen. This means that the image is sent via the CPU to the AMD GPU, which then displays it. This also means more CPU utilization, especially at high frequencies, and can also result in higher latencies. If your CPU is in power save mode, then the FPS can vary. If you have a monitor that you can connect directly to the NVIDIA GPU, then this effect should/could not be present.

Or if your laptop has a MUX switch, that would of course be better, as it can then switch the dGPU to the laptop screen.

thank you for you help sir.This bug is sloved when i update kde6.2

no,it is kde’s bug.gnome is not exist the same problem.when i updated kde6.2,this bug is sloved

no,this is kde’s bug.is sloved when i update kde6.2 today.

Most welcome. I’ve marked the post you likely intended to mark as the solution, considering the issue was clearly with KDE. Cheers.

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