Wine on Wayland: A year in review (and a look ahead) (www.collabora.com)
from joojmachine@lemmy.ml to linux@lemmy.ml on 31 Jan 2024 00:48
https://lemmy.ml/post/11271426

#linux

threaded - newest

melroy@kbin.melroy.org on 31 Jan 2024 03:13 next collapse

/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!

leopold@lemmy.kde.social on 31 Jan 2024 05:38 collapse

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.

Gebruikersnaam@lemmy.ml on 01 Feb 2024 19:36 collapse

I just realized that 2010 was 14 years ago…

melroy@kbin.melroy.org on 05 Feb 2024 21:32 collapse

Yea indeed.. I try to get MS Office 2019 working.. Which is... challenging. Just installing msxxml6 & riched20 won't do it.

melroy@kbin.melroy.org on 05 Feb 2024 21:32 collapse

Ps. And don't get me started on Office 2021.

iopq@lemmy.world on 31 Jan 2024 05:00 next collapse

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

Laser@feddit.de on 31 Jan 2024 07:09 collapse

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 on 31 Jan 2024 10:18 collapse

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

Laser@feddit.de on 31 Jan 2024 10:30 collapse

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

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 on 31 Jan 2024 11:59 collapse

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

Chewy7324@discuss.tchncs.de on 31 Jan 2024 10:53 next collapse

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.

Rustmilian@lemmy.world on 01 Feb 2024 13:36 collapse

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.

Pantherina@feddit.de on 01 Feb 2024 16:45 collapse

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

Chewy7324@discuss.tchncs.de on 01 Feb 2024 16:58 collapse

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.

dukatos@lemm.ee on 01 Feb 2024 20:25 collapse

Yes, but the virus will still run and make a damage around.

equivocal@lemm.ee on 01 Feb 2024 20:42 collapse

See wiki.winehq.org/FAQ#How_good_is_Wine_at_sandboxin… from their FAQ

Pantherina@feddit.de on 01 Feb 2024 23:07 collapse

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!