Some programs take a very long time to open

After reinstalling the system everything works fine, but after a while some programs take a long time to open. When they are already open, they work without problems, but I have to wait a long time for them to open.
LibreOffice applications take 2 or more minutes to open, although after reinstalling the system they opened in seconds.
Programs for reading pdf files also take a long time to open.
Telegram used to take a long time to open, but after one of the updates it started to open again in a few seconds.
Chromium opens instantly, but Firefox takes about 3 minutes to open.

I don’t want to have to reinstall the system all the time. What can I try to do to make at least LibreOffice and Firefox open quickly?

  Kernel: 6.1.53-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=93be5680-b866-478c-9027-8201f88a1e58 rw quiet splash apparmor=1
    security=apparmor resume=UUID=c221e7cd-3606-4edf-aa2d-05678ad0f9be
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
  Type: Desktop System: HUANANZHI X99 product: N/A v: N/A
    serial: <superuser required>
  Mobo: HUANANZHI model: X99-8M-F v: V1.1 serial: <superuser required>
    UEFI: American Megatrends v: 5.11 date: 10/15/2020
  Message: No system battery data found. Is one present?
  System RAM: total: 16 GiB note: est. available: 15.46 GiB
    used: 2.82 GiB (18.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
  Info: model: Intel Xeon E5-2630 v3 bits: 64 type: MT MCP arch: Haswell
    level: v3 note: check built: 2013-15 process: Intel 22nm family: 6
    model-id: 0x3F (63) stepping: 2 microcode: 0x49
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 20 MiB
    desc: 1x20 MiB
  Speed (MHz): avg: 1933 high: 3200 min/max: 1200/3200 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1200 2: 3200 3: 1200
    4: 1200 5: 1200 6: 3200 7: 1200 8: 3200 9: 3200 10: 1200 11: 1200 12: 3200
    13: 2100 14: 2000 15: 1200 16: 1243 bogomips: 76670
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cqm cqm_llc cqm_occup_llc
    cx16 cx8 dca de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c
    flexpriority flush_l1d fma fpu fsgsbase fxsr ht ibpb ibrs ida intel_ppin
    invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe msr
    mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good sdbg sep smep smx
    ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt
    xtopology xtpr
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: AMD RV670 [Radeon HD 3690/3850] vendor: PC Partner / Sapphire
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale
    code: R6xx/RV6xx/RV7xx process: TSMC 55-65nm built: 2005-13 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 ports: active: DVI-I-1,DVI-I-2 empty: DIN-1
    bus-ID: 03:00.0 chip-ID: 1002:9505 class-ID: 0300 temp: 77.0 C
  Display: x11 server: X.Org v: 21.1.8 compositor: xfwm v: 4.18.0 driver: X:
    loaded: radeon unloaded: modesetting alternate: fbdev,vesa dri: r600
    gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2704x1050 s-dpi: 96 s-size: 715x278mm (28.15x10.94")
    s-diag: 767mm (30.2")
  Monitor-1: DVI-I-1 mapped: DVI-0 pos: right res: 1024x768 hz: 60 size: N/A
    modes: max: 1024x768 min: 640x480
  Monitor-2: DVI-I-2 mapped: DVI-1 pos: primary,left
    model: LG (GoldStar) W2042 serial: <filter> built: 2008 res: 1680x1050 hz: 60
    dpi: 98 gamma: 1.2 size: 434x270mm (17.09x10.63") diag: 511mm (20.1")
    ratio: 16:10 modes: max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: r600 x11: drv: r600
    inactive: wayland
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 23.1.7-1 glx-v: 1.4
    direct-render: yes renderer: AMD RV670 (DRM 2.50.0 / 6.1.53-1-MANJARO LLVM
    16.0.6) device-ID: 1002:9505 memory: 1000 MiB unified: no
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: AMD RV670/680 HDMI Audio [Radeon HD 3690/3800 Series]
    vendor: PC Partner / Sapphire driver: snd_hda_intel v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:aa18 class-ID: 0403
  API: ALSA v: k6.1.53-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.80 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp6s0 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
  WAN IP: <filter>
  Message: No bluetooth data found.
  Message: No logical block device data found.
  Message: No RAID data found.
  Local Storage: total: 465.76 GiB used: 75.29 GiB (16.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: HD502IJ size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s tech: N/A
    serial: <filter> fw-rev: 1112 scheme: GPT
  Message: No optical or floppy data found.
  ID-1: / raw-size: 78.12 GiB size: 76.35 GiB (97.73%) used: 29.8 GiB (39.0%)
    fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A
    uuid: 93be5680-b866-478c-9027-8201f88a1e58
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: CB3B-E732
  ID-3: /home raw-size: 379.13 GiB size: 372.11 GiB (98.15%)
    used: 45.5 GiB (12.2%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: N/A
    uuid: 43a354ff-89a8-4565-a1aa-a6890cc5e855
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: c221e7cd-3606-4edf-aa2d-05678ad0f9be
  Message: No unmounted partitions found.
  Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8008
    class-ID: 0900
  Hub-3: 2-0:1 info: full speed or root hub ports: 2 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: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 14 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: 3-7:2 info: A4Tech Optical Mouse Opto 510D / OP-620D type: mouse
    driver: a4tech,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 09da:000a class-ID: 0301
  Device-2: 3-10:3 info: Holtek Keyboard LKS02 type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 04d9:1702 class-ID: 0300
  Hub-6: 4-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  System Temperatures: cpu: 41.0 C mobo: N/A gpu: radeon temp: 77.0 C
  Fan Speeds (rpm): N/A
  Processes: 312 Uptime: 3h 44m wakeups: 0 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1336 pm: dpkg pkgs: 0 pm: pacman pkgs: 1327 libs: 385 tools: pamac
  pm: flatpak pkgs: 0 pm: snap pkgs: 9 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.30

More precisely it is important what specs your system have…

inxi -v7azy

Most likely the first start is slow because of a slow HDD…

Use a faster storage drive or prefetch your applications into RAM. In the AUR, there is vmtouch for example.

pamac build vmtouch
# Prefetch all firefox files
vmtouch -t /usr/lib/firefox
# Prefetch your firefox profile
vmtouch -t $HOME/.mozilla/firefox
1 Like

I guess vmtouch is gonna help, thank you.

Yes, HDD is really very old and slow, but the thing is that after reinstalling the system everything works fast (everything opens in seconds) for about 3-4 months, and then it starts to slow down at the first startup.

Absolutely, get rid of it. Not only will an SSD be significantly faster, it will also use much less power which will help to deal with another discrepancy:

This is a mini pc in a tiny case running for nearly 4h. Your cpu cooling/heat sink works very well but the onboard graphics (and I suppose the whole mainboard) is way too hot in comparison. There could be a number of reasons/fixes for this:

  • graphics too weak to drive 3 screens with 2704x1050, 1680x1050 and 1024x768. Try to use only 2 or lower the 2704x1050 resolution
  • review your desktop settings and switch off eye candy, transparencies or fancy effects/themes,
  • review your running processes, installed apps, panel add-ons etc, 312 is a fair lot for a machine with an old laptop spinner drive and onboard graphics driving 3 screens.
1 Like

Thank you!
I have just 2 screens, I don’t have the ‘2704x1050’ one.
I chose xfce because there are no eye candies and transparencies

There was this issue a while ago, maybe you’re experiencing it


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