KDE laggy even if I use default theme

Hi

I just installed manjaro KDE on my desktop machine and unlike on my laptop (where I have Manjaro KDE too)
KDE plasma is laggy.

I tried to put OpenGL 3.1 as rendering backend according to this topic

It doesn’t work

So I checked my nvidia driver:

 nvidia-smi                                                                                                                                                                                                                  
Tue Feb 22 01:16:24 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03    Driver Version: 510.47.03    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| 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 ...  Off  | 00000000:29:00.0  On |                  N/A |
|  0%   52C    P0    49W / 240W |    897MiB /  8192MiB |      9%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       715      G   /usr/lib/Xorg                     291MiB |
|    0   N/A  N/A       832      G   /usr/bin/kwin_x11                 121MiB |
|    0   N/A  N/A       899      G   /usr/bin/plasmashell               45MiB |
|    0   N/A  N/A      1127      G   /usr/lib/firefox/firefox          432MiB |
+-----------------------------------------------------------------------------+

And my journal

My journal when I use a non default theme (dracula):

Feb 22 01:17:54 svetlana-ms7b87 kwin_x11[832]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4894, resource id: 46138352, major code: 14 (GetGeometry), minor code: 0
Feb 22 01:17:54 svetlana-ms7b87 kwin_x11[832]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4895, resource id: 46138354, major code: 14 (GetGeometry), minor code: 0
Feb 22 01:17:57 svetlana-ms7b87 plasmashell[899]: QObject::disconnect: Unexpected nullptr parameter
Feb 22 01:17:57 svetlana-ms7b87 systemd[767]: Started Configuration du système - Configuration du système.
Feb 22 01:17:57 svetlana-ms7b87 kwin_x11[832]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7247, resource id: 46138378, major code: 18 (ChangeProperty), minor code: 0
Feb 22 01:17:57 svetlana-ms7b87 systemsettings5[3149]: Icon theme "ubuntu-mono-dark" not found.
Feb 22 01:17:57 svetlana-ms7b87 systemsettings5[3149]: Icon theme "Mint-X" not found.
Feb 22 01:17:57 svetlana-ms7b87 systemsettings5[3149]: Icon theme "elementary" not found.
Feb 22 01:17:57 svetlana-ms7b87 systemsettings5[3149]: QQmlEngine::setContextForObject(): Object already has a QQmlContext
Feb 22 01:17:58 svetlana-ms7b87 systemsettings5[3149]: file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:127:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
Feb 22 01:17:58 svetlana-ms7b87 systemsettings5[3149]: file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:57:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
Feb 22 01:17:58 svetlana-ms7b87 systemsettings5[3149]: file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:57:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
Feb 22 01:17:58 svetlana-ms7b87 plasmashell[3160]: Icon theme "ubuntu-mono-dark" not found.
Feb 22 01:17:58 svetlana-ms7b87 plasmashell[3160]: Icon theme "Mint-X" not found.
Feb 22 01:17:58 svetlana-ms7b87 plasmashell[3160]: Icon theme "elementary" not found.
Feb 22 01:17:58 svetlana-ms7b87 kwin_x11[832]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7810, resource id: 77594633, major code: 18 (ChangeProperty), minor code: 0


My journal with a default theme:

Feb 22 01:19:54 svetlana-ms7b87 plasmashell[899]: QObject::disconnect: Unexpected nullptr parameter
Feb 22 01:19:54 svetlana-ms7b87 systemd[767]: Started Configuration du système - Configuration du système.
Feb 22 01:19:55 svetlana-ms7b87 systemsettings5[3229]: QQmlEngine::setContextForObject(): Object already has a QQmlContext
Feb 22 01:19:55 svetlana-ms7b87 systemsettings5[3229]: file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:127:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
Feb 22 01:19:55 svetlana-ms7b87 systemsettings5[3229]: file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:57:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
Feb 22 01:19:55 svetlana-ms7b87 systemsettings5[3229]: file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:57:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
Feb 22 01:19:56 svetlana-ms7b87 kwin_x11[832]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18205, resource id: 77594633, major code: 18 (ChangeProperty), minor code: 0

I tried to fix them without results, any idea ? I would like to fix when I use dracula theme but if I can fix only with a default theme it’s ok :slight_smile:

EDIT: I precised it’s my desktop machine and I add information about my system:

