-
Notifications
You must be signed in to change notification settings - Fork 629
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
[5.0] GLFWException when using Wayland #1452
Comments
What happens if you manually call You could also try manually downloading the latest |
GLFW Version: The GLFW Binaries are present ( The exception is thrown when |
GLFW doesn't support switching between Wayland/X11 at runtime, it's hardcompiled into the binary which it uses. Only recommendation I can give is to use Xwayland. |
@PJB3005 would this mean if we wanted to support Wayland we would need to distribute another glfw binary? Does .net have a RID for Wayland? |
Yes
No Your only real solution is to ship both X11 and Wayland versions for Linux, then detect (probably via env var?) at runtime whether Wayland is used and if so use a This is still quite fragile for a variety of reasons. Really ideally GLFW would just support both at once but... |
|
Ok so there seems like there is a way to fix this issue. |
Moving this to |
@dmsch it would be great if you are able to test the PR that I've created that loads Wayland binaries for GLFW. Though it seems like our implementations of |
Merged the PR, feel free to reopen if |
Description
When the OpenTK application is started in a Wayland environment, a GLFWException is thrown.
Repro steps
Please provide the steps required to reproduce the problem
Related information
Example:
The text was updated successfully, but these errors were encountered: