Live data from Hacker News

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

xda-developers.com

481–490 of 694 posts

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

#482

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

My theory is that Microsoft is paying Adobe billions never to release their tools on Linux. It's Windows' last stronghold.

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

#483
post #442
post #329

Earlier quoted context omitted.

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.

This a new and exciting use of the word "solved." I don't think I'm completely comfortable with it, possibly due to being raised on a diet of anti-soviet propaganda that spoke of such thing as "freedom" "justice", not sure if people care much anymore but there it is.

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

#484

Earlier quoted context omitted.

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.

I am really curious: what is your definition of a power user.

Double clicking an icon real fast and be the last 10 players consistently in a public match of fortnite. That's a true power user.

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

#485

Earlier quoted context omitted.

> You act like cheating is new to video games?? No, I think the point is that with AI the existing anti-cheat measures can simply be avoided by letting the AI play through the same interface as a human. Therefore anti-cheat kernel modules will no longer be useful, and will no longer be a reason to stay on Windows.

Chess anti-cheat now relies on looking at your moves and spotting mistakes. Not even grandmasters play tactically perfect games so this works pretty well for finding cheaters. In theory FPS games could do the same to detect aimbotting.

and will have to do something along those lines for online play.

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

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

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

#487

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…

>Given the current momentum, it feels like (to me) the adage of “Windows is for Games” is going by the wayside. I think that games have been a strategic priority for Windows for a very long time. Going all the way back to DOS/4GW on Windows 95. But the impression I get from Microsoft is that they kind of don't want the hassle of maintaining a desktop OS anymore, and they would be happier if everyone went elsewhere.

I think that's the key explanation. Gamers are no longer a mass market user group for microsoft - they target all the casual computer users. Gamers actually want full control of their computer, pay attention to details and care about performance: that's a niche user base, and it's clear why their interests overlap with the linux community: user needs trump everything.

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

#489

Earlier quoted context omitted.

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

No, I believe it's futex_waitv

it's both, futex_waitv can also be dispatched via io_uring so you can wait on file descriptors and futexes simultaneously.

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

#490
post #263

Earlier quoted context omitted.

Just produce your own numbers. Install whatever flavour of Linux you like (all distrohopping leads to Debian) on a separate partition and benchmark it yourself. It isn't complicated. In the case of my machine, I haven't observed any difference. And by observe I mean with my eyes, I haven't bothered with actual benchmarks because it seems to work about the same, which is good enough for me. I haven't booted my Windows…

>It isn't complicated Getting reliable, consistent, meaningful performance numbers is in fact, extremely complicated: * You need a consistent way to reproduce the exact same outputs - accounting for things like the game's RNG. You can't just walk around and snap the FPS counter in the corner of the screen and call that good. * For Windows (and occasionally Linux) you need to ensure nothing is running that will taint…

You are making benchmarking WAAAY more complicated than it has to be. We're talking about some dude considering a switch to Linux, but isn't sure the performance is on par. Just load up your game and hit the benchmark button. No sane and rational person is going to be clowning around with driver revisions or regedit, because those types of people think that is more fun than playing the games.

>nothing is running that will taint the results

No, running background crap IS the result, because that's real world conditions, and not some artificial lab condition.

>You need to know which to tweak, and which to leave alone.

That one is easy. You leave all of them alone. Windows tweakers do more harm than good. Besides, replicating benchmark results is impossible after you do brain surgery on the OS.

>You need to decide if you're benchmarking more GPU-heavy or CPU-heavy[...]

You benchmark the games you play. Benchmarking anything else would be completely pointless.

>Only a handful actually do it right.

Rumors say that Hattori Hanzo used to work for AnandTech. I wonder what he's up to these days.

Post reply on HN