inxi --admin --verbosity=7 --filter --no-host --width                                                                                                                                                                        ✔ 
System:
  Kernel: 5.15.21-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=5acad7a5-083d-4b29-b961-1cb076c339b3 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  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: B450M GAMING PLUS (MS-7B87) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.94
    date: 08/20/2019
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.63 GiB used: 6.34 GiB (40.6%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 3641 high: 4098 min/max: N/A cores: 1: 3600 2: 3600
    3: 3600 4: 3600 5: 3600 6: 3600 7: 3600 8: 3600 9: 4098 10: 3600 11: 3600
    12: 3600 bogomips: 86438
  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:
    always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: Micro-Star MSI
    driver: nvidia v: 510.47.03 alternate: nouveau,nvidia_drm bus-ID: 29:00.0
    chip-ID: 10de:1b80 class-ID: 0300
  Device-2: Logitech Webcam C170 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-5:2 chip-ID: 046d:082b class-ID: 0102
  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 GP104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 29:00.1 chip-ID: 10de:10f0
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 2b:00.4 chip-ID: 1022:1487
    class-ID: 0403
  Device-3: Logitech Webcam C170 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-5:2 chip-ID: 046d:082b class-ID: 0102
  Sound Server-1: ALSA v: k5.15.21-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 25:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp37s0 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
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 25.11 GiB (2.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Seagate
    model: XPG GAMMIX S11 Pro size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 42A4SANA temp: 35.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 225.74 GiB size: 221.14 GiB (97.96%)
    used: 25.08 GiB (11.3%) fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
    label: N/A uuid: 5acad7a5-083d-4b29-b961-1cb076c339b3
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 27.2 MiB (28.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: FAD0-E14D
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 727.41 GiB fs: ntfs label: N/A
    uuid: CC26D5F826D5E40C
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 617 MiB fs: ntfs label: N/A
    uuid: AC366A303669FBA8
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Logitech Webcam C170 type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:082b class-ID: 0102
  Device-2: 1-6:3 info: Samsung Galaxy A5 (MTP)
    type: Still Imaging,Abstract (modem),CDC-Data driver: cdc_acm,usbfs
    interfaces: 4 rev: 2.1 speed: 480 Mb/s power: 64mA chip-ID: 04e8:6860
    class-ID: 0a00 serial: <filter>
  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: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: Logitech G502 Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 300mA chip-ID: 046d:c07d class-ID: 0300 serial: <filter>
  Device-2: 3-4:3 info: Logitech G105 Gaming Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 200mA chip-ID: 046d:c248 class-ID: 0300
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 52 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 311 Uptime: 53m wakeups: 0 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.1.0 clang: 13.0.1 Packages: 1238 pacman: 1225 lib: 331
  flatpak: 0 snap: 13 Shell: Zsh v: 5.8 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.12

Hello,

But according to your user description, you have a Laptop, and most likely a hybrid GPU one …
To know exactly, here is [HowTo] Provide System Information

Sorry, I made a mistake, I just installed Manjaro on my DESKTOP machine. And I have an issue on this unlike my other Manjaro on my laptop. I edit my initial message :slight_smile:

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    [HowTo] Provide System Information
    and press the three dots below your post and press the :pencil2: to give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:+1

1 Like

Please don’t use QUOTES to post CODE, it makes it unreadable.

:face_with_spiral_eyes:

Do it like that

```
your log here
```
so it is readable and properly formatted.

sorry, I fixed that :slight_smile:

It seems that Manjaro KDE lag is commonly observable.

There’s a suspicion that it has something to do with baloo, but it’s not confirmed:

Can you give more detail on what “laggy” means?

Here is how I configure Nvidia on KDE for tearing/smoothness issues Imgur: The magic of the Internet

For example when I go to plasma menu → configuration → system configuration and I click on it, the menu disappears (normal behavior) and before system configuration window appears the cursor freezes.

Sometimes when I watch video, it freezes too

It’s always less than a second for all examples but I think it’s not normal with my hardware :confused:

I have fairly similar hardware, and don’t have these issues.

Can you try to create a new user, login to this new user, and see if on a default new user you have same issues? Maybe something you installed on your current user is creating the issue.

ok I’ll tryc, give me some minutes :slight_smile:

Else I tried “Imgur: The magic of the Internet”
Same behavior :confused:

I made a new user and there is the same behavior

let’s check and have a focus to something else. there had been issues with bios settings of the default energy mode inside and the ryzen-cpu. you’re nvidia-driver is set correct and maybe the reason is indeed something else.

So if I understand well my problem comes from my kernel

In manjaro settings → kernels I see many kernels. I’m using 5.15.21-1
wich one should be test ?
I can install :
5.16.7-1
5.16.2_rt19-1
5.17rc… (experimental)

5.16.7-1

1 Like

Freezes are always here :confused:

may i ask if you are on a stable or unstable release ? please post the output of

sudo pacman-mirrors -G

If it can help you, I just made a video to show you an example of freeze:

https://easyupload.io/1193rk

It’s really just little freezes but it’s annoying

sudo pacman-mirrors -G                                                                                                              

stable

Ah … the KDE animation is smooth and actually not laggy, so it’s not the graphics problem.

That kind of little freezing is more related to either the CPU or SSD.

Since you just did a fresh install, it’s probably the SSD that just need some time to accustom itself.

My advice is to use your desktop normally for a longer time.

1 Like