The Obsidian flatpak always needs at least two attempts to start. Unfortunately, I cannot discern from the console readout what changes between attempts that leads to the last attempts succeding where the previous one(s) failed. As of now, I am unclear as to whether this warrants opening a Github issue.
I thought it made sense to first ask for guidance on whether it’s a distro- or user-related issue, before I go pester the maintainers.
Steps to reproduce:
- Run Obsidian via command
- When the previous attempt fails, run again
- Repeat until success
❯ flatpak run md.obsidian.Obsidian
Deleting cache directory: /home/username/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: --enable-blink-features=MiddleClickAutoscroll
Debug: Additionally, user gave:
❯ flatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments: --enable-blink-features=MiddleClickAutoscroll
Debug: Additionally, user gave:
[13:0128/120131.162541:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
❯ flatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments: --enable-blink-features=MiddleClickAutoscroll
Debug: Additionally, user gave:
[13 zypak-helper] Wait found events, but sd-event found none
[13:0128/120137.619471:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
❯ flatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments: --enable-blink-features=MiddleClickAutoscroll
Debug: Additionally, user gave:
[13:0128/120147.005420:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
2024-01-28 11:01:47 Loading main app package /app/resources/obsidian.asar
Updates disabled.
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 12:01:48.625: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:01:48.625: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:01:48.823: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:01:48.876: Failed to load module "canberra-gtk-module"
[13:0128/120149.425519:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
[13:0128/120149.425608:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
❯ flatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments: --enable-blink-features=MiddleClickAutoscroll
Debug: Additionally, user gave:
[13 zypak-helper] Wait found events, but sd-event found none
[13:0128/120156.396189:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
2024-01-28 11:01:56 Loading main app package /app/resources/obsidian.asar
Updates disabled.
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 12:01:56.574: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:01:56.574: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:01:56.617: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:01:56.618: Failed to load module "canberra-gtk-module"
[13:0128/120156.636782:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
[13:0128/120156.636858:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
❯ flatpak run md.obsidian.Obsidian
Deleting cache directory: /home/username/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: --enable-blink-features=MiddleClickAutoscroll
Debug: Additionally, user gave:
[14:0128/120209.412953:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
2024-01-28 11:02:09 Loading main app package /app/resources/obsidian.asar
Updates disabled.
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 12:02:09.587: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:02:09.587: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:02:09.645: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:02:09.646: Failed to load module "canberra-gtk-module"
[14:0128/120209.665222:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
[14:0128/120209.665321:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Only the sixth attempt was successful.
inxi:
System:
Kernel: 5.15.147-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=8ff3f355-0cc6-47a5-a42d-50e7f9d612a1 rw quiet
udev.log_priority=3
Desktop: GNOME v: 45.3 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM v: 45.0.1
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B350M PRO-VDH (MS-7A38) v: 2.0
serial: <superuser required> UEFI-[Legacy]: American Megatrends v: A.C0
date: 04/24/2018
Battery:
Message: No system battery data found. Is one present?
Memory:
System RAM: total: 16 GiB available: 15.58 GiB used: 3.82 GiB (24.6%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ gen: 2
level: v3 note: check built: 2018-21 process: GF 12nm family: 0x17 (23)
model-id: 8 stepping: 2 microcode: 0x800820D
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB
desc: 2x8 MiB
Speed (MHz): avg: 1463 high: 1991 min/max: 1550/3400 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1447 2: 1991
3: 1769 4: 1343 5: 1330 6: 1333 7: 1380 8: 1457 9: 1377 10: 1375 11: 1379
12: 1377 bogomips: 81617
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 sme 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
Vulnerabilities:
Type: gather_data_sampling status: Not affected
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_rstack_overflow mitigation: safe RET
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, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 545.29.06
alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of
2023-11; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 1f:00.0
chip-ID: 10de:1c03 class-ID: 0300
Device-2: WaveRider USB Live camera driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.3:10
chip-ID: 0c46:64ab class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :1
screens: 1
Screen-1: 0 s-res: 1920x1656 s-dpi: 96 s-size: 508x438mm (20.00x17.24")
s-diag: 671mm (26.41")
Monitor-1: DVI-D-0 pos: primary,top-left res: 1920x1080 hz: 60 dpi: 96
size: 510x290mm (20.08x11.42") diag: 587mm (23.1") modes: N/A
Monitor-2: HDMI-0 pos: bottom-r res: 1024x576 hz: 60 dpi: 144
size: 180x130mm (7.09x5.12") diag: 222mm (8.74") modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
memory: 5.86 GiB
Audio:
Device-1: NVIDIA GP106 High Definition Audio driver: snd_hda_intel v: kernel
pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 1f:00.1 chip-ID: 10de:10f1
class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 21:00.3 chip-ID: 1022:1457 class-ID: 0403
Device-3: C-Media Q9-1 driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.1.2:12
chip-ID: 0d8c:0135 class-ID: 0300
Device-4: WaveRider USB Live camera driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.3:10
chip-ID: 0c46:64ab class-ID: 0102 serial: <filter>
API: ALSA v: k5.15.147-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: JACK v: 1.9.22 status: off tools: N/A
Server-3: PipeWire v: 1.0.1 status: active with: 1: pipewire-pulse
status: active 2: pipewire-media-session status: active
tools: pactl,pw-cat,pw-cli
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 1b:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp27s0 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>
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 2.85 TiB used: 2.4 TiB (84.2%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVPW128HEGM-00000
size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: CXZ7300Q temp: 25.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM003-1CH162
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: CC47 scheme: MBR
ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM003-1SB102
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: CC43 scheme: MBR
ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000DM010-2EP102
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: CC43 scheme: MBR
Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GH24NSD1 rev: LW00
dev-links: cdrom
Features: speed: 12 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / raw-size: 73.07 GiB size: 71.37 GiB (97.68%) used: 59.43 GiB (83.3%)
fs: ext4 dev: /dev/sdc2 maj-min: 8:34 label: N/A
uuid: 8ff3f355-0cc6-47a5-a42d-50e7f9d612a1
ID-2: /home raw-size: 176.53 GiB size: 172.69 GiB (97.83%)
used: 115.38 GiB (66.8%) fs: ext4 dev: /dev/sdc3 maj-min: 8:35 label: N/A
uuid: 9bcccc2e-0b04-4787-8df2-eebe869b10ac
ID-3: /mnt/01D65B8863EA07D0 raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 827.77 GiB (88.9%) fs: ntfs dev: /dev/sdb5 maj-min: 8:21 label: Fun
uuid: 01D65B8863EA07D0
ID-4: /mnt/1240B20840B1F299 raw-size: 930.88 GiB size: 930.88 GiB (100.00%)
used: 850 GiB (91.3%) fs: ntfs dev: /dev/sda2 maj-min: 8:2 label: Haupt
uuid: 1240B20840B1F299
ID-5: /mnt/2E94400F764BAE09 raw-size: 674.27 GiB size: 674.27 GiB (100.00%)
used: 596.3 GiB (88.4%) fs: ntfs dev: /dev/sdc1 maj-min: 8:33 label: Games
uuid: 2E94400F764BAE09
ID-6: /mnt/4852B448067818F6 raw-size: 7.45 GiB size: 7.45 GiB (100.00%)
used: 4.58 GiB (61.5%) fs: ntfs dev: /dev/sdc4 maj-min: 8:36 label: Portal
uuid: 4852B448067818F6
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 119.24 GiB fs: ntfs label: SSD
uuid: 01E5FDDA27BCE01E
ID-2: /dev/sda1 maj-min: 8:1 size: 100 MiB fs: ntfs
label: System-reserviert uuid: 60E8B001E8AFD416
ID-3: /dev/sda3 maj-min: 8:3 size: 545 MiB fs: ntfs label: N/A
uuid: C078DA9578DA8994
ID-4: /dev/sdb1 maj-min: 8:17 size: 1 KiB fs: <superuser required>
label: N/A uuid: N/A
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 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: Genesys Logic Hub ports: 4 rev: 2.1
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
chip-ID: 05e3:0610 class-ID: 0900
Hub-3: 1-1.1:11 info: Genesys Logic Hub ports: 4 rev: 2.1
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
chip-ID: 05e3:0610 class-ID: 0900
Device-1: 1-1.1.2:12 info: C-Media Q9-1 type: audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
chip-ID: 0d8c:0135 class-ID: 0300
Device-2: 1-1.1.4:13 info: Yubicom Yubikey 4/5 OTP+U2F+CCID
type: keyboard,HID,smart card driver: hid-generic,usbhid interfaces: 3
rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 30mA
chip-ID: 1050:0407 class-ID: 0b00
Device-3: 1-1.3:10 info: WaveRider USB Live camera type: video,audio
driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
chip-ID: 0c46:64ab class-ID: 0102 serial: <filter>
Device-4: 1-3:3 info: Super Gate USB KB type: keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s)
lanes: 1 mode: 1.0 power: 500mA chip-ID: 05d5:624c class-ID: 0300
Device-5: 1-4:6 info: Razer USA RZ01-0321 Gaming Mouse [DeathAdder V2]
type: mouse,keyboard driver: razermouse,usbhid interfaces: 4 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
chip-ID: 1532:0084 class-ID: 0300
Hub-4: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-6: 4-0:1 info: super-speed hub ports: 4 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
Sensors:
System Temperatures: cpu: 34.4 C mobo: N/A gpu: nvidia temp: 50 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
Processes: 390 Uptime: 29m wakeups: 0 Init: systemd v: 255 default: graphical
tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: 2009
pm: pacman pkgs: 1931 libs: 550 tools: gnome-software,pamac,yay pm: flatpak
pkgs: 75 pm: snap pkgs: 3 Shell: Zsh v: 5.9 running-in: kgx inxi: 3.3.31