I’m impressed how well wine-wayland already works. Some games still have issues with mouse locking, at least Overwatch doesn’t register the at all. But as they said, bugs will be fixed over time.
I have issues with game resolution, when using Wine-Wayland the only resolution available is the one already set for my display, which renders FSR completely useless. As well as this little cursor render bug that sticks a frozen windows cursor on the screen, though I’ve been able to work around this.
Maybe once it’s ready I’ll get my distro to package the staging patches version. I have no way of testing it because my game needs staging patches
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.
How do you make wine run without Xwayland? Just wondering if you could point me to some resource
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.
/me stil trying to get MS Office working under Wine… But this Wine under Wayland is great news! I’m the developer of WineGUI so I’m in!
I’m assuming you probably already know since you’re making WineGUI, but older versions of Office (particularly Office 2010 32bit) are pretty simple to get working. Just need to install some dependencies with Winetricks.
I just realized that 2010 was 14 years ago…
Yea indeed… I try to get MS Office 2019 working… Which is… challenging. Just installing msxxml6 & riched20 won’t do it.
Are Wine apps ran isolated? Because we basically have no viruses on Linux, but I imagine running random of course legally obtained games may be very risky
No, the Linux filesystem is usually mounted as Z: in wine. Sandboxing through e.g. flatpak/bubblewrap with permissions set to only allow access to ~/Games should protect from many viruses.
Yes, but the virus will still run and make a damage around.
See https://wiki.winehq.org/FAQ#How_good_is_Wine_at_sandboxing_Windows_apps.3F from their FAQ
Wine does not sandbox in any way at all. When run under Wine, a Windows app can do anything your user can. Wine does not (and cannot) stop a Windows app directly making native syscalls, messing with your files, altering your startup scripts, or doing other nasty things.
You need to use AppArmor, SELinux or some type of virtual machine if you want to properly sandbox Windows apps.
Note that the winetricks sandbox verb merely removes the desktop integration and Z: drive symlinks and is not a true sandbox. It protects against errors rather than malice. It’s useful for, e.g., keeping games from saving their settings in random subdirectories of your home directory.
So yes, Bottles Flatpak for the win!