As part of the project A set of patches and the winewayland.drv driver have been prepared, enabling the use of Wine in environments based on the Wayland protocol, without the application of XWayland and X11-related components. This includes the possibility of running games and applications that use the Vulkan graphics API and Direct3D versions 9, 10, and 11. Direct3D support is implemented through a layer , translating calls to the Vulkan API. The set also includes patches (Eventfd Synchronization) to enhance the performance of multithreaded games.
The Wine team’s work for Wayland has been tested in Arch Linux and Manjaro environments with the Weston composite server and the AMDGPU driver supporting the Vulkan API. Mesa version 19.3 or higher, built with support for Wayland, Vulkan, and EGL, along with SDL and Faudio libraries, are required for operation, as well as support for or in the system. Full-screen mode can be activated using the F11 hotkey. Currently, OpenGL support, game controllers, GDI applications, and custom cursors are not supported. Launchers do not work.
For developers of distributions, Wine-wayland may be appealing due to the ability to provide a clean Wayland environment with support for running Windows applications, freeing the user from the need to install X11-related packages. In Wayland-based systems, the Wine-wayland package allows for higher performance and responsiveness of games by eliminating unnecessary layers. Additionally, the native use of Wayland helps to avoid security issues X11 (for instance, untrusted games for X11 can spy on other applications — the X11 protocol allows access to all input events and to fake key presses).
Source: opennet.ru
