News: 1675416612

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

WINE Windows translation layer has matured like a fine... you get the picture

(2023/02/03)


The WINE Project has reached version 8.0 and DXVK version 2.1 of its Vulkan-based DirectX translation layer. If you'd give Linux a go except for one or two pesky but necessary apps, it's worth a try.

Just over a year ago, we [1]covered the release of WINE 7.0 and it's been working smoothly for us ever since. Now WINE 8.0 is here, and The Reg FOSS desk's trusty Ubuntu machine upgraded itself without even asking – and it still works just fine.

Like Linux itself, WINE has matured rather nicely in recent years, and the result is that things are getting boring – in the good way. You just install it, which is generally little hassle, and then it just works and keeps just working.

A random Windows app – Ability Office 11, in this case – working smoothly on Ubuntu 22.04 thanks to WINE 8

As a result, there are relatively few big-bang features in the [2]release notes . All of WINE can now be built as Windows-style "Portable Executables" rather than [3]the native Linux format of ELF executables . This important step has taken four years of work, and while on its own there's not much visible benefit, it cleans up the split between the Windows-like parts of WINE and the underlying UNIX-native parts. This should help WINE to support 32-bit Windows programs on 64-bit OSes which themselves lack 32-bit support.

Canonical [4]planned to remove 32-bit app support from Ubuntu in 2019, but [5]backtracked after users complained. Apple went ahead and [6]dropped 32-bit support from macOS Catalina the same year.

[7]

Work is still under way on removing the dependence on 32-bit libraries, but for now, WINE 8 has what's described as "an experimental 'Windows-like' WoW64 mode," which may not work for all apps, but should mean that you can at least try to start a 32-bit Windows program under WINE 8 even if the underlying OS doesn't support 32-bit binaries at all – including macOS 10.15 and later. This should also improve x86 emulation on 64-bit Arm machines.

[8]

[9]

Other improvements include better DirectX and .NET support, with WINE's Mono engine updated to version 7.4.0. Support for Common Controls version 6 means better theming and HiDPI display support, which includes a new dark mode.

The WINE Project maintains three different branches – winehq-stable , winehq-devel and winehq-staging – as the project's own wiki [10]explains . Last January, we installed the new stable version, which at that time was 7.0. Since then, roughly every couple of months, the project puts out a new point release for that stable version, fixing minor bugs and issues but not changing the version number.

[11]helloSystem 0.8: A friendly, all-graphical FreeBSD

[12]Unix is dead. Long live Unix!

[13]Version 5 of the Endless OS enters testing

[14]Fedora 38 is finally taking shape

In contrast, the development branch sees a new point release every couple of weeks , and the staging branch is in almost constant flux. As we installed a stable version, it didn't change for nearly a year until this new release appeared, and then it automatically got upgraded along with the rest of the OS. That's one of the small joys of using an OS with an integrated package manager: so long as software comes from properly configured external repositories, such as the WINE's [15]Ubuntu repo , those apps get updated automatically along with the rest of the OS. The handy deb-get tool, which we [16]described last year , automates this process for you.

For the most part, it's boring and just works, like many modern distros and like WINE itself. So last week, WINE 8 just appeared, and my lone Windows application just kept on working fine. This particular vulture doesn't need or want many Windows apps, and keeps only a copy of MS Word 2003 around, just for its outliner which helps with drafting larger articles. With the entire application category of [17]outliners fading away this century, the one in MS Word is almost the last decent intrinsic (that is, single-pane) outliner standing, and Word 2003 is the last usable version of the app before it was cursed with the ribbon-based "fluent" interface.

[18]

For testing purposes, though, I grabbed a trial version of the latest [19]Ability Office , which worked first time without issues.

DXVK

Last week also saw the release of [20]version 2.1 of [21]DXKV , which translates Direct3D 9, 10 and 11 API calls to [22]Vulkan calls. As The Reg [23]covered when version 1.0 appeared , Vulkan is a cross-platform 3D graphics API, essentially the modern successor to OpenGL. Direct3D-based Windows games running under WINE on Linux can use DXVK to tap into hardware-accelerated 3D graphics, without the game being written for Linux or needing any Linux support.

