• Laser@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    8 个月前

    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
      ·
      8 个月前

      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
        ·
        8 个月前

        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
          ·
          8 个月前

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