Noob user wanting to optimize manjaro kde plasma

I understand that this topic specifically has likely been discussed dozens if not hundreds of times and I could potentially just read out the documentation on the manjaro website but I felt the need to post this here anyways because dealing with such issues is already making me lose the patience to read the documentation instead out of frustration, not to mention potential differences in overall system integrity and/or layout affecting the performance of the machine im using could affect the troubleshooting process.

I wanted to discuss with everyone here who is available to assist me in knowing how I could potentially speed up my system, most notably the boot up timing (and overall general software performance if possible).

I’m relatively new to Manjaro, Linux in general even and wanted to find out a way to optimize the performance of an old gaming laptop I wanted to be put to good use for a buddy of mine who just wanted to play more lightweight games on it, most exclusively CS:GO. I had Manjaro installed through on an iso by flash drive for the first time and whilst it originally worked far better than what Windows 10 was previously slowing down to before the installation, I still feel that the performance I’m getting is very sub-optimal. Yes I know I am running on a machine with a HDD and not a SSD, yes I know this thing is like probably 6 years old or something similar in old age for a computer, but still.

As for another thing, I am getting the message “Configuration file “/var/lib/sddm/.config/sddm-greeterrc” not writable” on bootup. I wanted to double check but given the system info I’ll be giving below or any other info that is useful in any future replies/edits, is sudo chown -R sddm:sddm /var/lib/sddm/.config an accurate solution? I saw this in another post but wasn’t sure if it would apply universally or if it would be different for me.

systemd-analyze                                                                            
Startup finished in 8.812s (firmware) + 26.889s (loader) + 23.499s (kernel) + 20.891s (userspace) = 1min 20.092s 
graphical.target reached after 20.891s in userspace.

systemd-analyze blame                                                                        
4.136s dev-mapper-luks\x2d62fc1762\x2d64c6\x2d4cd2\x2dbe81\x2d85ceb4cea190.device
3.670s plymouth-quit.service
3.652s plymouth-quit-wait.service
1.848s ModemManager.service
1.488s cups.service
1.445s boot-efi.mount
1.359s NetworkManager.service
1.199s lvm2-monitor.service
1.190s plymouth-start.service
 975ms udisks2.service
 930ms systemd-vconsole-setup.service
 912ms polkit.service
 908ms systemd-udevd.service
 901ms systemd-tmpfiles-setup-dev.service
 725ms upower.service
 722ms systemd-fsck@dev-disk-by\x2duuid-1CE3\x2d6D89.service
 671ms bluetooth.service
 663ms systemd-logind.service
 646ms systemd-journal-flush.service
 624ms dbus.service
 576ms systemd-modules-load.service
 469ms systemd-random-seed.service
 387ms wpa_supplicant.service
 359ms systemd-cryptsetup@luks\x2d62fc1762\x2d64c6\x2d4cd2\x2dbe81\x2d85ceb4cea190.service
 274ms user@1000.service
 267ms systemd-udev-trigger.service
 258ms systemd-tmpfiles-setup.service
 inxi --admin --verbosity=7 --filter --width                                                   
System:
  Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=02f32c84-53e5-4995-b929-9f24719ef336 rw quiet
    cryptdevice=UUID=62fc1762-64c6-4cd2-be81-85ceb4cea190:luks-62fc1762-64c6-4cd2-be81-85ceb4cea190
    root=/dev/mapper/luks-62fc1762-64c6-4cd2-be81-85ceb4cea190 splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Nitro AN515-42 v: V1.18
    serial: <superuser required>
  Mobo: RR model: Freed_RRS v: V1.18 serial: <superuser required>
    UEFI: Insyde v: 1.18 date: 06/18/2020
Battery:
  ID-1: BAT1 charge: 35.6 Wh (100.0%) condition: 35.6/48.9 Wh (72.8%)
    volts: 16.3 min: 15.2 model: LG 0x41,0x43,0x31,0x34,0x42,0x38,0x0064
    type: Li-ion serial: <filter> status: full
