Live data from Hacker News

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

xda-developers.com

441–450 of 694 posts

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

#441

Earlier quoted context omitted.

Um... Are you referring to WSL? Wouldn't that be the linux kernel running under windows?

WSL 1.0 was doing something like that. Doing syscall translation in real time. Eventually edge cases forced them to abandon that architecture and now it's just a VM.

Was it edge cases? I thought the main driver for WSL2 was better filesystem performance.

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

#442
post #329

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 status quo's days are numbered. Online chess shows how. An AI will play these games like a human but better. The AI can be totally separate from the windows box wearing anti-cheat ankle bracelets just as your brain a separate thing to the windows box when when you play. It can interact with the box via keyboard, mouse or controller. No windows kernel module is useful in detecting and deterring chess cheating no m…

China solved this years ago with mandatory ID verification to play video games.

https://en.wikipedia.org/wiki/Real-name_system_for_online_ga...

This was to prevent children from getting addicted but also leads to real life penalties for cheating in video games.

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

#443
post #256

Earlier quoted context omitted.

it can’t really be a way to think about it when the recommendation is to not think about it and just do it. experience, observe, reach opinion. all in accordance with you and not some number that’s abstract to your perception.

Yawman, being on Linux for everything else feels great. In a personal way (rather than technical) it’s like being back in my 20’s hacking Redhat and FreeBSD. I also find the community support is great when I’ve run into the odd issue. My FPS are good and I don’t think about it. I select games based on ProtonDB. There’s always constraints and I’m cool with the limitations that this brings. BF6 is a no-go due to its an…

My son is really into soccer, so I wanted to get the latest ~~Fifa~~ FC game. Oh it has anticheat and doesn't run, at all. Frustrating because I wouldn't want to play online anyway.

Happy to not give EA any money if they're so set on shoving online play and therefore anticheat down the players throats.

Grateful that Steam allows easy refunds.

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

#444
post #426

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…

I used to love Descent 2!

People say this a lot about Linux and it somewhat rubs me the wrong way - sure, the Windows binary works if you install its library dependencies (wine). Likewise (OK, ever since libc5/glibc2 changeover in 2001) the Linux binary should work if you have its library dependencies (SDLv1 it looks like?). So what's really the problem? Your distribution stopped distributing the dependencies, making them harder to find? "DLL Hell" was a thing too.

I didn't see any binary downloads for Linux on that website, only source code.

I gave it a try anyway, the dependencies were actually not a problem for me, Debian has libsdl-{net,image}1.2-dev, libglew-dev, and so on, and if your distro does not have SDLv1 there is libsdl1.2-compat. But after the dependencies, there was a problem with the source code doing something involving bitfield packing that does not compile on x86_64.

I do see the source code has lived on, i can `apt install d2x-rebirth` on Debian 13 which has a comment about https://www.dxx-rebirth.com/ ...is that helpful?

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

#445

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…

Nah. Linux is still too bloody awful for power users, never mind the median gamer. Most Linux usage is SteamOS which only barely counts. It’s a great hedge that keeps Windows almost honest. But we’re a long long long long long long long long ways from the median gaming PC being Linux.

How are these statements compatible?

Like if most linux usage is SteamOS that suggests its good for gamers right?

And that all any other distro has to do, is target SteamOS in terms of gaming usability?

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

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

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

#447

Earlier quoted context omitted.

Unfortunately, the alternative to uncomfortably intrusive anti-cheat is more cheaters, because cheaters don't care about how intrusive their cheats have to be in order to evade anti-cheat. They will happily run hypervisor-level cheats. There's certainly room for improvement on the netcode sometimes (Client-side hit registration is an absolute bone-headed design), but those won't prevent aim bots. Server-side anti-che…

Hypervisor anti-cheat is old hat. The current 'state of the art' is either a DMA card that pretends to be a sound or network card but really is constantly reading and writing directly to RAM in the game's memory space. The other 'state of the art' which is much cheaper, easier, and essentially impossible to detect on a hardware/equipment level, are the AI-based systems that examine the video and generate inputs via U…

The real state of the art is single-game machines.

Instead of running the game in some arbitrary computer, you'd require players to buy your dedicated hardware, a black box that runs the game and nothing else.

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

#448

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…

Windows and Linux trade punches in terms of overall experience. What I've seen around is that if Linux has worse FPS, it tends to have more consistent pacing (it generally has better pacing - but not always, I had to abandon Once Human). Gamer's Nexus has a pretty extensive benchmark video: https://youtu.be/ovOx4_8ajZ8?si=Cx5Q1a-lMMm14H4i . They refuse to compare to Windows, and it kinda makes sense: if it's satisfac…

> if it's satisfactory on Linux for your demands then who cares what Windows can do?

Pretty much everyone? If bread and water is satisfactory for your demands then who cares about Beef Wellington?

If it was better than Windows they sure as hell would be comparing.

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

#449

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

The article mentions this: "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." This is not really my area, but from a quick web search, I think they mean io_uring. Here's a blog post about it: https://mazzo.li/posts/uring-multiplex.html

I thought that's what NTSync was all about?

https://docs.kernel.org/next/userspace-api/ntsync.html

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

#450
post #293

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.

Man if only they had a leader at Microsoft that was famous for prioritising developers.
Post reply on HN