Launching programs takes long time

hi, I just updated my system recently
there is a problem. some programs (like libre office, kdenlive) take a long time to launch, like 3 or 4 minutes, i have no idea whats wrong with my system, any idea?

Use NVME.
Period.

2 Likes

Sorry, I’ve just misplaced my crystal ball. :crystal_ball:

By the way, inxi -Fza is your and our friend.

4 Likes

Did you install a lot of fonts ?
:footprints:

1 Like

How much space do you have left on your storage? Particularly / — you might need to clean up some old cached Pacman packages, for example. :wink:

1 Like

Not enough RAM in your machine, perhaps?

Without any information to go on, our guess is only as good as yours. :man_shrugging:

1 Like

Just another post asking for system info.

Though I would say the preferred default should be;

inxi -Farz
2 Likes

I think your request will be in vain. The OP has never posted system info in their previous 9 support requests, apart from mentioning they use XFCE.

With insufficient data, you might have to take your best shot at a solution:

3 Likes
System:
  Kernel: 6.6.54-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=038c19e6-aa23-43d7-95fb-1a5dbaea9c41 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: light-locker vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux

Graphics:
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: xfwm4 v: 4.18.0 driver: X: loaded: modesetting,radeon
    alternate: fbdev,vesa dri: crocus,r600 gpu: i915 display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")

