Manjaro KDE running slow with new laptop

system info:

System:    Kernel: 5.13.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 
           wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Laptop System: ASUSTeK product: ROG Strix G713QM_G713QM v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: G713QM v: 1.0 serial: <filter> UEFI: American Megatrends LLC. v: G713QM.311 date: 06/27/2021 
Battery:   ID-1: BAT0 charge: 55.0 Wh (60.0%) condition: 91.6/90.0 Wh (101.8%) volts: 15.8 min: 15.9 model: AS3GWAF3KC GA50358 
           type: Li-ion serial: <filter> status: Unknown 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 2S serial: <filter> 
           charge: 100% (should be ignored) rechargeable: yes status: Discharging 
Memory:    RAM: total: 15.06 GiB used: 3.7 GiB (24.6%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3 rev: 0 cache: 
           L2: 4 MiB bogomips: 102241 
           Speed: 1197 MHz min/max: 1200/4462 MHz boost: enabled Core speeds (MHz): 1: 1197 2: 1197 3: 1197 4: 1197 5: 1197 
           6: 1197 7: 1198 8: 1197 9: 1197 10: 1198 11: 1198 12: 1197 13: 1197 14: 1197 15: 1197 16: 1197 
           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 erms extapic extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt 
           ht hw_pstate ibpb ibrs 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 pfthreshold pge pku pni popcnt pse pse36 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 v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt 
           xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
Graphics:  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK driver: nvidia v: 470.57.02 
           bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300 
           Device-2: Advanced Micro Devices [AMD/ATI] Cezanne vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 05:00.0 
           chip-ID: 1002:1638 class-ID: 0300 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: modesetting,nvidia 
           resolution: 1920x1200~60Hz s-dpi: 96 
           OpenGL: renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 v: 4.6.0 NVIDIA 470.57.02 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 05:00.1 
           chip-ID: 1002:1637 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK driver: N/A 
           bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Device-4: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1.2.4:7 
           chip-ID: 0c76:1620 class-ID: 0300 
           Sound Server-1: ALSA v: k5.13.8-1-MANJARO running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: noprefixroute scope: link 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: e000 bus-ID: 03:00.0 chip-ID: 8086:2723 
           class-ID: 0280 
           IF: wlp3s0 state: down mac: <filter> 
           IF-ID-1: virbr0 state: down mac: <filter> 
           IP v4: <filter> scope: global broadcast: <filter> 
           WAN IP: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 chip-ID: 8087:0029 class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block: hardware: no software: yes 
           address: see --recommends 
Logical:   Message: No logical block device data found. 
RAID:      Message: No RAID data found. 
Drives:    Local Storage: total: 5.89 TiB used: 1.48 TiB (25.1%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD 
           serial: <filter> rev: 41000C20 temp: 31.9 C scheme: GPT 
           ID-2: /dev/sda type: USB vendor: Western Digital model: WDS480G2G0A-00JH30 size: 447.14 GiB type: SSD 
           serial: <filter> scheme: GPT 
           ID-3: /dev/sdb type: USB vendor: Western Digital model: WD My Passport 2627 size: 3.64 TiB type: N/A 
           serial: <filter> rev: 4008 scheme: GPT 
           ID-4: /dev/sdc type: USB vendor: Western Digital model: WDS480G2G0A-00JH30 size: 447.13 GiB type: SSD 
           serial: <filter> scheme: GPT 
           ID-5: /dev/sdd type: USB vendor: Lenovo model: USB Hard Drive size: 931.51 GiB type: N/A serial: <filter> rev: 3U 
           scheme: GPT 
           Message: No optical or floppy data found. 
Partition: ID-1: / size: 422.37 GiB used: 36.84 GiB (8.7%) fs: ext4 dev: /dev/sdc2 label: N/A 
           uuid: 581c79c3-b5ca-4ee2-9d67-c226c64d502f 
           ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat dev: /dev/sdc1 label: NO_LABEL uuid: 75B0-09E2 
           ID-3: /media/aurora/fastmedia size: 447.14 GiB used: 371.61 GiB (83.1%) fs: ntfs dev: /dev/sda1 label: fastDATA_1 
           uuid: 42D6C57FD6C57427 
           ID-4: /media/aurora/media size: 3.64 TiB used: 1.03 TiB (28.3%) fs: ntfs dev: /dev/sdb1 label: Data4TB 
           uuid: 3CBAA0BDBAA07554 
           ID-5: /run/media/aurora/f8be4f07-2be3-446f-be1d-0ba2be4b50f8 size: 915.81 GiB used: 52.06 GiB (5.7%) fs: ext4 
           dev: /dev/sdd1 label: N/A uuid: f8be4f07-2be3-446f-be1d-0ba2be4b50f8 
Swap:      ID-1: swap-1 type: partition size: 16.64 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdc3 label: N/A 
           uuid: ae036e38-c2e4-4d71-ac66-4cfc9e1b4d52 
Unmounted: ID-1: /dev/nvme0n1p1 size: 260 MiB fs: vfat label: SYSTEM uuid: C839-BD33 
           ID-2: /dev/nvme0n1p2 size: 16 MiB fs: <superuser required> label: N/A uuid: N/A 
           ID-3: /dev/nvme0n1p3 size: 456.24 GiB fs: bitlocker label: N/A uuid: N/A 
           ID-4: /dev/nvme0n1p4 size: 750 MiB fs: ntfs label: RECOVERY uuid: FCE20CA0E20C616E 
           ID-5: /dev/nvme0n1p5 size: 19.5 GiB fs: ntfs label: RESTORE uuid: C8D2C855D2C84A00 
           ID-6: /dev/nvme0n1p6 size: 200 MiB fs: vfat label: MYASUS uuid: F0C8-80F8 
USB:       Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
           Device-1: 1-3:2 info: ASUSTek N-KEY Device type: Keyboard driver: asus,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
           power: 100mA chip-ID: 0b05:1866 class-ID: 0301 
           Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
           Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s 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 power: 100mA chip-ID: 05e3:0610 
           class-ID: 0900 
           Hub-5: 3-1.2:4 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
           Device-1: 3-1.2.1:5 info: SINO WEALTH Gaming KB type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 
           rev: 1.1 speed: 12 Mb/s power: 500mA chip-ID: 258a:002a class-ID: 0300 
           Device-2: 3-1.2.2:6 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid 
           interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c52b class-ID: 0300 
           Device-3: 3-1.2.4:7 info: JMTek LLC. USB PnP Audio Device type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid 
           interfaces: 4 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 0c76:1620 class-ID: 0300 
           Device-4: 3-4:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
           power: 100mA chip-ID: 8087:0029 class-ID: e001 
           Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
           Hub-7: 4-1:3 info: Genesys Logic Hub ports: 4 rev: 3.1 speed: 5 Gb/s chip-ID: 05e3:0612 class-ID: 0900 
           Device-1: 4-1.1:4 info: Lenovo Portable HDD type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.0 
           speed: 5 Gb/s power: 8mA chip-ID: 17ef:455a class-ID: 0806 serial: <filter> 
           Device-2: 4-1.3:5 info: ASMedia ASM1051E SATA 6Gb/s bridge ASM1053E SATA 6Gb/s bridge ASM1153 SATA 3Gb/s bridge 
           ASM1153E SATA 6Gb/s bridge 
           type: Mass Storage driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s chip-ID: 174c:55aa class-ID: 0806 
           serial: <filter> 
           Device-3: 4-1.4:6 info: ASMedia ASM1051E SATA 6Gb/s bridge ASM1053E SATA 6Gb/s bridge ASM1153 SATA 3Gb/s bridge 
           ASM1153E SATA 6Gb/s bridge 
           type: Mass Storage driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s chip-ID: 174c:55aa class-ID: 0806 
           serial: <filter> 
           Device-4: 4-2:2 info: Western Digital My Passport 2627 type: Mass Storage driver: usb-storage interfaces: 1 
           rev: 3.1 speed: 5 Gb/s power: 896mA chip-ID: 1058:2627 class-ID: 0806 serial: <filter> 
Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
           GPU: device: nvidia screen: :0.0 temp: 53 C device: amdgpu temp: 53.0 C 
Info:      Processes: 393 Uptime: 2h 53m wakeups: 11 Init: systemd v: 248 Compilers: gcc: 11.1.0 alt: 10 clang: 12.0.1 
           Packages: pacman: 1450 Shell: Zsh v: 5.8 running-in: konsole inxi: 3.3.06 

Hey,

1 Overview:
I got myself a new laptop, an Asus ROG strix G17, around 2 weeks ago. Since then, I have been trying to get manjaro working on it. I have managed to get optimus-manager working, installed the asusctl and many asus specific features up and running, like limiting battery charge, controlling keyboard LEDs etc.

2 Problem:
The only problem I have is that the system performs slow when I do specific tasks like watching youtube and twitch, navigating discord, there is a noticeable delay between sending a pic in discord and the confirmation screen showing up etc. Games take a long time to boot, one of them didn???t even work (dirt rally). My main goal is to reduce/eliminate this sluggish system, games aren’t a priority.

3 Things I have tried:
3.1 Downgrading kernel to 5.12, 5.10
5.12 didn’t do anything, and with 5.10, the built-in keyboard of the laptop was not working properly, as reported by phoronix in their review of strix G15 advantage edition.
I cannot go below kernel 5.9, as this is required for the limiting battery charge on asus laptops. Should I try 5.9?

3.2 Modifying kwin.sh
There was a similar post like mine, with the solution being to add the following lines in /etc/profile.d/kwin.sh:

xport KWIN_COMPOSE=O2ES
export KWIN_TRIPLE_BUFFER=1

It didn’t solve anything but made the system worse.

3.3 Running the system in different graphic modes.
I have tried all the possible drivers, and all the possible settings, like libre drivers, proprietary drivers, hybrid drivers, running system on integrated, hybrid, Nvidia graphics, and no luck.
I checked the graphics mode after switching with
optimus-manager --print-mode

Thank you for reading!

Hi @LyraleiBreeze

I’d suspect of your network stack first. Check for similar threads within the forum and external sources regarding your wired adapter.

How are you hooking up this device, is this internal or external? This might be causing a bottleneck. USB won’t give you the same performance as a SATA/SAS device would.

I agree with @ El_Brujo. Gigabit ethernet adapter at 100 Mbps. It should be capable of 1000 Mbps. If you are using Network Manager try changing and restart.

I am using Sata to usb cable to connect my SSD (for linux) drive. But I don’t think that’s the problem as I use to use the same method for my previous laptop too.

Okay, this is odd, thanks for pointing this out.
I don’t know much about networking, but I used the same router and cable with my previous laptop.
And on top of that, my internet speed is 100 Mbps (from my ISP, that is).
I didn’t encounter any of the sluggishness in my previous system.

I am sorry, but I can’t find anything that will enable me to change the ethernet speed in man NetworkManager. Can you point me to some tutorials?

Thank you very much for the reply!

i guess on your file is correct export and not xport
Anyway, that is no longer doing what is supposed to do some time ago, better remove it.

You have to have the entry Option "TripleBuffer" "On" in the Section "Device" of your config, otherwise it will not work for kwin.sh

Yes, I missed that from your inxi output. To be honest with you, I’m leaning towards this right now rather than a problem with your networking.

Personally, I wouldn’t do that for any linux system partitions.

Are you getting firmware warnings if you regenerate your initramfs?

sudo mkinitcpio -P

Since kernel 5.13.6, there is a kernel patch missing within the kernel build dealing with xhci USB controllers. Apparently, the patches deal only with Renesas USB controllers though. Given your setup, I’m wondering if you might be affected by this.

That kernel patch was added again on kernel 5.13.10, which is available in the unstable branch right now. I guess you can either switch branches temporarily or just wait for the next kernel release to see if that makes any difference.

Have you checked your journal for errors?

sudo journalctl -b 0 -p err

1 Like

Sorry about that, it was a typo. The command that I added had export in it.

Yes I am getting warnings.
==> WARNING: Possibly missing firmware for module: xhci_pci
Got this about 4 times.

Full log:

  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: 5.10.56-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: 5.10.56-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux512.preset: 'default'
  -> -k /boot/vmlinuz-5.12-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.12-x86_64.img
==> Starting build: 5.12.19-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.12-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux512.preset: 'fallback'
  -> -k /boot/vmlinuz-5.12-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.12-x86_64-fallback.img -S autodetect
==> Starting build: 5.12.19-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.12-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux513.preset: 'default'
  -> -k /boot/vmlinuz-5.13-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.13-x86_64.img
==> Starting build: 5.13.8-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.13-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux513.preset: 'fallback'
  -> -k /boot/vmlinuz-5.13-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.13-x86_64-fallback.img -S autodetect
==> Starting build: 5.13.8-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.13-x86_64-fallback.img
==> Image generation successful

I’ll just wait for the official release.

Got a few of them, I think these two might be the one you’re looking for?

Aug 14 14:21:08 Paragon-Strix kernel: ucsi_acpi USBC000:00: unknown error 4104
Aug 14 14:21:08 Paragon-Strix kernel: ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)

Full log:

-- Journal begins at Wed 2021-08-04 18:31:34 IST, ends at Sat 2021-08-14 16:39:44 IST. --
Aug 14 14:21:06 Paragon-Strix kernel: sd 0:0:0:0: [sdb] No Caching mode page found
Aug 14 14:21:06 Paragon-Strix kernel: sd 0:0:0:0: [sdb] Assuming drive cache: write through
Aug 14 14:21:06 Paragon-Strix kernel: scsi 0:0:0:1: Wrong diagnostic page; asked for 1 got 8
Aug 14 14:21:06 Paragon-Strix kernel: scsi 0:0:0:1: Failed to get diagnostic page 0x1
Aug 14 14:21:06 Paragon-Strix kernel: scsi 0:0:0:1: Failed to bind enclosure -19
Aug 14 14:21:06 Paragon-Strix systemd-udevd[377]: /etc/udev/rules.d/40-libsane.rules:26: GOTO="libsane_rules_end" has no matching label, ignoring
Aug 14 14:21:06 Paragon-Strix systemd-udevd[377]: /etc/udev/rules.d/S99-2000S1.rules:26: GOTO="libsane_rules_end" has no matching label, ignoring
Aug 14 14:21:07 Paragon-Strix kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
Aug 14 14:21:08 Paragon-Strix kernel: ucsi_acpi USBC000:00: unknown error 4104
Aug 14 14:21:08 Paragon-Strix kernel: ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
Aug 14 14:21:09 Paragon-Strix systemd-backlight[1147]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
Aug 14 14:21:09 Paragon-Strix systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Aug 14 14:21:13 Paragon-Strix systemd-udevd[388]: controlC3: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card3/>
Aug 14 14:21:13 Paragon-Strix systemd-udevd[388]: controlC3: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card3/>
Aug 14 14:21:13 Paragon-Strix libvirtd[1265]: Device 0000:01:00.1 not found: could not access /sys/bus/pci/devices/0000:01:00.1/config: No such file or directory
Aug 14 14:21:13 Paragon-Strix kernel: 
Aug 14 14:21:18 Paragon-Strix nmbd[1523]: [2021/08/14 14:21:18.278097,  0] ../../lib/util/become_daemon.c:135(daemon_ready)
Aug 14 14:21:18 Paragon-Strix nmbd[1523]:   daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
Aug 14 14:21:18 Paragon-Strix smbd[1526]: [2021/08/14 14:21:18.470534,  0] ../../lib/util/become_daemon.c:135(daemon_ready)
Aug 14 14:21:18 Paragon-Strix smbd[1526]:   daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
Aug 14 14:21:21 Paragon-Strix kwin_x11[1615]: kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_IN"
Aug 14 14:21:41 Paragon-Strix nmbd[1523]: [2021/08/14 14:21:41.734978,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Aug 14 14:21:41 Paragon-Strix nmbd[1523]:   *****
Aug 14 14:21:41 Paragon-Strix nmbd[1523]: 
Aug 14 14:21:41 Paragon-Strix nmbd[1523]:   Samba name server PARAGON-STRIX is now a local master browser for workgroup WORKGROUP on subnet 192.168.122.1
Aug 14 14:21:41 Paragon-Strix nmbd[1523]: 
Aug 14 14:21:41 Paragon-Strix nmbd[1523]:   *****
Aug 14 14:23:01 Paragon-Strix kernel: iwlwifi 0000:03:00.0: iwl_trans_send_cmd bad state = 0
Aug 14 14:26:59 Paragon-Strix nmbd[1523]: [2021/08/14 14:26:59.156102,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Aug 14 14:26:59 Paragon-Strix nmbd[1523]:   *****
Aug 14 14:26:59 Paragon-Strix nmbd[1523]: 
Aug 14 14:26:59 Paragon-Strix nmbd[1523]:   Samba name server PARAGON-STRIX is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.131
Aug 14 14:26:59 Paragon-Strix nmbd[1523]: 
Aug 14 14:26:59 Paragon-Strix nmbd[1523]:   *****

Based on that, i saw this https://unix.stackexchange.com/questions/587371/mint-19-3-cinnamon-ucsi-acpi-usbc00000-ppm-init-failed-110
Hence, by comparison with Manjaro, you should have the /usr/share/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conf
With this content in it

Section "ServerLayout"
    Identifier "layout"
    Option "AllowNVIDIAGPUScreens"
EndSection

Section "OutputClass"
    Identifier "AMDgpu"
    MatchDriver "amdgpu"
    Driver "amdgpu"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

So you could modify it to be

Section "ServerLayout"
    Identifier "layout"
    Option "AllowNVIDIAGPUScreens"
EndSection

Section "OutputClass"
    Identifier "AMDgpu"
    MatchDriver "amdgpu"
    Driver "amdgpu"
    Option "PrimaryGPU" "no"
EndSection

Section "OutputClass"
   Identifier "nvidia"
   MatchDriver "nvidia-drm"
   Driver "nvidia"
   Option "AllowEmptyInitialConfiguration"
   Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

After reboot you should no longer have the USB-C to dp/hdmi error …

2 Likes

Try closing baloo file from task manager. My laptop’s performance improved closing this.

This is interesting. The USB C display port was not working initially, so I added the line Option "PrimaryGPU" "yes" in the nvidia’s section, and after that it started working. I’ll give this one a try again, after making a backup.

According to KDE,
Baloo is the file indexing and file search framework for KDE Plasma, with a focus on providing a very small memory footprint along with with extremely fast searching.
I do a lot of searching so I think I will keep it going. Besides Most of the time my CPU remains at ~15%. I think Baloo_file is not a problem in my case.

The errors are still there, but the system is not as sluggish as it was before.

1 Like

Well, at least you’re getting some progress! :+1:

I didn’t see your boot loader command line on your inxi output. Do you mind sharing it with us?

1 Like
RUB_DEFAULT=saved
GRUB_TIMEOUT=1
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor resume=UUID=ae036e38-c2e4-4d71-ac66-4cfc9e1b4d52 udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
 
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
 
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
 
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
 
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
 
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
 
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
 
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
 
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
 
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
 
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
 
# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
 
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
 
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
 
# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true

Is this what you wanted?