The reason for the more R&D effort going into such tools is that a new commercial market is growing in significance: running Windows games on Linux with devices such as [24]Valve's Steam Deck handheld games console . For any ardent non-gamers out there, Valve's Steam is an online video games store, which runs on Windows, Linux, macOS, iOS and Android. After [25]some unfortunate early hiccups , the Steam service now allows quite a few Windows games to run happily – and quickly – on Linux boxes. Valve's [26]Linux-based SteamOS has been around for a decade but the Steam Deck is doing rather well, and that means lots of owners running paid-for Windows apps on Linux machines.

Which in turn means money trickles down to the libraries and tools to make this happen because paying customers expect a smooth, polished experience. And that in turn should benefit corporate customers who are rolling out Linux network clients, but occasionally encounter a stubborn Windows-only app that some staff need.

Yes, of course, you can simply run Windows in a VM and put the app on that, and the VM could in fact run on a terminal server in a datacenter somewhere – but doing it that way means that you need a Windows license for every VM. If WINE can run the app well enough, that could save a lot of money.

[27]

WINE's [28]compatibility database looks better with every release, and if things don't work out of the box, there's also [29]Winetricks to help. If that seems like too much effort, but you don't mind spending a little to save the hassle, Codeweavers' [30]Crossover makes it very much easier, and it even supports ChromeOS. ®

Get our [31]Tech Resources



[1] https://www.theregister.com/2022/01/19/wine_7/

[2] https://www.winehq.org/announce/8.0

[3] https://www.theregister.com/2022/06/20/redbean_2_a_singlefile_web/

[4] https://www.theregister.com/2019/06/19/ubuntu_axes_i386_support/

[5] https://www.theregister.com/2019/10/17/canonical_releases_ubuntu_1910_eoan_ermine/

[6] https://www.theregister.com/2019/10/08/adobe_catalina/

[7] 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=2Y9zpUMQrFlr94jxc-DHmZwAAAAQ&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[8] 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=44Y9zpUMQrFlr94jxc-DHmZwAAAAQ&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[9] 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=33Y9zpUMQrFlr94jxc-DHmZwAAAAQ&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[10] https://wiki.winehq.org/Wine_User%27s_Guide#Wine_from_WineHQ

[11] https://www.theregister.com/2023/01/31/hellosystem_08/

[12] https://www.theregister.com/2023/01/17/unix_is_dead/

[13] https://www.theregister.com/2023/01/12/endless_os_5/

[14] https://www.theregister.com/2023/01/11/fedora_38_taking_shape/

[15] https://wiki.winehq.org/Ubuntu

[16] https://www.theregister.com/2022/10/13/zinc_ubuntu_remix/

[17] http://outliners.com/default.html

[18] 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=44Y9zpUMQrFlr94jxc-DHmZwAAAAQ&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[19] https://www.ability.com/

[20] https://github.com/doitsujin/dxvk/releases/tag/v2.1

[21] https://github.com/doitsujin/dxvk

[22] https://www.vulkan.org/

[23] https://www.theregister.com/2016/02/16/khronos_releases_vulkan_10_open_graphics_specification/

[24] https://www.theregister.com/2021/07/16/steam_deck_portable_gaming_pc/

[25] https://www.theregister.com/2015/01/17/scary_code_of_the_week_steam_cleans_linux_pcs/

[26] https://www.theregister.com/2013/09/23/valve_gets_the_linux_feeling_with_steamos_for_gamers/

[27] 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=33Y9zpUMQrFlr94jxc-DHmZwAAAAQ&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[28] https://appdb.winehq.org/

[29] https://wiki.winehq.org/Winetricks

[30] https://www.codeweavers.com/crossover

[31] https://whitepapers.theregister.com/



Can we use it to run WSL?

breakfast

The real breakthrough will come when we can use it to run the Windows Subsystem For Linux, then we should be able to run Wine under Wine, living the dream.

The future not being born, my friend, we will abstain from baptizing it.
-- George Meredith