Skip to content
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

sdl fails to initialize on wayland #453

Open
Archargelod opened this issue Mar 27, 2024 · 1 comment
Open

sdl fails to initialize on wayland #453

Archargelod opened this issue Mar 27, 2024 · 1 comment

Comments

@Archargelod
Copy link

Archargelod commented Mar 27, 2024

LibreSprite version
v1.0-dev
Describe the bug

App doesn't work on wayland.
Error popups:

Unable to create a user-interface display.
Details: failed to create an EGL window surface
Error initializing module: gui
To Reproduce

Try to launch libresprite appimage in sway session.

Expected behaviour

No error. Should atleast fallback to xWayland.

OS/Hardware
  • Operative System: OpenSuse Tumbleweed
  • CPU: AMD x64_86 Turks
Workaround

This forces libresprite to use xWayland:

$ env -u SDL_VIDEODRIVER libresprite.appimage
@kawaii-ghost
Copy link

kawaii-ghost commented May 23, 2024

Don't use LibreSprite.AppImage as it bundled with outdated SDL. https://github.com/kawaii-ghost/LibreSprite/releases/tag/1.0 Try this build instead, it uses dynamic link so it can use SDL host library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants