Wine 11.0

(gitlab.winehq.org)

271 points by zdw5 days ago

10 comments

  • snarfy4 hours ago
    Hats off to the Wine team for all the amazing work! Myself and I'm sure many others wouldn't be able to switch to Linux without you. Thank you!
    • sevensor4 hours ago
      &gt; 16-bit applications are supported in the new WoW64 mode.<p>I’d like to thank them for this, specifically! I had some old applications that weren’t working in the old WoW mode.
      • snvzz26 minutes ago
        The funny thing (or actually sad) is Windows cannot run win16 anymore.
  • lordleft4 hours ago
    Truly amazing software. I only recently learned that Crossover, which enables running windows software (mainly games) on MacOS, is built on Wine and significantly contributes to Wine Development.
    • ekianjo3 hours ago
      Crossover is made by Codeweavers who are the devs of Wine.
      • tomnipotent2 hours ago
        They&#x27;re also responsible for Proton in collaboration with Valve. Codeweavers CTO has been project lead of Wine for three decades.
        • ekianjo1 hour ago
          &gt; responsible for Proton<p>Part of Proton only. Proton is a mix of various projects. Esync, Fsync, Wine, DXVK, and more...<p>&gt; Codeweavers CTO<p>Yes Julliard is very famous and key to the project
  • radarroark5 hours ago
    Anyone have experience with distributing win32 programs for Linux and&#x2F;or MacOS by bundling wine? I take it that statically linking is out of the question, but I am guessing you could make an AppImage binary for linux that includes wine, and for MacOS you could include wine in the app bundle. I haven&#x27;t tried either though. I&#x27;m interested in this so I can use win32 as a cross-platform desktop GUI library.
    • foresto4 hours ago
      You might consider Flatpak packaging.<p>Flathub offers the org.winehq.Wine package, which you can use in the <i>base</i> and <i>base-version</i> fields of your own package&#x27;s manifest. It wouldn&#x27;t cause your code to be statically linked with Wine. Your package could then be distributed from your own flatpak remote.<p>There was an announcement about a year ago of an effort to make a paid flatpak market, apparently to be called Flathub LLC. I don&#x27;t know if that effort is still active.<p><a href="https:&#x2F;&#x2F;discourse.flathub.org&#x2F;t&#x2F;request-for-proposals-flathub-program-management&#x2F;8276" rel="nofollow">https:&#x2F;&#x2F;discourse.flathub.org&#x2F;t&#x2F;request-for-proposals-flathu...</a><p>Winelib might also be worth considering, depending on how you are able to navigate the relevant licenses.<p><a href="https:&#x2F;&#x2F;gitlab.winehq.org&#x2F;wine&#x2F;wine&#x2F;-&#x2F;wikis&#x2F;Winelib-User&#x27;s-Guide#legal-issues" rel="nofollow">https:&#x2F;&#x2F;gitlab.winehq.org&#x2F;wine&#x2F;wine&#x2F;-&#x2F;wikis&#x2F;Winelib-User&#x27;s-G...</a><p>I think Qt would yield better results than Wine for most things. Since your comment suggests that you&#x27;re making proprietary software, you would have to take special care with linking or else submit to the Qt Group&#x27;s commercial license terms.
      • OsrsNeedsf2P1 hour ago
        Too lazy to dig up the PRs, but Flathub doesn&#x27;t merge Windows applications using the Wine runtime unless the submitter is also the upstream maintainer. They don&#x27;t mention this requirement anywhere on the docs, they&#x27;ll only tell you after you&#x27;ve spent 12 hours getting it to work.
      • TingPing3 hours ago
        Most people can use the LGPL version of Qt.
      • bobajeff3 hours ago
        Flatpak can be pretty buggy with Wine I&#x27;ve had some programs misbehave cause it to eat up all my ram when using bottles for instance.
    • circuit104 hours ago
      Winelib sounds like what you’re describing about static linking: <a href="https:&#x2F;&#x2F;gitlab.winehq.org&#x2F;wine&#x2F;wine&#x2F;-&#x2F;wikis&#x2F;Winelib-User&#x27;s-Guide" rel="nofollow">https:&#x2F;&#x2F;gitlab.winehq.org&#x2F;wine&#x2F;wine&#x2F;-&#x2F;wikis&#x2F;Winelib-User&#x27;s-G...</a>
      • Rayosay1 hour ago
        As someone who has tried this, I agree that Winelib is the way to go. Just don&#x27;t go into it expecting it to &quot;just work&quot; without any code changes. Since NTFS is case-insensitive, it&#x27;s likely that you&#x27;ll have to fix your include paths to use the right case. If you used any MSVC compiler extensions, you&#x27;ll likely need to modify your code to not use them or add `#ifdef __GNUC__` with alternative implementations for GCC. GCC&#x27;s `-fms-extensions` can emulate some of them, but not all. Winemaker can help you with some of the more wrote aspects of this conversion, but not all of it. It will also produce Makefiles for you, but if you want a single build system that works on all platforms, I&#x27;d recommend that you use CMake with a CMake toolchain file targeting Winelib and `winegcc` instead. Visual Studio has pretty good CMake support these days, so it should look pretty much like any other Visual Studio solution when you open it there too.<p>Once you do get it working, you&#x27;ll notice that on first run of your application Wine will create a `~&#x2F;.wine` directory and populate it just like it would if you created a new Wine prefix to run a standard Windows application in. Other than that, it will feel pretty seamless. You&#x27;ll even get a native application launcher for it (which is really just a shell script to run your project&#x27;s `.exe` under Wine, but it&#x27;s hidden from the user so it feels native if you don&#x27;t look too closely.) Compiling against Winelib has the added benefit that you&#x27;ll only be using win32 features that Wine supports, and can use native platform libraries (if you choose to do so when you&#x27;re compiling your application, as described in the Winelib User&#x27;s Guide) mixed with Windows libraries from Wine. It&#x27;s nicer and works more smoothly than just running a Windows application you compiled with Visual Studio under a bundled version of Wine, in my experience.<p>I&#x27;m sure that you&#x27;d be able to bundle it as an AppImage, but I haven&#x27;t actually tried that part myself.<p>Good luck!
    • darthcircuit2 hours ago
      Check out GameImage!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;gameimage&#x2F;gameimage" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gameimage&#x2F;gameimage</a><p>This started out with bundling wine in appimages, but is expanded a lot. The author created a new appimage alternative that adds some stuff to make games work more reliably. I’ve used this several times to create portable versions of old windows games for my Steam Deck. It’s awesome!
    • mid-kid3 hours ago
      I&#x27;ve seen a few russian pirated game releases for linux do this, they just bundle a copy of wine (downloaded from the same places as e.g. lutris gets it from), and a start script that sets the WINEPREFIX variable to a pre-populated prefix, with the game already installed and all the needed registry configurations already present. I suppose you could bundle all this in an AppImage, the annoying part however is that the WINEPREFIX is supposed to be read-write, so you&#x27;d have to set it to some place specific to your app, to avoid messing with the user&#x27;s main prefix. These prefixes are huge (hundreds of MB upon creation), so I&#x27;m not sure I&#x27;d consider this a desireable solution.<p>If this is your distribution method, consider having the user install wine before running your app.
    • kccqzy2 hours ago
      I don’t have experience but I have heard of winelib which is a library implementing Win32 APIs. I suppose you don’t compile your code as PE executable, but compile to Linux natively while dynamically linking to winelib.
    • Rohansi4 hours ago
      I&#x27;m curious why you&#x27;d want this over using a GUI library that is actually cross-platform? The way you&#x27;ve worded things suggests to me that you&#x27;re building something new.
      • radarroark4 hours ago
        I want to go back to making desktop programs the way we used to before they turned into web apps that bundled chrome. I know I should just use Qt but I have some experience already with win32, and all the programs I have fond memories of are written with it (foobar2000, winamp, Everything, etc).
        • swinglock4 hours ago
          Win32 and Wine being a lightweight alternative to HTML and Electrum is a fun idea.
          • Rohansi4 hours ago
            Wine is going to require at least as much disk space as Electron. Performance and memory usage should at least be better though.
        • purerandomness1 hour ago
          You might like <a href="https:&#x2F;&#x2F;www.lazarus-ide.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.lazarus-ide.org&#x2F;</a>
        • wizzwizz43 hours ago
          Have you considered Tk? Visually, it&#x27;s quite like Win32, but it&#x27;s fully cross-platform <i>and</i> (as of Tcl 9.0) has basic screen-reader support – so no mucking around with OLEACC shims or IAccessible2, as you&#x27;d need for COMCTL32. And it supports virtually everything Win32 does, with the ability to drop down to platform-specific sorcery (i.e., Win32) if the need arises.
      • dfabulich2 hours ago
        Because, as they always say, Win32 is the only stable ABI on Linux.
      • nxobject4 hours ago
        Perhaps a Windows-only RAD framework? (Admittedly, I can only think of VB6...)
      • scotty794 hours ago
        Visial Studio is quite good for gui.
        • Rohansi4 hours ago
          It is. But if you mean .NET WinForms then you don&#x27;t really need Wine because Wine uses Mono to run .NET executables. If using WPF then you should check out Avalonia UI [1] which is a cross-platform alternative that is also probably better (and has good tooling in VS). There&#x27;s also .NET MAUI [2] but it&#x27;s maybe not as good for desktop apps.<p>[1] <a href="https:&#x2F;&#x2F;avaloniaui.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;avaloniaui.net&#x2F;</a> [2] <a href="https:&#x2F;&#x2F;dotnet.microsoft.com&#x2F;en-us&#x2F;apps&#x2F;maui" rel="nofollow">https:&#x2F;&#x2F;dotnet.microsoft.com&#x2F;en-us&#x2F;apps&#x2F;maui</a>
    • cmxch4 hours ago
      Depending on the use case, you <i>might</i> be able to get away with PowerShell with Pinvoke bindings if your code is more script-like than compiled code.<p>Instead of making your own GUI library, you could just make a shim that translates to whatever framework you want to support.<p>See: <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;dotnet&#x2F;standard&#x2F;native-interop&#x2F;pinvoke" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;dotnet&#x2F;standard&#x2F;native-int...</a>
    • transcriptase3 hours ago
      That sounds antithetical to the “never just works” philosophy of Linux software.
  • sbinnee4 hours ago
    I didn&#x27;t know about WoW64 mode. I remember when trying to install an old windows program I had to install a bunch of 32-bit translation library for audio and stuff. This WoW64 means that I can just simply use 64-bit arch. This is fabulous.<p>WoW64: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WoW64" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WoW64</a>
    • TMWNN4 hours ago
      Is the MacOS equivalent what was deprecated in Catalina, ending compatibility with 32-bit applications?
      • kcb4 hours ago
        Crossover maintained compatibility with 32-bit windows applications even after Catalina.<p>&gt; <a href="https:&#x2F;&#x2F;www.codeweavers.com&#x2F;blog&#x2F;jwhite&#x2F;2019&#x2F;12&#x2F;10&#x2F;celebrating-the-difficult-the-release-of-crossover-19" rel="nofollow">https:&#x2F;&#x2F;www.codeweavers.com&#x2F;blog&#x2F;jwhite&#x2F;2019&#x2F;12&#x2F;10&#x2F;celebrati...</a><p>Which is kind of funny because yet again windows was a better application in terms of longevity than MacOS native.
      • wat100001 hour ago
        It&#x27;s a bit different. WOW64 is a compatibility layer that intercepts calls into system libraries from 32-bit apps and translates them into calls to 64-bit libraries. macOS shipped both 32-bit and 64-bit versions of all system libraries, no translation involved.
        • mr-ron40 minutes ago
          Seems like also 16bit apps????
  • bastawhiz3 hours ago
    This is all amazing work. Is there a list of applications&#x2F;games that previously didn&#x27;t work that now do (like what Dolphin puts out)? I&#x27;d love to understand what the improvements mean in a practical sense.
    • OsrsNeedsf2P1 hour ago
      They usually include this info in the point releases[0]. It would be far too much to fit in the 11.0 release notes<p>[0] <a href="https:&#x2F;&#x2F;gitlab.winehq.org&#x2F;wine&#x2F;wine&#x2F;-&#x2F;releases" rel="nofollow">https:&#x2F;&#x2F;gitlab.winehq.org&#x2F;wine&#x2F;wine&#x2F;-&#x2F;releases</a>
  • rkagerer33 minutes ago
    Any chance this will improve Solidworks support?
  • 1hackaday2 hours ago
    Is Wine ever going to be able to run the current version of Microsoft Office? This is the main app keeping people in Windows.
    • bigyabai2 hours ago
      The &quot;current&quot; version is a cloud-encumbered MS365 product with Copilot+ integration, so probably not.<p>That being said, apparently the 2016 version is gold-rated on WineHQ: <a href="https:&#x2F;&#x2F;appdb.winehq.org&#x2F;objectManager.php?sClass=application&amp;iId=10" rel="nofollow">https:&#x2F;&#x2F;appdb.winehq.org&#x2F;objectManager.php?sClass=applicatio...</a>
      • accrual1 hour ago
        I find Office 2016 feels rather similar to current Office 365 as well. For home office stuff I&#x27;d never notice the difference.
      • venusenvy472 hours ago
        Our company just deployed Office 2024, which is not cloud-based. There are plenty of companies that can&#x27;t&#x2F;won&#x27;t use the cloud version.
        • hedora1 hour ago
          They said “cloud encumbered” not cloud based.<p>Do you have a version that doesn’t prompt users to use cloud services, and also does not attempt to make outgoing network calls?<p>I jumped off the MS train about ten years ago, but the office they shipped back then was already cloud encumbered.
  • shmerl3 hours ago
    Congrats on ntsync and new wow64 support! Those are two huge features released last year.<p>ntsync allows efficient and correct synchronization usage that matches logic of Windows and new wow64 allows running 32-bit Windows programs without 32-bit Linux dependencies.
    • kccqzy2 hours ago
      I’ve always installed both wine and wine-32bit on Linux. Does this mean I can now delete wine-32bit after this?
      • shmerl1 hour ago
        Yes, I think up to date wine simply build dropped wine vs wine64 difference. You can check winehq builds.
  • mschuster914 hours ago
    &gt; NT system calls use the same syscall numbering as recent Windows, to support applications that hardcode syscall numbers.<p>Other than antivirus software and maybe MAYBE kernel-level &quot;anticheat&quot; slop - who in their right mind does straight syscalls to the kernel?
    • StrauXX4 hours ago
      Some programming language compilers generate asm that does call systemcalls directly. Go for example.
      • teraflop4 hours ago
        Go <i>does</i> hardcode system call numbers on Linux, but it <i>doesn&#x27;t</i> on Windows. Instead it follows the normal Windows convention of calling the userspace wrappers from kernel32.dll and similar libraries.<p><a href="https:&#x2F;&#x2F;cs.opensource.google&#x2F;go&#x2F;go&#x2F;+&#x2F;refs&#x2F;tags&#x2F;go1.25.6:src&#x2F;syscall&#x2F;zsyscall_windows.go" rel="nofollow">https:&#x2F;&#x2F;cs.opensource.google&#x2F;go&#x2F;go&#x2F;+&#x2F;refs&#x2F;tags&#x2F;go1.25.6:src&#x2F;...</a><p>Unlike on Linux, the low-level syscall numbers on the NT kernel are highly unstable across releases, so programs that try to call them directly will generally only work on a very specific kernel version.
    • tux34 hours ago
      Userland DRMs do all sort of nonsense. Kernel anticheats wouldn&#x27;t use the syscalls, they&#x27;re already able to call the kernel routines they want directly.
    • userbinator3 hours ago
      Does it matter? The closer they get to being indistinguishable from Windows, the better.
      • mschuster911 hour ago
        The problem is, Windows syscalls change around <i>a lot</i>. Keeping up with that is Sisyphean.
    • wat100001 hour ago
      I&#x27;d argue that anyone who willingly attempts to program these infernal beasts is not entirely in their right mind to begin with.
    • kachapopopow3 hours ago
      anti tamper, drm, library call obfuscation and they all do it wrong, really wrong.
  • eek21213 hours ago
    While I agree that it is amazing work, I feel the need to call out the wine team because, as many likely know, a redditor (admittedly of unknown origin, to me at least) felt the need to go to Valve prior to the wine team. Valve, of course, kicked the PR back over to the wine team, which I actually think is fine. The issue, I think, &quot;may possibly&quot; be the wine team.<p>The PR was well documented, does not initially appear to be related to AI, and it makes a PITA installer work FFS. Further, my own PRs to wine were accepted for less decades ago and are still in use now.<p>Forgive the rant, however the redditor in question was scared to send the PR to Wine due to politics. That tells me there is definitely too much middle management in an open source project.
    • skissane3 hours ago
      I am sure I am not the only person who has no idea what you are talking about. Do you have a link to the PR?
      • MrPowerGamerBR3 hours ago
        Pretty sure it is this one: <a href="https:&#x2F;&#x2F;github.com&#x2F;ValveSoftware&#x2F;wine&#x2F;pull&#x2F;310" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ValveSoftware&#x2F;wine&#x2F;pull&#x2F;310</a><p>Some news outlets did report on it. However, in my experience after testing the patch applied on top of Wine 11.0, both the Creative Cloud and the Photoshop installer did not work.<p>I suppose that the thing that the patch fixes is the &quot;offline&quot; Photoshop installers, which are not provided anymore unless if you ask Adobe nicely... or if you get it from third party sources. The PR&#x27;s creator did say that they didn&#x27;t pay for Creative Cloud, so I think it is likely that this is what happened.<p>This made me wonder if anyone had actually tested the patches with a legit Creative Cloud&#x2F;Photoshop installer, or if everyone just ran with the PR saying &quot;look it works now!!!&quot; but nobody bothered to actually test it. The creator did submit their own precompiled Wine version, however that version is meant to be run via Proton, so I wasn&#x27;t able to make it work because I don&#x27;t know how to run things via Proton outside of Steam.<p>I was able to get the Creative Cloud app in Wine (set to Windows 10 mode) by using some very dubious methods, as in, I asked Claude Code to implement the stub to see what would happen because if AI is sooo good as how people are saying, it should be able to fix things in Wine... right? And surprisingly, it did actually work.<p>However you aren&#x27;t able to use Photoshop CC 2021 (the earliest Photoshop version you can install from Creative Cloud, newer versions crash during startup) because the activation popup does not render the input controls. The reason why I think it is <i>trying</i> to render something is because the activation popup background does have the same color as the Adobe website and, if my memory is correct, in Windows that popup is used to ask for your Adobe account credentials.<p>(Sadly the PR patch does not fix the activation screen)<p>Of course, if you bypass the activation using... alternatives means, Photoshop CC 2021 does work under Wine, which is why you can find a lot of &quot;Photoshop CC 2021 in Wine!&quot; repositories on GitHub.<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;linux_gaming&#x2F;comments&#x2F;1qdgd73&#x2F;i_made_adobe_cc_installers_work_on_linux_pr_in&#x2F;o04dxtd&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;linux_gaming&#x2F;comments&#x2F;1qdgd73&#x2F;i_mad...</a><p><a href="https:&#x2F;&#x2F;bugs.winehq.org&#x2F;show_bug.cgi?id=57980" rel="nofollow">https:&#x2F;&#x2F;bugs.winehq.org&#x2F;show_bug.cgi?id=57980</a>