The SDL developers have canceled the default Wayland switch in the 2.0.22 release

In the SDL (Simple DirectMedia Layer) library code base, a previously accepted change was canceled, which by default activates work based on the Wayland protocol in environments that provide simultaneous support for Wayland and X11. Thus, in release 2.0.22, as before, Wayland environments with the XWayland component will default to output using the X11 protocol.

It is noted that the SDL code associated with Wayland support is stable, but some problems remain unresolved in third-party applications. For example, there are regressions in games and issues with using NVIDIA drivers, event handling in libwayland, loading plugins in libdecor, and running the Steam app.

After assessing the current situation, the developers decided not to rush and not include Wayland by default in the SDL 2.0.22 release. For those who want to use Wayland, they can set the environment variable "SDL_VIDEODRIVER=wayland" before starting the application, or add the function 'SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11")' to the code before calling SDL_Init():

Source: opennet.ru

Add a comment