Laggy KDE experience

Hi there,

First of all, I would like to start of by saying that I love the KDE desktop and Manjaro OS. It was one of the first Linux operating systems and I found myself coming back to it after trying Mint with Cinnamon for an extended period of time.

Unfortunately, I have found that my desktop experience is extremely laggy. My specs are as follows:

  • CPU: Ryzen 5 3800x
  • GPU: RTX 3080
  • RAM: 48GB
  • Kernel: 6.6 (problem existed with 6.1 too)

The issue I find is that no matter what application, there seem to be an intermittent “fps” drop when dragging windows, loading windows, typing and watching videos on YouTube (there are more cases where this happens, but these are the main problems I face). I have not timed it accurately, however, it seems that this fps drop occurs about every 3 seconds when moving a window in a circle. It also seems as though the lag becomes more pronounced when there are more windows open.

I have auto-installed proprietary drivers through the Manjaro Settings Manager. The output of nvidia-smi:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.100                Driver Version: 550.100        CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3080        Off |   00000000:09:00.0  On |                  N/A |
|  0%   48C    P3            107W /  340W |    2517MiB /  10240MiB |      3%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

The command lsmod | grep nouveau yields nothing.

My friend using Kubuntu with KDE is experiencing similar issues, using an intel processor with 3080.

Thank you in advance for any help,
Cheers

Hello and welcome to the Manjaro community!

First I would suggest posting the output of inxi -zv8 to reveal more detailed information about your system, in order for people to help.

By the initial details you’ve provided, your system looks to have enough resources and then some (compared to mine) and I experience no such lag. Your inxi report will let us know, for example, if you’re on x11 or Wayland, etc. plus other important stuff.

Cheers! :slight_smile:

Thanks for responding so quickly. One thing that may be different to a lot of other users is that I have 3x 1440p displays connected.

Here is the output of inxi -zv8:

