Used to be a staff member working on an x86 OS called CTOS. I realized if I implemented a couple of traps, we could run command-line DOS programs. So I did. And it worked. Dev tools, text processing, piped commands all worked.
It helped that the DOS executable format was the same as the CTOS format - because we had traded Bill Gates our linker (which produces executables) for his BASIC compiler.
trashfaceyesterday at 7:37 PM
Feels like there is some real momentum on linux gaming now. I mostly play older games but I've gotten most of them working acceptably in proton on my old system 76 laptop (oryp5, with a nvidia 2060; ~7 years old). The laptop actually has plenty of power for the games I play, but I underclock to keep the heat/fan speeds down (been doing the same on the win10 install on the same system), still getting acceptable framerate in proton for most of the things I do in game, non intense stuff.
Decades ago I ported some games to linux but I do think proton is the correct approach now. One underappreciated advantage is you get most of the mod environment too. In ESO for instance, there is an addon (tamriel trade center) which lets you download item prices, but it requires a windows client exe to do that. That client works on proton.
I also do some modding myself and can cross compile my rust code to windows with cargo xwin, and run it right away in proton, which is fairly amusing to behold.
I actually don't mind windows generally (been a MS user since DOS 5), but Win11 is a game changer, pun intended, and not in a good way.
neverkn0wsb357yesterday at 11:51 PM
Given the current momentum, it feels like (to me) the adage of “Windows is for Games” is going by the wayside.
If you look at Steam, and OSs like Bazzite it’s clear the consumer-side is finally shoring up. But that aside, from an economic incentive, game providers (for example Amazon Luna), don’t want to be paying the licenses for running Windows machines for Video Game Streaming on Demand. In fact, at my time there one of the major thing I worked on was figuring out how to stream the games using Linux + Proton + Vulkan so we could use the AMD machines.
Honestly the biggest hurdle was (and probably still is) Anti-Cheat and BattlEye.
At any rate, I’m personally happy to see this trend as I haven’t had a Windows OS since Windows 7.
Shoreltoday at 5:05 AM
Linux is one of the best Win-API platforms.
It is the absolute best for backwards compatibility: it runs 16 bit apps.
Now it is getting faster for gaming.
And the reverse relation is also true: In Linux, the best backwards compatible stable API is WinAPI.
I can play 30 year old Windows games in Linux. They just work and run better than ever.
For the same project (https://www.descent2.de), I can not even install the dependencies to compile it in a modern distro, as every library is deprecated and removed from the repositories. The precompiled native Linux binaries also can't work.
9x39yesterday at 9:38 PM
Finding a way to get the multiplayer studios to get Linux support for their competitive games like Valve does could crack a wedge in the market for mainstream users to get in, particularly in those who don't want to pay the Windows tax (not everyone is willing to experiment or go unlicensed).
I can't prove it, but the Steam Deck has probably torn down a lot of barriers for mainstream use among the crowd that care about the game more than the OS. Getting some of the other games (League, Vanguard, Warzone, BF6, etc.) or whatever is popular in those segments onboard might be the critical mass that justifies fixing all the rough edges that get fixed when a big pile of users are represented.
Night_Thastusyesterday at 8:02 PM
Show me the numbers. Show me an identical gaming PC running Windows 11 and then Linux, and show not just FPS - but things like frametime pacing, latency, etc.
This NTSync stuff is very impressive, but I haven't seen a lot of end-to-end numbers versus Windows. The last comparisons I saw showed pretty much every distribution on the order of 5-30% behind Windows, varying on the game. And Nvidia GPU support was still not great.
I WANT to swap. Please give me cause to do so. I'm sitting here with my finger on the button waiting for it to finally get good enough to make sense.
Animatsyesterday at 7:50 PM
There's been real progress. Wine's memory allocator had an architecture with three nested locks. "Realloc" held a futex lock on the memory allocator while recopying the buffer. Multiple threads doing allocation could go into futex congestion, with many threads looping on the futex. This made Vec::push in Rust insanely inefficient. Some of my programs dropped from 60FPS to about 0.5 FPS.
Fixed in Wine 11.0. Thanks to the Wine team.
Not sure if this was related to NTSYNC, but Wine's locking infrastructure definitely got an overhaul.
zuzululuyesterday at 10:50 PM
I support linux gaming btw but I can't help but feel every narrative glosses over that certain games are going to require uncomfortably intrusive anti-cheating systems.
I'm just realizing that I can't play Battlefield 6 and I do wonder what the path is. I don't think it's ever going to be supported on Linux or Mac.
chromadonyesterday at 9:15 PM
I use Bazzite for all my gaming (Returnal at the minute) and it works unbelievably well. I don’t tinker with any of the proton version. I just press play.
I recently completed Stellar Blade with zero issues.
I don’t even shutdown the machine, I just hit the power to sleep it. Instantly resumes where I left off.
Incredible to see just how far it’s come.
las_balas_tresyesterday at 6:22 PM
I developed for windows before moving to linux. I was surprised to find that was no system call similar to windows WaitForMultipleObjects. Sure you can implement something similar using poll() or using condition variables. but WaitForMultipleObjects seems so much simpler and more versatile
mifydevyesterday at 6:43 PM
I predict that ntsync will eventually evolve into full blown ntoskrnl.ko and there would be virtually no overhead on calling Windows API. You can almost call it a Linux Subsystem for Windows.
tetris11yesterday at 6:13 PM
I wonder what spanners Windows can throw into the works to slow them down at this point, or if they're so checked out of the Desktop market as they suckle down hard on that Azure teat, that they're more than happy to let Linux eat their lunch
asdfbanktoday at 6:47 AM
My linux gaming experience has left me with a wierd irony...
I have been stealing windows for the last 25 years and never ever felt like i owed M$ a cent. Now after totally switching to free stuff i suddenly feel (not in a bad way at all) a kind of debt to open source developers for just making cool stuff and putting it out there for me to use and play with and i'm not doing a crime anymore!
asveikautoday at 12:58 AM
This is a fluffy, non-technical article so I googled NTSYNC. It seems like they implement Win32 events, semaphores, mutex and WaitForMultipleObjects.
It's curious that they didn't do this as file descriptors that can be epolled. For example I think you could do semaphores and events with eventfd(2), which always struck me as inspired by those Win32 objects somehow. But maybe this is a simpler purpose built interface.
londons_exploretoday at 10:09 AM
I was under the impression that most windows games copy and anti cheat protection won't work in Linux. It often has a kernel mode driver to prevent you emulating things, using debuggers etc.
What changed? Do game manufacturers make special versions with toned down anti-cheat specifically to run on the steam box/Linux?
bradley13yesterday at 8:00 PM
It's actually been a couple of years since I ran across a game that didn't work well on Linux. At most, I have had to bump the default Proton version.
anordaltoday at 9:29 AM
Are there 2 things called fsync now?
I had to ask google, because the article fails to explain it. Google says yes, this is something else than the fsync syscall (man 2 fsync).
tobyhinloopentoday at 8:18 AM
I'm very happy with my Linux install. After almost 2 decades of trying Linux Desktop and falling back to Windows (and MacOS) I've finally switched to Linux (and MacOS).
The only thing missing is my Adobe stuff. I now run Lightroom in a VM and it's incredibly slow to unusable.
FartyMcFartertoday at 10:29 AM
As someone without strong feelings on Linux vs Windows (I've used and developed on both about equally): this kind of news, along the way Windows has been changing has me wondering if I should change my primary desktop environment at home to Linux.
In my eyes, Windows used to be the desktop environment that "just works and can run almost everything". Lately it's becoming enshittified, with weird bugs showing up more and more frequently (a memorable one is not being able to launch Notepad from the start menu!!). I think Microsoft is losing its best attributes when it comes to consumer software. Linux may not be perfect but it's looking more and more attractive in comparison, even with its imperfections.
wnevetsyesterday at 7:43 PM
It may finally be the year of the linx desktop. Microsoft actively being hostile to towards Windows users can't last forever.
KingOfCoderstoday at 8:56 AM
Having migrated from Windows11 to Popos/Nvidia, Minecraft is ~20% slower depending on shaders installed and distant horizons mod. TF2 is also slower but both still fine.
sylwaretoday at 10:58 AM
If you don't compile the CPU hardware bugs mitigation for linux, which windows has, you'll be mechanically and significantly faster.
1 + 1 = 2
bsimpsonyesterday at 6:45 PM
I remember when XDA was the home of Android homebrew hackers working on things like CyanogenMod. It's so strange to see it repurposed as the brand for the same quasi-correct tech article slop that gets parroted between all the big blogs.
Tom's Hardware is a bit before my time, but I remember it being well regarded. I've seen a lot of similar articles under that name lately. I wonder if they've undergone similar fates.
caycepyesterday at 6:34 PM
If you purpose build a Linux gaming PC, would you lean more towards AMD GPUs over Nvidia?
krigetoday at 6:22 AM
Meanwhile I'm over here, trying to get Age of Wonders 1 to run and completely failing on everything spare a laptop with an old Windows 7 installation. Linux API aping (sorry) is so good that they even exhibit the exact same CTD as Windows 10 with this game.
plucyesterday at 11:47 PM
It can't be neglected that Microsoft is alienating its own power users on such a level that they are now considering switching over and bringing all their know-how with them. Linux gaming is also faster because there's more developers interested in making gaming work outside of the Microsoft dominion.
embeng4096yesterday at 11:01 PM
I switched to Linux for everything but AAA FPS PVP games last year and have had a great experience so far.
Steam+Proton makes everything I play just work: Helldivers 2, Slay the Spire 2, No Rest For The Wicked, FF7 Remake, Stardew, modded Lethal Company (using r2modman) are the main things I've been playing recently, and all worked out of the box with Proton.
My PS5 controller may have needed me to install one package or something but has been working flawlessly after that.
I keep a Windows drive around for stuff like Apex Legends, Battlefield 6, but I pretty much never boot into Windows anymore except for those.
(I probably sound like a shill at this point, having commented something like this on multiple Linux threads now, but I continue to be impressed at how well Linux performs for gaming these days!)
stodor89today at 12:01 AM
Win32 - the #1 stable userland ABI for Linux!
h3t08yesterday at 10:08 PM
It’s wild to think that the "Year of the Linux Desktop" didn't happen because of a massive marketing push, but because the kernel just slowly absorbed the competition's DNA.
gigatexaltoday at 10:25 AM
I just want to be able to play the latest COD on linux to ditch my windows partition ... but anti-cheat makes it impossible.
What excites me is that the kernel gets better not only for windows games but can also get benefits that can be more general purpose, such as what the article writes about: program able to wait for multiple events at once.
It will be interesting to see how native Linux games differ in what fancy under the hood kernel or syscall features they use.
torginusyesterday at 10:28 PM
Personally I don't know if this is some weird compatibility stuff for Windows apps, or the reason why Windows apps on Linux, whether running via Wine or being ports, rely on these apis because no good alternatives exist.. And if these apis are going to be used/useful for stuff beyond Windows compatibility, for native Linux apps.
Which is a weird thing to think about, and not sure very lovely.
aftbityesterday at 9:45 PM
Linux gaming is fine unless you want to play something with anti-cheat, which is basically any non-Valve competitive multiplayer title.
leflobtoday at 3:15 AM
I love that I am a part of this with my Steamdeck. Hands down great machine and absolutly incredible what you can do with what I thought to be be quiet limited hardware
mattrighettiyesterday at 11:33 PM
Seeing XDA brought up some good memories. That's the website that really got me into software engineering. I remember trying thousands of different ROMs every month and changing phone every 6 months. My username is still there and seeing the forum still alive and well is awesome!
jordightoday at 12:17 AM
A great talk at a conference given by Elizabeth Figura, the main developer behind putting NTSYNC into Linux:
Interesting, but I wish it was half the size folded...
melonpan7yesterday at 8:06 PM
I stopped using Windows all together two years ago, and since then Linux gaming has made huge strides. Almost everything is playable now with the exception of Kernel AC games - which I don’t play anyways. The success of the Steam Deck has been an integral part, and Vulkan performance is similar if not equal to DX.
One canary I have for Linux vs Windows is whether Bloomberg ever support Linux natively on the terminal. You can actually use the API from inside WSL quite easily already.
wwwestonyesterday at 6:38 PM
I only hope this eventually reaches enough coverage to support media production. It’s the last commercial area I care about. I’m entirely willing to pay for good work here (and have) but both major commercial desktop OSs are exhibiting significant warning signs of contempt for the users.
wazulutoday at 3:14 AM
That's a great twist! Very few people traded Bill Gates a linker for a compiler!
keithnzyesterday at 7:25 PM
my son, and his friends all seem to have switched to https://garudalinux.org/ recently for gaming. Seems to be working out well for them.
Dwedityesterday at 6:21 PM
Headline says "Windows APIs are becoming Linux kernel features", but only provides two actual examples? It lists NTSYNC, and waiting on multiple events at once.
ossianericsontoday at 8:32 AM
I remember two decades back when Games for Windows was introduced with Vista, I wrote an article that this was killing gaming. As a PC (master race) gamer back then, I didn't always find it appealing to think that PC games had to have gamepad support etc. To be called and have the Games for Windows logo.
Now seeing Linux just absorbing Windows APIs into the kernel to make gaming work better? That is the opposite direction. This is what PC gaming needs.
I got into PC gaming when I got my Ambra Hurdla SX25 in 1992. Back then it was the fantastic era of first for everything. We got Comanche, Alone in the Dark, Dune, Dig, etc. First of all game types, not just clones of the same concepts.
gamesbrainiacyesterday at 8:23 PM
Anyone move completely over to Linux for gaming? What is the experience like and what are you using?
dundunUptoday at 9:13 AM
Not really. It’s not “Windows APIs turning into Linux kernel features,” it’s Windows games being translated on Linux way more efficiently than they used to be. Proton stack, Vulkan, Mesa, driver work — that’s where most of the improvement came from.
andixyesterday at 10:16 PM
Time to start betting: Will Windows 12 be based on a Linux kernel? :D
torusleyesterday at 6:50 PM
Linux does not dragged down in performance by the thousands of virus and malware scanners.
panziyesterday at 10:34 PM
Is NTSYNC used for anything else other than wine/proton?
tensegristtoday at 12:54 AM
"how does it feel to be embraced and extended?"
shmerlyesterday at 9:15 PM
ntsync was out already for a while. And it's not necessarily faster than previously available esync and fsync, but it's more correct and clean.
lowbloodsugaryesterday at 7:49 PM
This is good to hear, but I get 120FPS on Windows in Cyberpunk 2077 and ~70 on Ubuntu. Horizon Zero Dawn is much worse, and quite often drops to seconds-per-frame instead of frames-per-second, if I turn on dynamic scaling. I just have an ssd with windows on it for gaming and boot to that from the bios. Also means my headphones UI works too. But, to be fair, the fact that I _can_ run Cyberpunk and HZD if I want to is pretty impressive.
everyoneyesterday at 11:29 PM
The fundamental difference between Linux and OSes like Windows, macOS, Android, iOS, is that the people making Linux are simply trying to make it good, give it as many features as possible, let the user do as much as possible, make it as easy to use as possible.. Whereas the design of the others is guided by a bunch of weird business-goals and internal politics that constantly change.
That's why Linux keeps getting better while the others keep getting worse.
jongjongyesterday at 9:34 PM
Crazy to think that it took over 35 years for the superior technical fundamentals to matter.
It's true what Max Planck said that science advances one funeral at a time. So does the tech industry as a whole.
quxuejuntoday at 3:12 AM
very nice~
TheRealPomaxyesterday at 6:49 PM
This page really does not like playing nice with reader mode, making it near impossible to read unfortunately.
joaohaastoday at 12:11 AM
>NTSYNC isn't the first time Linux has gained a new feature specifically because Windows games needed it. A few years back, Linux added a way for software to wait on several events at once, which is something Windows had built in for decades, but Linux didn't.
Lol.
Post doesn't sound explicitly vibewritten, so probably just a non-technical person.
dmvvilelayesterday at 7:15 PM
What about macos?
picsaotoday at 10:14 AM
[dead]
KolibriFlytoday at 5:23 AM
[dead]
chankitoday at 7:42 AM
[flagged]
JoheyDev888today at 2:07 AM
[flagged]
d0gwuttoday at 3:21 AM
[dead]
jocelynertoday at 3:31 AM
[flagged]
taintlord22yesterday at 10:31 PM
[dead]
fleroviumnayesterday at 6:38 PM
[dead]
naikrovekyesterday at 11:59 PM
Nothing like copying someone else’s shit when you want to avoid thinking of new things for an operating system.
You could be more like Plan9, Linux. You could actually innovate and create new paradigms that make people look at MacOS and Windows and think that they are no longer in the same league.
But you don’t want to do that. You want to play games faster.
Fucking children run the world today. There are no adults keeping track of things making sure that as we go forward that things make sense. There’s no adult supervision in the computing industry anymore. None. It’s all just profit margins calling all the shots. Asinine.
How did it turn out for windows, being “The OS for Games”? Not great, I’d say. Windows is quickly losing that title and will soon become more and more irrelevant for gaming. If you focus on games until you’re “The OS for Games” then decide to innovate on real things that matter outside the home, then you’ll lose that title just like Microsoft is losing it now, and it will happen a lot faster for you than it did Microsoft, because the Linux community is about as organized as an Oklahoma town recently destroyed by a tornado.
Games are fast enough for anyone and there are certainly enough games today that if 5 people lived for 500 years each, there’s not enough time for them collectively to play all games that are available today.
I don’t know what you gamers think the “end game” is for games. Graphics? When are you meant to be happy? When will you stop and say, “ok, we made it”?
Graphics. Pfft. Games do not get better with more realistic graphics, and you know it. Great games are great because they are well thought out and well tested. Great games are not great because the shadows are sharper or because the reflections are more accurate. Some of the shittiest games ever look amazing, and some of the shittiest looking games are S-tier. And you all know it.
Old man mode: off
akakabriantoday at 3:37 AM
I made 50 TUI games recently to just test my agent orchestration skills. If pixel graphics are retro, then ASCII is OG. Part of the reason is to make them playable on any device (including Linux), and partially so that agents themselves can play them (to help me practice my RL skills).
ThrowawayR2last Sunday at 9:05 PM
“He who fights with Windows should see to it that he himself does not become Windows. And when you gaze long into ntoskrnl, ntoskrnl also gazes into you.”
Seriously, is it really a victory if you have to adopt the architecture of your sworn enemy?