Live data from Hacker News

Linux gaming is faster because Windows APIs are becoming Linux kernel features

xda-developers.com

331–340 of 694 posts

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#331

It may finally be the year of the linx desktop. Microsoft actively being hostile to towards Windows users can't last forever.

It might be the year of Linux gaming systems. The desktop went from terrible to bad and is still at least a decade behind unless some organisation invests dozens of millions and gets themselves an actual professional dev team.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#332

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.

If you wanted to get into development mode in CTOS, the keyword was 'developement' - an e between the p and the m. Worked on this system back in early 1990 as a developer.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#333

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…

Online multiplayer games keep trying to allow linux users in and keep having to lock them out because there's an instant influx of cheaters. The Nintendo Switch (which runs Linux) was a favorite of cheaters after jailbreaks came out. When anyone can compile and run their own kernel with god knows what for modifications, that makes it substantially easier for cheaters and substantially harder for anti-cheat. I don't s…

> You can't rely on server-side detection either, because some of the cheats are so advanced they go to great lengths to "behave" like a highly skilled human player would with their aiming

Shouldn't that be the goal of anti cheat? That cheating is indistinguishable from expert gameplay? Seems to me like these companies are just trying to avoid implementing proper infallible server-authoritative gameplay by offloading the cheat detection to the untrustworthy client, and then trying to lock down the client to make it trustworthy.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#334

Earlier quoted context omitted.

That might make room for Apple to finally try. The AppleTV is already in a similar tier to modern consoles, as far as specs and benchmarks go. Most of what's missing is a first-party controller and a marketing push. Disk space is tight, too, I guess. Still, they're most of the way to having a horse in the race, if they want to. I reckon a successful launch of the Steam box (or whatever they're calling it) with its en…

I dont want a locked down living room, not from apple nor anybody else (but everybody else uses open standards so not really possible). Simply no, thank you.

That’s… the game console market. Even the NES in the ‘80s tried to lock out unauthorized (by Nintendo) software. When the screen flashes over and over on boot, that’s the lockout chip not seeing what it expects (due to a poor connection, usually, if it’s a cartridge that should work). Though I hear the latest Xbox is notably more open than the norm, and of course a living-room PC from Valve would buck that trend entirely.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#335

Earlier quoted context omitted.

Yeah, anti-cheat support is probably the biggest barrier right now. The Steam Deck already showed that many gamers do not really care about the OS as long as their favorite games work smoothly.

Quite the contrary. I care about the OS and that’s why I switched to Linux gaming. The experience wrapping the game is just so much better.

Sure, but the point is that Windows gamers generally do not care.

In other words, no one is going to refuse to use Linux out of loyalty to Windows, as long as all the games they want to play work.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#336
post #234

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…

Your initial baseline was arbitrary. If the game had been 10% slower on Windows, would you have never enjoyed it? If not, how could switching with a 10% penalty be a deal-breaking downside? Just do it. Swap and let go of objectivity. Let your subjective experience guide you. For me, the subjective joy of not having to fuck around with Microsoft's bullshit was worth multiples of having to mess around with technical cr…

> spoiler: I nearly never have to do that because I play single player games, Dota and CS

I think most of the people who really care about game performance aren't people playing games like you do. They are either playing AAA games where the graphics quality is paramount, or competitive games where performance is useful for being competitive.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#338
post #322

Earlier quoted context omitted.

Online multiplayer games keep trying to allow linux users in and keep having to lock them out because there's an instant influx of cheaters. The Nintendo Switch (which runs Linux) was a favorite of cheaters after jailbreaks came out. When anyone can compile and run their own kernel with god knows what for modifications, that makes it substantially easier for cheaters and substantially harder for anti-cheat. I don't s…

>The Nintendo Switch (which runs Linux) was a favorite of cheaters after jailbreaks came out. If you're saying the Nintendo Switch system software is Linux-based, I don't think that's correct. It's a proprietary system based on a microkernel architecture.

I think it's a FreeBSD variant, if I remember correctly.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#339
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.

Re: Linux gaming is faster because Windows APIs are becoming Linux kernel features

#340

Earlier quoted context omitted.

What do you plan to do about firmware updates?

Believe it or not, it's actually easier to handle on linux than it is on windows now [1]. Normal caveats apply, it depends on your HW manufacturer. However, a lot of them are participating which makes it pretty slick. And, assuming your are doing x86, you probably already have an EFI partition so even doing motherboard bios updates isn't much of a big deal. You just drop the update in the FAT32 EFI partition, reboot,…

For a hot moment Windows would just update firmware for big vendors as an update. Worked slick. I think vendors are bailing out on this though.

That said some Linux distros can do the same now though I've used so many the last few months I don't know which.

Post reply on HN