-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phoenicis crashes when running from a Wayland session #1698
Comments
Hum interesting. Thank you. Can you try to export this environnement variable before running Phoenicis? export GDK_BACKEND=x11 |
Javafx does not work on Xwayland, unless you use the workaround here javafxports/openjdk-jfx#175. The bug is solved in openjfx12. |
You are right, it works fine with I patched the launcher (https://aur.archlinux.org/cgit/aur.git/plain/fix-launcher-on-wayland.patch?h=phoenicis-playonlinux) at my AUR package (https://aur.archlinux.org/packages/phoenicis-playonlinux/) in order to make it work for everyone. I don't know if you want to add it at official builds too. |
This variable does not have any effect if you're on X11 anyways, right? |
From what I know, it doesn't have any effect on x11. I tested it and it works fine on both Wayland and Xorg Gnome sessions. |
Ok, then we should set it. The question is if we can find a smart solution such that it is used everywhere (I don't think it's possible to do this in Java). |
In fact on OSX, we need to override some environment variables to extend the PATH. Other cases may happen. |
Ok. |
I think this has been fixed in the latest JavaFX release |
@ThanosApostolou if you still have the issue, feel free to re-open. |
Expected behavior
Program should run normally on a Gnome Wayland session (probably using xwayland).
Actual behavior
Running phoenicis crashes (core dumped) with output:
The hs_err_pid13598.log is here: https://pastebin.com/2y1TXwei
Steps to reproduce
System information
I tried version alpha2 both with the provided linux tar.gz and with building the package myself
Arch linux
Openjdk 11.0.1
The text was updated successfully, but these errors were encountered: