• Laser@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    I’m on 9.0 staging and can use wine with Wayland, but not everything works, window bars etc look somewhat off and some games don’t start at all, like Stardew Valley. Other games I tried failed to hide the cursor. Others worked just fine.

    • Emanuel@lemmy.eco.br
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      How do you make wine run without Xwayland? Just wondering if you could point me to some resource

      • Laser@feddit.de
        link
        fedilink
        arrow-up
        5
        ·
        11 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.

        • Emanuel@lemmy.eco.br
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Thank you, last I checked on the progress on the wayland driver was around this time last year