Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77995 - [obsidian] Does not work with GNOME (GTK 4)
Attached to Project:
Community Packages
Opened by Thomas (uhthomas) - Saturday, 25 March 2023, 17:17 GMT
Last edited by Toolybird (Toolybird) - Saturday, 06 May 2023, 01:46 GMT
Opened by Thomas (uhthomas) - Saturday, 25 March 2023, 17:17 GMT
Last edited by Toolybird (Toolybird) - Saturday, 06 May 2023, 01:46 GMT
|
DetailsDescription:
Obsidian doesn't run with GNOME. ``` ❯ obsidian 2023-03-25 17:14:43 Loading main app package /usr/lib/obsidian/obsidian.asar (process:1178489): Gtk-ERROR **: 17:14:43.145: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported zsh: trace trap (core dumped) obsidian ``` Additional info: * package version(s) ``` ❯ paru -Q gnome-shell obsidian gnome-shell 1:43.3-2 obsidian 1.1.16-1 ``` * config and/or log files etc. N/A * link to upstream bug report, if any N/A Steps to reproduce: Install GNOME and Obsidian. Try to run Obsidian. |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 06 May 2023, 01:46 GMT
Reason for closing: Upstream
Additional comments about closing: See comments
Saturday, 06 May 2023, 01:46 GMT
Reason for closing: Upstream
Additional comments about closing: See comments
> core dumped
This is a closed source app. But please get a backtrace [1] to see if it sheds any light on where it goes wrong on your system.
[1] https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod
> --enable-features=UseOzonePlatform
> --ozone-platform=wayland
> --enable-wayland-ime
If you experience the same coredump problem. You can try the aur/electron22-bin and launch your app with the following command
> exec /bin/electron22 /usr/lib/obsidian/app.asar --enable-wayland-ime --ozone-platform=wayland "$@"
It helps my obsidian to work. And this is the contribution from q234rty. A fellow archlinux user in telegram group archlinuxcn
Still no crash for me even with those flags.
Hi, Toolybird. Yes, I also have problem reproducing it on other computers, therefore I just offer more information and provide a temporary workaround. According to q234rty, who has helped me with this, he suspects the compile problem of electron from the community repo. I've helped him to obtain some debug info, and he might raise the case if he is confident with that hypothesis.
I had followed https://wiki.archlinux.org/title/wayland#Command_line_flags and put "--gtk-version=4" in "~/.config/electron-flags.conf". Removing this line allows Obsidian to start.
That said, I'm sorry to hear you're also having issues even without that flag. Should we open an upstream issue with Obsidian?
Ahh, that's the key. It now crashes for me when that flag is present. I tried to get a backtrace but my VM doesn't have enough RAM and gdb gets killed.
a) try contacting upstream
and/or
b) document the problem in the Wiki.