flathub / io.github.spacingbat3.webcord

https://flathub.org/apps/details/io.github.spacingbat3.webcord
12 stars 12 forks source link

Fails to launch in KDE Wayland #43

Closed bmhieserich closed 1 year ago

bmhieserich commented 1 year ago

The Flatpak version of Webcord fails to launch in KDE Wayland on OpenSUSE Tumbleweed for me. When attempting to run from the terminal, I am provided with the following output: [10 preload-host-spawn-strategy] Warning: waitpid override ignores groups [10 preload-host-spawn-strategy] Warning: waitpid override ignores groups [10 preload-host-spawn-strategy] Warning: waitpid override ignores groups [3 preload-host-spawn-strategy] Warning: waitpid override ignores groups [3 preload-host-spawn-strategy] Warning: waitpid override ignores groups [3:0526/005302.759560:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory The futex facility returned an unexpected error code. /app/bin/run.sh: line 18: 3 Aborted (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-io.github.spacingbat3.webcord}" zypak-wrapper /app/bin/webcord/usr/bin/webcord $FLAGS "$@" At first this seemed to me to be an issue with improper permissions to access DBus, but granting access via Flatseal does not show any change. The AppImage version of the app works correctly. Looks like a core dump is involved as well. Not sure how to resolve the issue.

EDIT: Also to note, the Flatpak version also works correctly in Xorg.

axtloss commented 1 year ago

Does webcord work if you give it wayland permissions using flatseal and launch it with the --ozone-platform-hint=auto flag?

bmhieserich commented 1 year ago

Yes, when launched in a terminal with that flag it does work. Where would I need to go/edit to have it launch with that flag when opened with a launcher?

axtloss commented 1 year ago

Once the pr in #44 is merged and a new build is published, just upgrading should apply it automatically