723 points · by todsacerdoti · 4y ago · 181 comments
These last paragraphs just made me realise how grateful I am to people who work on these open source projects without expecting any compensation or even praise for their work.
It has happened once or twice that I tried running something in Wine and it just wouldn't work which made me a little annoyed.
But reading how complex and difficult it is to make such things happen I am surprised the amount of effort it takes to even make Notepad.exe work!
A lot of the work required to get games working transparently on Wine was thanks to Valve, who released Proton as open source, along with heavy work on DXVK to simulate DirectX, etc.
Of course they did it because it benefits them, but still they could have kept it private and it would have boosted only Steam sales. Instead it's a win for them AND for the community, an example that should be followed by other companies.
What a time to be alive indeed!
The main sponsor of WINE is CodeWeavers, who have been paying folks that work on WINE for a very long time, and are involved in Proton development:
They sell a supported version of WINE for Linux, macOS and ChromeOS, as well as providing engineering services to clients like Valve.
I think it's reasonable to expect both, even if indirectly. Participating in a well-organized open source project confers extremely rich experience, and employers do take notice. In my company, the folks who spent time in the community generally noticeably out-perform the ones who grew up exclusively in industry (which should trouble industry) at similar years of experience. If you want to end up highly-compensated, it's a great way to spend your time.
The real challenge for the open source community is how hard it still is to make a living sticking to the original open source work, instead of taking your talent and leaving one day. Wine is one of a few exceptions with some companies in its ecosystem, but generally speaking there's not enough upstream-work jobs for a lot of important open source software infrastructure.
MS are currently hell bent on getting you onto a cloud subscription for Windows as a service (WAAS) because that is their current business model. The Wine project is hell bent on delivering functionality that you want and they think you might want.
Wine is less about shuffling the start menu to the middle of the taskbar because ... err wankery that makes it harder to find and actually click or poke at and making copy/cut/paste into really odd little icons on right click menus (no idea what sort of poke gets the right click menu).
... Sorry, I'm not a fan of the W11 UI.
MS could not give a toss about you or your app (say an ancient db or a ancestor app). They need to generate profits and your old app ain't a profit centre.
Anyway, wine is able to do what you actually want your machine to do - keep an old treasured app alive and more.
Microsoft has historically put a huge amount of effort in (backwards) compatibility. Here's a famous example: https://arstechnica.com/gadgets/2022/10/windows-95-went-the-....
Related (sub) discussion on HN: https://news.ycombinator.com/item?id=13450160.
It's possible that they changed strategy recently, but there is a very long history of extraordinary (backwards) compatibility.
Personally I think compatibility has been a huge boon for Microsoft. If you need to throw everything away and start over, why would you stick with Windows?
You're not wrong but we're in a whole new game these days.
Your SimCity example was an easy win and yet more wankery. They have not put a huge amount of work in compatibility. MS have done just enough always and only enough. That is precisely what a large commercial business would do and they did.
Not by definition, but by "Dodge v. Ford Motor Co." [1] the Michigan Supreme Court case that held "A business corporation is organized and carried on primarily for the profit of the stockholders."
Here's the abstract from a fairly recent paper in the principal journal of the ABA's Business Law Section in which the case and its relevance today was discussed in detail:
This article examines Dodge v. Ford on its 100th anniversary. In Dodge v. Ford,
the Michigan Supreme Court held that a business corporation is organized for
the profit of its shareholders, and the directors must operate it in service to
that end. Despite the fact that Dodge v. Ford is rarely cited in judicial
opinions, the case continues to spark controversy in legal scholarship. There
is little justification for this scholarly attention because the factual basis
is little more than a caricature of Henry Ford, and subsequent developments in
corporate law have all but eviscerated the precedential value of the case.
Rather, the legacy of Dodge v. Ford may simply be that it serves as a
convenient talisman, standing for the one sentence anyone actually cares about
and rolled out with each new battle in the war between shareholder profit
maximization and corporate social responsibility.
Michael J. Vargas, Dodge v. Ford Motor Co. at 100: The Enduring Legacy of Corporate Law’s Most Controversial Case, The Business Lawyer, Vol. 75, p. 2103 (2020).What definitions are you using here?
Haven't they been contracted by Valve to work on Proton?
https://liliputing.com/wine-on-windows-lets-you-run-windows-...
I wonder if you can run Cygwin on it.
There's also WineVDM that actually solves a "need" to run 16bit Windows programs on 64bit Windows. I've considered using it for retro programming without leaving a modern OS, although DosBox may be a more reliable option. Now, if Win32s can get to work on top of WineVDM, that would be funny.
https://gitlab.winehq.org/jhol/wine/-/commits/msys2-hacks-7/
There's a few low level issues to solve, but also theres bunch of patches around that never made it upstream that just need some love to get them up to standard.
At this point Msys2 installs, we can run bash and install software using pacman (- with workabouts for varies janky problems).
You can get better translation/emulation libraries that you can swap in to an application, like dgVoodo2 that can improve things hugely (but unfortunately buggy with some games). I think Wine's translation is also much better than Microsoft's for these older DX versions.
Windows, like DOS before it, adapts to run certain apps more efficiently, to sidestep their bugs, or to fulfill their assumptions which generally do not hold.
I suppose Wine does a lot of the same. It pays a lot of attention tp running old(er) popular software smoothly. I suppose Wine has more adjustments to run Office 2003 without a hitch than Win 12 does. Same for older popular games.
Paying for MS Windows is not a problem. If I could just throw money at Microsoft and have all the apps I need running on Linux, I would have. I suspect many people (and specially orgs) would have done that too.
Incidentally, I have a copy of MS Windows. I just _don't want to boot Windows_
> It pays a lot of attention tp running old(er) popular software smoothly.
Nah. It pays attention to popular software, period. Because that's how contributions normally work. The more people interested, the more likely a patch will land. It can take significant effort to run some software. That takes time. By the time it's running perfectly, it's "old" software.
It just needs effort. One of the bad things about the Stadia demise is that some of the work done on the titles themselves benefit Wine. For example, Cyberpunk was perfectly playable on launch day.
Might be incidental in your case, but not in general:
Lately I've been playing a recent DirectX 11 game via Wine. Worked out of the box. I think it might be a bit slower than under Windows natively, but that's sort of moot since it hits the cap at 60 fps either way. I've used Wine regularly for about 15 years. I used to be surprised when new software (especially DX-based) worked under Wine. These days, I'm more surprised when it doesn't.
Is this really true? What “newer” Windows software would not run under Wine “in principle”? (And, for that matter, what older Windows software wouldn’t run on Windows itself?)
But in short, no. Wine has a goal of running all Windows software, old and new.
... perhaps Win32 is a more stable ABI/API by design.
As with older Windows binaries on newer Windows versions, when it doesn't work outright, there's always fixes - but that's not the point this subthread tries to discuss.
Wine "only" has to run apps and nothing else. The older APIs are the most battle-tested and optimized. On the other hand, you may find suboptimal behavior on newer APIs that weren't exercised enough.
[1] https://printplanet.com/threads/can-apogee-works-on-windows-...
When the compatibility mode doesn't help, then what's a mere mortal to do?
Is it? I fail to see a justification for accepting the premise of your question.
> Like I use Windows every day and have no problems at all. And I use Linux every day too for work. But by my experience if I come around an old Windows application (Vista, XP, 2000 or before) then I probably have a better chance to run it as it meant to be on Linux w/ Wine than on Windows 10/11
https://news.ycombinator.com/item?id=24120066 (August 2020, 64 comments)
looking forward to this. every attempt i've made to debug a misbehaving program in wine has left me extremely frustrated with the debugger
I like to play old games. And I like to drink old grape juice.
I thought I remember hearing about the project a long time ago. First commit of README is 2012.
And still my daughter can't play "Sims 4" on her Linux laptop ... not because of the game itself but because of EA's pathetic program starter "Origin". Even Steam's Proton environment stopped working.
So sad and frustrating.
Isn't there a way to play this game without "Origin"?
The mileage you get with Wine is highly dependent on the individual game.
PS. I downloaded the cracked copy, and deleted it before 24 hours, which makes it legal where I live (Poland). Also I own a physical copy of that game, but I couldn't be bothered to get Origin to run.
I would check out Lutris if you haven't. The Sims 4 is popular and so someone helpfully created an install script to get it running with Lutris:
The frustrating part is the game itself would be working like charm in Wine but the stupid launcher app keeps getting updated and is doing all kinds of complicated DLL and system calls although all it really needs to do with respect to "Sims 4" is to check your license and start the game.
So even if you get the game running for some time, ultimately, "Origin" will stop working one time or another.
Please somebody make wine-making 101
...and as an aside, the comments about the alcoholic beverage really suggest that they should've kept it named WINE (all uppercase).
Worth noting that this only applies to WSL1; WSL2 works in a completely different way.
I was very glad when they announced WSL2 and while still using WSL1 for running socat for port forwarding, not missing it lack of further development much. Could be I'm missing some productivity stuff there?
I don't use it much for productivity tools, as I've been full time on Linux long enough that I generally prefer the native tools. On the rare occasion I need a windows only software, I usually just spin up a VM.
Also, why link to wine-mirror on GitHub instead of Wine's own gitlab instance?