Drives:
  Local Storage: total: 1.14 TiB used: 882.4 GiB (75.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Hitachi model: ***
    size: 698.64 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: A0E0 scheme: MBR
Partition:
  ID-1: / raw-size: 250 GiB size: 245.02 GiB (98.01%) used: 89.69 GiB (36.6%)
    fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.

Repos:
  Packages: 1792 pm: pacman pkgs: 1658 libs: 464 tools: octopi,pamac
    pm: flatpak pkgs: 117 pm: snap pkgs: 17
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.telepoint.bg/manjaro/stable/$repo/$arch
    2: https://manjaro.mirror.garr.it/manjaro/stable/$repo/$arch
    3: https://mirror.2degrees.nz/manjaro/stable/$repo/$arch
    4: http://mirror.terrahost.no/linux/manjaro/stable/$repo/$arch
    5: https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch
    6: https://mirror.phoepsilonix.love/manjaro/stable/$repo/$arch
    7: https://mirror.xenyth.net/manjaro/stable/$repo/$arch
    8: https://gsl-syd.mm.fcix.net/manjaro/stable/$repo/$arch
    9: https://muug.ca/mirror/manjaro/stable/$repo/$arch
    10: http://ossmirror.mycloud.services/os/linux/manjaro/stable/$repo/$arch
    11: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    12: http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
    13: https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
    14: https://mirror.funami.tech/manjaro/stable/$repo/$arch
    15: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
    16: https://volico.mm.fcix.net/manjaro/stable/$repo/$arch
    17: https://mirror.csclub.uwaterloo.ca/manjaro/stable/$repo/$arch
    18: https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch
    19: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    20: https://mirror.archlinux.tw/Manjaro/stable/$repo/$arch
    21: https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch
    22: https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
    23: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    24: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
    25: https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
    26: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    27: https://mirror.albony.xyz/manjaro/stable/$repo/$arch
    28: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
    29: https://mirror.alpix.eu/manjaro/stable/$repo/$arch
    30: https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
    31: https://manjaro.mirror.wearetriple.com/stable/$repo/$arch
    32: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    33: https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    34: https://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
    35: https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch
    36: http://ftp.dei.uc.pt/pub/linux/manjaro/stable/$repo/$arch
    37: https://mirrors.jlu.edu.cn/manjaro/stable/$repo/$arch
    38: https://mirror.futureweb.be/manjaro/stable/$repo/$arch
    39: https://linorg.usp.br/manjaro/stable/$repo/$arch
    40: https://mirror.zetup.net/manjaro/stable/$repo/$arch
    41: https://mirrors.xtom.jp/manjaro/stable/$repo/$arch
    42: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    43: http://mirror.fcix.net/manjaro/stable/$repo/$arch
    44: https://mirror.kamtv.ru/manjaro/stable/$repo/$arch
    45: https://ipng.mm.fcix.net/manjaro/stable/$repo/$arch
    46: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    47: http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
    48: https://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    49: http://manjaro.mirrors.uk2.net/stable/$repo/$arch
    50: https://manjaro.kurdy.org/stable/$repo/$arch
    51: https://mirror1.sox.rs/manjaro/stable/$repo/$arch
    52: https://mirror.raiolanetworks.com/manjaro/stable/$repo/$arch
    53: https://manjaro.mirrors.lavatech.top/stable/$repo/$arch
    54: https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch
    55: https://uvermont.mm.fcix.net/manjaro/stable/$repo/$arch
    56: https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
    57: https://edgeuno-bog2.mm.fcix.net/manjaro/stable/$repo/$arch
    58: http://manjaro.grena.ge/stable/$repo/$arch
    59: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    60: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
    61: https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch
    62: https://mirror.kku.ac.th/manjaro/stable/$repo/$arch
    63: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    64: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
    65: https://mirrors2.manjaro.org/stable/$repo/$arch
    66: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
    67: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
    68: https://mirror.init7.net/manjaro/stable/$repo/$arch
    69: https://mirror.bouwhuis.network/manjaro/stable/$repo/$arch
    70: https://mirror.23m.com/manjaro/stable/$repo/$arch
    71: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    72: https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch
    73: https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
    74: https://mirror.easyname.at/manjaro/stable/$repo/$arch
    75: https://fosszone.csd.auth.gr/manjaro/stable/$repo/$arch
    76: https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
    77: https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch
    78: https://mirror.koddos.net/manjaro/stable/$repo/$arch
    79: https://fastmirror.pp.ua/manjaro/stable/$repo/$arch
    80: https://manjaro.repo.cure.edu.uy/stable/$repo/$arch
    81: http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
    82: https://manjaro.mirror.liquidtelecom.com/stable/$repo/$arch
    83: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
    84: https://mirror.alwyzon.net/manjaro/stable/$repo/$arch
    85: https://ziply.mm.fcix.net/manjaro/stable/$repo/$arch
    86: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    87: https://mirror.freedif.org/Manjaro/stable/$repo/$arch
    88: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    89: https://cofractal-ewr.mm.fcix.net/manjaro/stable/$repo/$arch
    90: https://mirrors.manjaro.org/repo/stable/$repo/$arch
    91: https://mirrors.xtom.de/manjaro/stable/$repo/$arch
    92: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    93: https://mirror.ufro.cl/manjaro/stable/$repo/$arch
    94: https://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
    95: https://quantum-mirror.hu/mirrors/pub/manjaro/stable/$repo/$arch
    96: https://manjaro.ynh.ovh/stable/$repo/$arch
    97: https://mirrors.xtom.ee/manjaro/stable/$repo/$arch
    98: https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch
    99: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    100: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    101: https://mirror.it4i.cz/manjaro/stable/$repo/$arch
    102: https://mirrors.up.pt/pub/manjaro/stable/$repo/$arch
    103: https://mirror.ibakerserver.pt/manjaro/stable/$repo/$arch
    104: https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch
    105: https://mirrors.nic.cz/manjaro/stable/$repo/$arch
    106: http://ftp.uni-kl.de/pub/linux/manjaro/stable/$repo/$arch
    107: https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
    108: https://manjarolinux-mirror.cloud.mu/stable/$repo/$arch
    109: https://mirror.leitecastro.com/manjaro/stable/$repo/$arch
    110: https://mirror.aarnet.edu.au/pub/manjaro/stable/$repo/$arch
Info:
  Memory: total: 8 GiB available: 7.69 GiB used: 2.21 GiB (28.7%)
  Processes: 202 Power: uptime: 9m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 3.06 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 256 default: graphical tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Bash v: 5.2.37
    running-in: xfce4-terminal inxi: 3.3.36

Are you maybe running out of RAM from time to time due to missing swap?

4 Likes

no

top - 21:38:12 up 22 min,  2 users,  load average: 0.74, 1.15, 0.87
Tasks: 199 total,   1 running, 198 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.0 us,  3.0 sy,  0.0 ni, 91.3 id,  0.1 wa,  0.3 hi,  0.2 si,  0.0 st 
MiB Mem :   7877.1 total,   4141.3 free,   2429.1 used,   1835.1 buff/cache     
MiB Swap:      0.0 total,      0.0 free,      0.0 used.   5447.9 avail Mem

I have 4 gig free

Anyway, I would recommend to establish a swap partition or swap file, it’s pretty good documented in the wiki how to do so.

4 Likes

Yes :+1:
And please :mag: for SSD 870 EVO
:footprints:

1 Like

Don’t let the usage percentage fool you. The memory may not be in use by applications, but it is still being used for caching and buffering, and with only 8 GiB of RAM and no swap, the system isn’t going to be doing a whole lot of caching, which does have an impact on performance.

Likewise, with little or no space fore buffering, all write operations will be very slow, and given that I/O is uninterruptible, any write operation will pause the execution of other processes.

2 Likes

so why does it happen like only running libreoffice and not wps office?

I do not have or use WPS Office, and I rarely ever fire up LibreOffice, but it might be related to their respective memory footprint. LibreOffice is quite a heavyweight.

1 Like

What is your output of

pacman -Qs xdg-desktop

Make sure to uninstall xdg-desktop-portal-gnome and xdg-desktop-portal-kde if they show up.

The only one useful is xdg-desktop-portal and xdg-desktop-portal-gtk in your case.

2 Likes

This, and when RAM runs low, stuff has to be “dumped” by the system to free space when you try to open something else.

Only so many biscuits will fit in the tin, so to speak. No headroom and something has to give way. At least that’s the way I understand it.

2 Likes