Programs take two launches to start

So, I have noticed that sometimes it takes two launches to start a program, like steam, spotify, etc.
Why is that ? It’s not like its annoying, just wondering why is that ?

1 Like

what do you mean with 2 launches?
also provide formated output of:
inxi -Fazy

Steam does that on my end too sometimes. It might fail to manage all the successive threads it’s starting…
:person_shrugging:

System:
  Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/vmlinuz-5.15-x86_64
    root=UUID=9e3cea86-3b07-4d0f-9f34-3c3e4b21c50e rw quiet
    resume=UUID=647630c9-8f7b-4c50-8c5a-1ebeff5dffd7 udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: B450M Steel Legend
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: P2.90
    date: 11/27/2019
CPU:
  Info: model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+
    family: 0x17 (23) model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 2341 high: 3965 min/max: 2200/3700 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2693 2: 2101
    3: 2182 4: 1906 5: 2127 6: 1994 7: 3965 8: 2170 9: 2816 10: 2103 11: 2153
    12: 1923 13: 2031 14: 2097 15: 3064 16: 2144 bogomips: 118203
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  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: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia
    v: 470.103.01 alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 07:00.0
    chip-ID: 10de:1e89 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 89 s-size: 731x430mm (28.78x16.93")
    s-diag: 848mm (33.39")
  Monitor-1: DP-0 res: 2560x1440 hz: 60 dpi: 90
    size: 725x428mm (28.54x16.85") diag: 842mm (33.15") modes: N/A
  OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.103.01 direct render: Yes
Audio:
  Device-1: NVIDIA TU104 HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 07:00.1
    chip-ID: 10de:10f8 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 09:00.3
    chip-ID: 1022:1457 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.32-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.49 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc
    bus-ID: 1-10:2 chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter>
  IF: wlp2s0f0u10 state: up mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
  IF-ID-2: virbr0 state: down mac: <filter>
Drives:
  Local Storage: total: 2.05 TiB used: 136.66 GiB (6.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SWORDFISH
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: V9002s45 temp: 33.9 C scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD20EZRZ-00Z5HB0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
Partition:
  ID-1: / raw-size: 222.34 GiB size: 217.79 GiB (97.95%)
    used: 136.6 GiB (62.7%) fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: /boot raw-size: 800 MiB size: 798.4 MiB (99.80%)
    used: 63.3 MiB (7.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 9.77 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
Sensors:
  System Temperatures: cpu: 34.8 C mobo: N/A gpu: nvidia temp: 29 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 26%
Info:
  Processes: 375 Uptime: 1m wakeups: 0 Memory: 15.55 GiB
  used: 2.75 GiB (17.7%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: 1582 note: see --pkg pacman: 1568
  lib: 503 snap: 14 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.15

for example you need to click the program on your menu, or desktop icon twice for it to launch

Maybe, but I don’t see why it would happen almost everytime. I think if it would happen once or twice then yeah, but it’s everytime that I try to launch it.

clicking on the desktop icon twice is the default behavior… so you can check logs… try launching it from the launcher, and when it doesnt launch check logs in ksystemlog app and see if theres something…

Steam is the same for me too, sometimes it doesn’t reach a gui on first launch.

Have you tried launching your programs through cli/terminal to see what/if any errors are thrown?