mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
SDL_VIDEODRIVER=wayland is still required as of SDL 2.26.2
parent
f8f5e5ea13
commit
78f9f54930
|
@ -43,15 +43,21 @@ You could set them to `wayland_shm` instead, if you want to use software renderi
|
||||||
|
|
||||||
## SDL
|
## SDL
|
||||||
|
|
||||||
As of version 2.0.22, SDL prioritizes the Wayland video driver over X11.
|
SDL3 uses native Wayland [by default](https://github.com/libsdl-org/SDL/commit/f9f7db4e0860).
|
||||||
|
|
||||||
For older versions:
|
SDL2 uses [Xwayland by default](https://github.com/libsdl-org/SDL/commit/254fcc90eb22), so use
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
SDL_VIDEODRIVER=wayland
|
SDL_VIDEODRIVER=wayland
|
||||||
```
|
```
|
||||||
|
|
||||||
NOTE: Steam, most games and other (older) binary applications might not work with `wayland` SDL video driver, due to old bundled SDL library. Unset or tweak for specific applications as needed.
|
NOTE: Steam, most games and other (older) binary applications might not work with `wayland` SDL video driver, due to old bundled SDL library. Unset, tweak for specific applications or force newer SDL via
|
||||||
|
|
||||||
|
```shell
|
||||||
|
SDL_DYNAMIC_API=/usr/lib/libSDL2-2.0.so
|
||||||
|
```
|
||||||
|
|
||||||
|
SDL1 doesn't support native Wayland, so use SDL2 via [sdl12-compat](https://github.com/libsdl-org/sdl12-compat).
|
||||||
|
|
||||||
## Flatpak
|
## Flatpak
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue