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

SDL2 game doesn't launch with "SDL_VIDEODRIVER=wayland" set in launch options #1331

Open
user1-github opened this issue Aug 22, 2024 · 2 comments

Comments

@user1-github
Copy link

user1-github commented Aug 22, 2024

The game in question is Red Eclipse which unlike most other native Linux games, doesn't bundle its own SDL2 and uses the system one instead. That's why it shouldn't have problems running with SDL_VIDEODRIVER=wayland. I also see that Steam Flatpak has Wayland permission.

@Mershl
Copy link

Mershl commented Jan 8, 2025

Do you still see this issue? using latest Flatpak Steam and launch parameters SDL_VIDEODRIVER=wayland %command% for Red Eclipse produces a Wayland native window, goes ingame and plays nice for me (tested on mesa + AMDGPU).

I was quite surprised that it works as I still struggle to get CS2 running with SDL_VIDEODRIVER=wayland on Flatpak Steam - it works on Native Steam...

@user1-github
Copy link
Author

Do you still see this issue? using latest Flatpak Steam and launch parameters SDL_VIDEODRIVER=wayland %command% for Red Eclipse produces a Wayland native window, goes ingame and plays nice for me (tested on mesa + AMDGPU).

I was quite surprised that it works as I still struggle to get CS2 running with SDL_VIDEODRIVER=wayland on Flatpak Steam - it works on Native Steam...

Unfortunately I can't test this right now, since I currently don't use Steam Flatpak. But if it works for you, I guess this can be closed? (I also have AMD).

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

No branches or pull requests

2 participants