System:
  Kernel: 6.6.40-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=f860e074-580d-4d54-a981-b6294261ab25 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.3.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: X570M Pro4 serial: <superuser required>
    uuid: <superuser required> UEFI-[Legacy]: American Megatrends v: P2.60
    date: 04/06/2020
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 48 GiB available: 46.98 GiB used: 8.41 GiB (17.9%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 3 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 2667 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: A-DATA Technology part-no: DDR4 3600 serial: <filter>
  Device-2: Channel-A DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 2667 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: A-DATA Technology part-no: AX4U320016G16A-BWHD3
    serial: <filter>
  Device-3: Channel-B DIMM 0 type: no module installed
  Device-4: Channel-B DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 2667 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: A-DATA Technology part-no: AX4U320016G16A-BWHD3
    serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 2496 high: 4542 min/max: 2200/4559 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2022
    3: 2057 4: 2200 5: 2200 6: 2200 7: 4542 8: 2057 9: 3693 10: 2200 11: 2048
    12: 2022 13: 2200 14: 2200 15: 3900 16: 2200 bogomips: 124851
  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 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
  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 mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  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: Retpolines; 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 GA102 [GeForce RTX 3080] vendor: Micro-Star MSI
    driver: nvidia v: 550.100 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-06; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 09:00.0 chip-ID: 10de:2206 class-ID: 0300
  Device-2: USB FHD Camera driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-3:3 chip-ID: 27c2:0530
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 4000x2880 s-dpi: 110 s-size: 925x666mm (36.42x26.22")
    s-diag: 1140mm (44.87")
  Monitor-1: DP-0 pos: primary,top-right res: 2560x1440 hz: 60 dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Monitor-2: DP-2 pos: middle-l res: 1440x2560 hz: 60 dpi: 109
    size: 336x597mm (13.23x23.5") diag: 685mm (26.97") modes: N/A
  Monitor-3: DP-4 pos: bottom-r res: 2560x1440 dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.100
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
    memory: 9.77 GiB
  API: Vulkan v: 1.3.279 layers: 1 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3080 driver: nvidia v: 550.100 device-ID: 10de:2206
    surfaces: xcb,xlib
Audio:
  -- omitted --
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full 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: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:2 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: 953.87 GiB used: 330.42 GiB (34.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 32B3T8EA temp: 40.9 C
    scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 684.88 GiB size: 673.06 GiB (98.27%)
    used: 330.42 GiB (49.1%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: f860e074-580d-4d54-a981-b6294261ab25
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 512 MiB used: 511.8 MiB (100.0%)
    priority: -2 file: /swapfile
Unmounted:
  Message: No unmounted partitions found.
USB:
    -- omitted --
Sensors:
  System Temperatures: cpu: 49.9 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 1656 pm: pacman pkgs: 1646 libs: 420 tools: pamac,yay pm: flatpak
    pkgs: 10
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.2degrees.nz/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 392
  1: cpu: 81.4% command: rust-analyzer pid: 3045 mem: 2124.4 MiB (4.4%)
  2: cpu: 54.8% command: firefox pid: 4919 mem: 761.7 MiB (1.5%)
  3: cpu: 26.8% command: code pid: 2792 mem: 497.6 MiB (1.0%)
  4: cpu: 20.2% command: firefox pid: 5167 mem: 361.6 MiB (0.7%)
  5: cpu: 20.1% command: rust-analyzer-proc-macro-srv pid: 3349
    mem: 119.3 MiB (0.2%)
  Memory top: 5 of 392
  1: mem: 2124.4 MiB (4.4%) command: rust-analyzer pid: 3045 cpu: 81.4%
  2: mem: 761.7 MiB (1.5%) command: firefox pid: 4919 cpu: 54.8%
  3: mem: 650.1 MiB (1.3%) command: plasmashell pid: 906 cpu: 2.8%
  4: mem: 497.6 MiB (1.0%) command: code pid: 2792 cpu: 26.8%
  5: mem: 434.5 MiB (0.9%) command: firefox pid: 3486 cpu: 14.4%
Info:
  Processes: 392 Power: uptime: 3m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 18.78 GiB services: org_kde_powerdevil,upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.1.1 Shell: Zsh v: 5.9
    running-in: xfce4-terminal inxi: 3.3.35

Thanks! I’d give a Wayland session a try (you can always change it back via the sddm login screen). Nvidia support has (apparently) improved somewhat recently, so hopefully this will help.

You just made my day. Thank you!

For those with the same issue, I made sure plasma-workspace was installed (this replaced plasma-wayland-session).

After logging in with wayland, I got a black screen with cursor. Creating the file /etc/modprobe.d/nvidia.conf with contents:

options nvidia_drm modeset=1
options nvidia_drm fbdev=1

and rebooting fixed the issue.

1 Like

Thanks for adding the extra details re. nvidia.conf! That likely will help others.

Cheers! :slight_smile:

1 Like

plasma-wayland-session is not in the repos at all.

This indicates you were somehow not up to date and/or performed a partial-upgrade, etc.

Make sure to be fully in sync and up to date. I’ll throw in a mirror rank as well;

sudo pacman-mirrors --continent && sudo pacman -Syu

PS.

Why legacy?
In any case I might mention your BIOS has updates that address performance, compatibility, and security.

Indeed re. the mirrors. I changed mine for yesterday’s update because I couldn’t be bothered to wait all day for the UK ones to sync (with the major Plasma6 update, they were only up for an hour all day! Just long enough for some of us to grab the packages!). Nice to be one of the “early birds” for a change.

Why not Legacy? There is nothing wrong with legacy. UEFI is a downgrade in relation to Security.

I’m running this system on legacy. I considered switching to EFI boot but have decided not to bother for the time being (disk is already GPT with the needed partitions).

Disagree a few ways.
Not least of which is that legacy generally should be on MBR whereas UEFI should be on GPT.
If anything legacy invites possible hardware hiccups that would not otherwise exist as well as complicates the boot process unnecessarily.
EFI will also generally bequeath marginally quicker boot times.
I wont get into the largely misunderstood discussion on ‘secure boot’.
But suffice it so say that a self-managed mechanism of keys would certainly be more secure than 
 nothing. Which is what legacy would provide.
Oh lets also not forget issues of size. Anyone with a 2TB+ drive will need to be on EFI. and so on.

I think the biggest reason to switch to UEFI is that some newer GPU Models won’t give you a Post-Screen (Bootscreen), because the GPU Vendors want to force us in UEFI
 for a shady reason (i assume).

My 4TB HDD (GPT) (non-boot) has no problem. So that 2TB+ handicap is only in relation to boot, same with Nvme Boot, won’t work under legacy
 but im a gamer and i use Nvme for gaming.

Legacy gives great security, because OS and Bios are complettly separated.
No OS Tool, can do shady things on my Bios per mistake (as AMD did in the past with their Driver’s) or a Virus that can change Voltage settings (just for fun of the attacker, to destroy someone other’s PC’s).

No Virus can hide in EFI, some with Rootkits from shady gaming companys.

Surely you mean GPT? :wink:

This reminds me of partitioning 10GB hard drives on a separate (newer) system with an 8.4GB (?) primary partition, so the BIOS could boot from the thing. Or similar with that 33GB limit on the new 40GB hard drives.

So rootkits didnt exist before EFI?
And they cant do things to, ex, the MBR?

We must be talking about different ‘rootkits’.

(Fun fact, me and all my friend’s had the CiH Virus around 1998 which deleted all our Bioses) :smile:

So no that’s not what i meant, they can just hide better in EFI.

And Low Level Anti-Cheat for gaming are often requires UEFI, who doens’t want a hidden rootkit on his PC which collects all possible data with Ring0 system access and have full control of the consumer’s PC?

Some people would see Legacy as old/bad only because it doesn’t support the newest shady features
 not everything around UEFI is a upgrade.

That sort of thing was the only virus I’ve ever had, and I got it from an internet cafĂ© in Nairobi. Guessing that was a “bootkit”? :man_shrugging:

When I got home, I got the stuff I needed off said disk, then forgot to eject the thing. Next time I rebooted, ahem 
 gotcha.

Easily fixed, though; in my case fixboot, fixmbr was all that was needed, thankfully.

I wouldn’t want to think about the much more advanced nasties out there, however. Better to be safe than sorry.

1 Like

Dang, that’s the power of Legacy
 with EFI you had a bigger problem.

1 Like

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