• @Laser@feddit.de
      link
      fedilink
      510 months ago

      It’s in the release notes, you add a Wayland driver to your prefix via registry entry and then unset DISPLAY before starting wine.

      https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0

      The Wayland driver is not yet enabled by default. It can be enabled through the HKCU\Software\Wine\Drivers registry key by running:

      wine reg.exe add HKCU\Software\Wine\Drivers /v Graphics /d x11,wayland

      and then making sure that the DISPLAY environment variable is unset.

      Note that the registry entry is per prefix.