Live data from Hacker News

Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

xda-developers.com

231–240 of 512 posts

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#231
post #56

Earlier quoted context omitted.

Wine has a lot of tests that are run across platforms to check conformance -- https://test.winehq.org/data/ . These are a large part of why it has good compatibility.

With this exact point in mind: I've recently written a pretty straight forward win32 c implementation of a utility with some context dependent window interactions and a tray icon to help monitor and facility reload of config file. Is there any way I can use the Wine project to facilitate this compiling and running straight under x11/linux environment as a integrated project that doesn't require the end user to fiddle…

> Is there any way I can use the Wine project to facilitate this compiling and running straight under x11/linux environment as a integrated project that doesn't require the end user to fiddle with Wine? I don't mind bundling shared code as needed. Help appreciated, I tried hard and failed at this endeavour priorly.

I believe that's what Winelib is for: https://gitlab.winehq.org/wine/wine/-/wikis/Winelib-User's-G...

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#232

Earlier quoted context omitted.

Wine actually does run some ancient Windows games better than Windows 11 itself.

It certainly runs 16-bit Windows games better than Windows 11, which can't run them at all. Not that there are a ton of those, but it's still pretty neat that they work.

16-bit software won't run natively in 64-bit mode. It requires some programmatic emulator, like DosBox. Or am I missing something?

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#233
post #16

Wine is a project that I've grown a near-infinite level of respect for. I don't know for sure, but I suspect that a lot of the work for Wine is boring and thankless. Digging through and trying to get exact parity with both the documented and undocumented behavior of Windows for the past 30 years doesn't sound fun, but it's finding every little weird edge case that makes Wine a viable product. The fact that Wine runs…

It is a superb project, and a hard thing to do. It is a pity that the apps most business people use everyday, like Word and Excel and Outlook don't work in it (Excel 2010 is the last version that has Platinum status). It is interesting that these are harder to get working than games.

I find it difficult to believe that someone with enough technical knowledge to run a Linux desktop for business purposes in 2026 would be reliant on the MS Office suite. Other people have given plenty of technical reasons for the difficulty. I don't think it’s a useful goal to get them running when practical alternatives like libreoffice exist.

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#235
post #212

Earlier quoted context omitted.

You compile in a container/chroot with the userspace you target. Done. In the context of games, that will likely be Steam Runtime.

it's not that simple. you want to be able to use a modern toolchain (compilers that support the latest standards) but build a binary that runs on older systems. the only way to achieve that is to get the older libraries installed on a newer system, or you could try backporting the new toolchain to the older system. but that's a lot harder.

It may be hard-ish, sometimes. Sometimes it's a breeze. And sometimes you can just use host's toolchain with container's sysroot and proceed as if you were cross-compiling. Most of the time it's not a big deal.

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#236
post #90
post #44

Earlier quoted context omitted.

The grass is always greener on the other side - many low-level programmers feel like an imposter when it comes to high-level systems such as CRUD apps.

Can confirm, my buddy who is someone I respect immensely, is an embedded programmer. He will talk about OS events, or any low level concept and it makes me feel like I don’t know anything, but he acts like I’m a genius if I talk about JavaScript Runtimes, browser engines, anything frontend. It’s cool he teaches me new things, I teach him some

I think your friend is just being kind.

Most people know that there is a big difference between experience in something pretty easy vs mastery of something very difficult.

A rocket scientist acknowledges a concrete guy knows way more than he does about concrete, but also knows that doesn't make him a genius because it's easy enough to learn just being around it. Plus, the rocket scientist also knows that since he knows so little about concrete, he wouldn't even be able to judge if the guy is really a concrete genius or just saying things a real pro would label wrong.

Your example isn't that crazy, but still, you should realize your friend is just being nice.

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#237

Earlier quoted context omitted.

NO, I meant Windows games.

90s Windows ran inside of DOS, and you can run e.g. Windows 98 games (through Windows itself) in DOSBox. Look up exowin9x where they're trying to compile all of the necessary configs for one-click launchers.

I didn't think that regular DOSBox had support for stuff like 3dFX does it? Or other weird APIs?

I had to use PCem to get support for that stuff.

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#239
post #112

Earlier quoted context omitted.

Wine actually does run some ancient Windows games better than Windows 11 itself.

Anything Direct Draw related will be mapped into OpenGL under Unix giving you decent speeds. On Windows it will be a crawling slideshow because from Windows 8 and up it will use a really dog slow software mode with no acceleration at all, worse than plain VESA. Yes, you can reuse WineD3D DLL's on Windows and run these game in a fast way, but not by default, it's a Win32 port of some Wine libraries.

Once I had to use a Mesa3D build for Windows and use the zink driver to render OpenGL to Vulkan, otherwise it would use Windows' software renderer.

Re: Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

#240
post #20

Earlier quoted context omitted.

If you game/app runs on Wine, doesn't that reduce the pressure to develop a Linux port?

Possibly but does it realistically matter? I don't care why my games run on linux I just care that they do. I encountered a few cases where the native version was inferior to the wine version (Cronos is one example). With wine improving there is very little downside to just using it.

Could there ever be a killer app for Linux? One that would cause a not-insignificant number of people to decide that Linux was worth switching to, even if there was some pain of moving away from Windows?
Post reply on HN