WINE 9.0 improves ability to run 32-bit Windows apps on 64-bit-only xNix
- Reference: 1705590010
- News link: https://www.theregister.co.uk/2024/01/18/wine_90_is_out/
- Source link:
WINE releases have become pleasantly regular in the last half-a-dozen years. [1]WINE 9.0 was released on Tuesday, almost a year after [2]we reported on WINE 8.0 and two years after we [3]reported on WINE 7.0 .
The latest version consolidates some of the changes that we wrote about in those previous installments. Internally, it [4]"thunks" 32-bit Windows API calls to 64-bit ones before it translates them to Unix API calls, which the developers call WoW64 after the [5]Windows feature of the same name . As the release announcement puts it:
This is a major milestone that marks the completion of the multi-year re-architecturing work to convert modules to PE format and introduce a proper boundary between the Windows and Unix worlds.
("PE format" here refers to Microsoft's Portable Executable format, which [6]we explained in depth a couple of years back.)
The announcement continues:
This means that it is possible to run 32-bit Windows applications on a purely 64-bit Unix installation. This is called the new WoW64 mode , as opposed to the old WoW64 mode where 32-bit applications run inside a 32-bit Unix process.
No potential for confusion there, then.
For now, although most major Linux distros only exist in 64-bit editions, all still include support for 32-bit libraries and programs… but all the big players are looking at dropping that. Canonical considered [7]dropping 32-bit app support from Ubuntu in 2019, but backtracked. Fedora [8]is still evaluating it . It is very likely that Debian's next release, [9]version 13 "Trixie" will have no x86-32 edition , and [10]FreeBSD 15 won't either .
[11]
But WINE doesn't just run on Linux and FreeBSD; it also works on Apple macOS. The last release of macOS 10, [12]10.15 "Catalina" dropped 32-bit support back in 2019, and none of the five versions since support x86-32 code.
[13]
[14]
Being able to run 32-bit Windows binaries on macOS 11 through 14 is quite a boon as it is, but there's more:
The completion of the PE/Unix separation means that it's possible to run existing Windows binaries on ARM64.
This doesn't mean that WINE translates x86 code to Arm:
No emulation library is provided with Wine at this point, but an external library that exports the interface can be used.
MacOS on Arm64 offers that as standard in the form of [15]Rosetta 2 translator , which can even [16]be called from within Linux VMs . Folks running Linux on Arm64 will have to provide their own, but the Wine developers point at [17]FEX-Emu for this.
Meanwhile, in Linux land, there's also support for the ever-growing Wayland display protocol:
There is an experimental Wayland graphics driver. It's still a work in progress, but already implements many features, such as basic window management, multiple monitors, high-DPI scaling, relative motion events, and Vulkan support.
Much like 32-bit binary support, most Wayland-based distros still support X.11 apps via XWayland, but a direct Wayland rendering path helps performance. That matters to gamers, streamers, and those working with video, and thanks to Valve's hard work on SteamOS, [18]the performance of Windows apps on Linux is improving rapidly.
There are lots of other changes in this release. Also improved are Postscript handling, 3D graphics, audio and video handling, desktop integration, support for MSHTML rendering via Gecko, Mon and .NET support, and more.
[19]WINE Windows translation layer has matured like a fine... you get the picture
[20]Version 7 of WINE is better than ever at running Windows apps where they shouldn't
[21]Unbelievably clever: Redbean 2 – a single-file web server that runs on six OSes
[22]Out of Steam? Wine draining away? Ubuntu's 64-bit-only x86 decision is causing migraines
However, you should note that both the 64-bit-only and Wayland support, two of the key features, remain optional: you can use them in the stable release version, but you will have to explicitly enable them. The stable releases of WINE are cautious things, and mostly, its default settings avoid enabling things which might conceivably break anything for anyone. Wine-Stable is the version you will generally find in your Linux distro's repositories.
If you want fancy features that are still under active development, there is a separate branch, called [23]Wine-Staging . If even that isn't fresh enough for you, there is also the -development branch, which gets a new release about every two weeks, as the [24]WineHQ FAQ describes.
As ever, if you want to know if a particular application or game will work, check the [25]Wine Application Database first. There are also helper apps that make it easier to get stuff running, such as the [26]Winetricks helper script which can automatically install needed Windows dependencies for specific apps.
[27]
If all this sounds like too much work, and you just want something to install and work – or you want to financially support WINE development – then [28]as it has for decades , CodeWeavers' CrossOver makes it much easier… on Linux, on ChromeOS, and [29]on Macs as well . ®
Get our [30]Tech Resources
[1] https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0
[2] https://www.theregister.com/2023/02/03/wine_80_dxvk_21/
[3] https://www.theregister.com/2022/01/19/wine_7/
[4] https://blogs.stonesteps.ca/1/p/20
[5] https://learn.microsoft.com/en-us/windows/win32/winprog64/wow64-implementation-details
[6] https://www.theregister.com/2022/06/20/redbean_2_a_singlefile_web/
[7] https://www.theregister.com/2019/06/24/steam_wine_ubuntu_32_bit/
[8] https://www.theregister.com/2022/03/10/fedora_inches_closer_to_dropping/
[9] https://www.theregister.com/2023/12/19/debian_to_drop_x86_32/
[10] https://www.theregister.com/2023/10/24/freebsd_14_rc2/
[11] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZalZPukNA7D89yBABjuipgAAAMs&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[12] https://www.theregister.com/2019/10/08/adobe_catalina/
[13] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZalZPukNA7D89yBABjuipgAAAMs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[14] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZalZPukNA7D89yBABjuipgAAAMs&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[15] https://www.theregister.com/2020/11/18/apple_silicon_m1_mac_compatibility/
[16] https://www.theregister.com/2022/06/09/apple_linux_support_macos/
[17] https://fex-emu.com/
[18] https://www.theregister.com/2023/09/27/osseu_steam_os_3/
[19] https://www.theregister.com/2023/02/03/wine_80_dxvk_21/
[20] https://www.theregister.com/2022/01/19/wine_7/
[21] https://www.theregister.com/2022/06/20/redbean_2_a_singlefile_web/
[22] https://www.theregister.com/2019/06/24/steam_wine_ubuntu_32_bit/
[23] https://wiki.winehq.org/Wine-Staging
[24] https://wiki.winehq.org/Wine_User's_Guide#Wine_from_WineHQ
[25] https://appdb.winehq.org/
[26] https://wiki.winehq.org/Winetricks
[27] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZalZPukNA7D89yBABjuipgAAAMs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[28] https://www.theregister.com/2011/01/29/codeweavers_impersonator/
[29] https://www.theregister.com/2020/11/19/crossover_apple_m1/
[30] https://whitepapers.theregister.com/
What windows version does it report as
I am curous what windows version it reports itself as, and whether there are specific applications I might have to jump through hoops to have work properly on Wine in Linux. I'd set it up in a VM, probably.
Typical would be TAX SOFTWARE, which irritatingly requires newer and newer versions of windows to work. So far 10 is required but eventually I might actually need to go buy an El Cheapo CPU box with winders 11 on it JUST to do taxes (including corporate taxes, so there ya go). I guess I can try it, see what happens. But with latest/greatest MS shared components (read: CRAP) needed to run the latest version [probably] who KNOWS what incompatibilities lie in wait...
Music to my ears
Right now, as a freelance programmer and consultant, I am tied to Windows. As a gamer, I get along fine with that, but knowing that there is future where I will be retired and able to enjoy top-notch performance without Redmond stupidity is a balm that soothes my nerves.
Keep up the good work, guys. I'll be joining the ranks soon enough.