Memory:
  RAM: total: 6.68 GiB used: 2.95 GiB (44.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64
    type: MT MCP arch: Zen level: v3 note: check built: 2017-19 process: GF 14nm
    family: 0x17 (23) model-id: 0x11 (17) stepping: 0 microcode: 0x810100B
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 1502 high: 1867 min/max: 1600/2000 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1432 2: 1428
    3: 1561 4: 1593 5: 1387 6: 1867 7: 1380 8: 1371 bogomips: 31949
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb
    cpuid cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c
    flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf
    lahf_lm lbrv lm 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 rdrand rdseed rdtscp rep_good
    sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 succor svm svm_lock syscall tce topoext tsc tsc_scale
    v_vmsave_vmload vgif vmcb_clean vme vmmcall 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: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  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:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X]
    vendor: Acer Incorporated ALI driver: amdgpu v: kernel arch: GCN-4
    code: Arctic Islands process: GF 14nm built: 2016-20 pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
    chip-ID: 1002:67ef class-ID: 0380 temp: 35.0 C
  Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series]
    vendor: Acer Incorporated ALI driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:15dd
    class-ID: 0300 temp: 43.0 C
  Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 3-1:2
    chip-ID: 0408:a060 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: LG Display 0x05d8 built: 2018
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: AMD Radeon Vega 8 Graphics (raven
    LLVM 15.0.7 DRM 3.49 6.1.12-1-MANJARO) direct-render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus-ID: 1-1.3:5
    chip-ID: 0d8c:0005 pcie: class-ID: 0300 gen: 3 serial: <filter>
    speed: 8 GT/s lanes: 16 bus-ID: 04:00.1 chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-3: C-Media Blue Snowball type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.1.12-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 02:00.1 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp2s0f1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 48.0 C
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  Message: Output throttled. IPs: 4; Limit: 10; Override: --limit [1-x;-1
    all]
  WAN IP: <filter>
Bluetooth:
  Device-1: Lite-On type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    chip-ID: 04ca:3016 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-62fc1762-64c6-4cd2-be81-85ceb4cea190 maj-min: 254:0
    type: LUKS dm: dm-0 size: 931.21 GiB
  Components:
  p-1: sda2 maj-min: 8:2 size: 931.22 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 960.17 GiB used: 53.6 GiB (5.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: A3J0 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Glide
    size: 28.65 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 931.21 GiB size: 915.52 GiB (98.32%) used: 53.6 GiB (5.9%)
    fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-62fc1762-64c6-4cd2-be81-85ceb4cea190 label: N/A
    uuid: 02f32c84-53e5-4995-b929-9f24719ef336
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 472 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: 1CE3-6D89
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 28.65 GiB fs: vfat label: N/A
    uuid: D240-C951
USB:
  Hub-1: 1-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
  Hub-2: 1-1:2 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2817 class-ID: 0900
  Device-1: 1-1.1:4 info: SanDisk Cruzer Glide type: Mass Storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 200mA
    chip-ID: 0781:5575 class-ID: 0806 serial: <filter>
  Device-2: 1-1.3:5 info: C-Media Blue Snowball type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0005 class-ID: 0300
    serial: <filter>
  Device-3: 1-1.4:6 info: Logitech G502 SE HERO Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 300mA
    chip-ID: 046d:c08b class-ID: 0300 serial: <filter>
  Device-4: 1-4:3 info: Lite-On type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 04ca:3016 class-ID: e001
  Hub-3: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 2-1:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.2 speed: 5 Gb/s
    chip-ID: 2109:0817 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: Quanta HD Webcam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0408:a060
    class-ID: 0e02 serial: <filter>
  Hub-6: 4-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 42.2 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: amdgpu temp: 34.0 C watts: 6.00 device: amdgpu temp: 42.0 C
Info:
  Processes: 274 Uptime: 42m wakeups: 1 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1301 libs: 417 tools: octopi,pamac,yay pm: flatpak pkgs: 0 Shell: Zsh
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.25

Any help would be appreciated.

It’s an encrypted system - the boot time is already pretty fast.
Won’t get much better with spinning disks.
You could turn off plymouth (just a graphical gimmick to “beautify” the boot process)
and cups (the print server) - or configure it differently so it will only start when it is actually needed
(socket activation)
see the Arch wiki for example

… that will take you at least an hour to achieve all that - in order to save 3 seconds on every cold boot
break even point is after 1200 cold boots :nerd_face:

You can disable

  1. lvm
  2. Modemmanager

In terms of gaming, you can install the “gamemode” package to possibly get a slight bump in performance.

After installing it, run the below command in the terminal to see if it installed correctly.
gamemoded -t

You can either do either of the following:

Run the command
gamemoderun steam-runtime
in the terminal which will launch Steam with gamemode enabled for every game, but will be required every time you want Steam to have it enabled which maybe a downside.

OR

Right click the game in the Steam Library, select Properties…, then in the Launch Options text box under GENERAL enter: gamemoderun %command%
Make sure it’s the first argument under Launch Options, or it may bug-out. Downside is that you’ll have to enter that for each game once in order to run gamemode for the respective game.

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