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.
See https://wiki.winehq.org/FAQ#How_good_is_Wine_at_sandboxing_Windows_apps.3F from their FAQ
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.