I am trying to run Obsidian AppImage on my system, but often, it won’t even start up. and gets stuck on this message while the CPU consumption goes crazy.
Loading main app package /tmp/.mount_ObsidiPTECYD/resources/obsidian.asar
But the weird thing is, it usually runs smoothly after I launch Firefox (emphasis on “usually”).
Things I have tried
Have tried running with the options --ozone-platform=wayland --enable-features=UseOzonePlatform,WaylandWindowDecorations
Included these lines in my hyprland.conf exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once =systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
-Included this in my hyprland wrapper export $(dbus-launch)
When it does launch properly, I get this message if that is helpful.
2024-03-25 06:15:12 Loading main app package /tmp/.mount_Obsidi1MMk0m/resources/obsidian.asar
[4335:0325/121512.250753:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[4335:0325/121512.250831:ERROR:select_file_dialog_linux_portal.cc(285)] Failed to read portal version property
2024-03-25 06:15:12 Checking for update using Github
2024-03-25 06:15:13 Success.
2024-03-25 06:15:13 Latest version is 1.5.11
2024-03-25 06:15:13 App is up to date.
Installing the proprietary Nvidia driver seems to have fixed my issue.
This is absurd as hell, I don’t even use my Nvidia card for my display, I use my intel igpu. But hey, as long as it works.