Live data from Hacker News

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

xda-developers.com

291–300 of 694 posts

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

#291

Earlier quoted context omitted.

I think this, as a business model, really relies on them also selling the licenses to the OS that you're using as well. Otherwise, gamepass would be on MacOS already, no?

Last I read, it really doesn't now. Less than 10% of Microsoft revenue is Windows with growth stagnant. It's all about subscriptions and recurring revenue now driving growth. They might as well bundle a Windows licence with all Game Pass subscriptions.

Well, they are using Windows to sell people that subscription. Windows is Microsoft's bazaar where you can't move 10 meters without being pestered about using $service.

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

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

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

#294
post #94

Earlier quoted context omitted.

Similar but traps are triggered automatically on attempts to execute a protected instruction. https://www.geeksforgeeks.org/operating-systems/traps-and-sy...

Why/when are traps used rather than explicit system calls? Is it just historical coevolution? Or is the idea that the user mode program doesn’t need to know that it’s unprivileged? Or is it just repurposing the error handler path to perform privileged operations?

As others have said, a trap is one way to implement system calls. It's literally the TRAP mnemonic on a 68000.

https://www.nxp.com/docs/en/reference-manual/M68000PRM.pdf see page 292, also see page 629 for the table of "exception vectors" (addresses for code to handle each specific trap/exception/interrupt)

Most processors support both "interrupts" (an external peripheral is banging on the CPU's interrupt pins... but also invocable from software; software interrupts; SWIs; INT instruction on x86) and "exceptions" (e.g. divide by zero, bus error, illegal instruction). Depending on the processor, accessing the "privileged" mode can be done either by software interrupts, exceptions, or both. An operating system should pick one and stick with it.

Other uses for interrupt/exception/trap vectors include hardware breakpoints: don't try and single-step the CPU, overwrite the code with an illegal instruction and control will flow to the illegal instruction handler where you can see all the registers then execute the real instruction that was meant to be there and return to where you left off. Some CPUs have a formal "BKPT" type instruction for that.

One other use on the 68000 is that any unrecognised instruction that started $Fxxx triggered the F-line handler; all the floating point instructions were in the form $Fxxx, so if you didn't have an FPU, you could put a software emulator for the FPU instructions in the F-line handler and software wouldn't know the difference. Traps/exceptions don't have to be a jump from unprivileged to privileged, they can just be utilitarian.

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

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

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

#296

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…

I've been gaming on Linux since 2020 on an Nvidia GPU with no problems, including some AAA titles like Overwatch and Halo.

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

#297
post #125

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

The Linux desktop won not with a bang, but because all of the Windows users realized they would be happier with iPads.

If you competitor starts fading faster than you improve, eventually you’ll pass them no matter how far ahead they were.

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

#298

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…

Tom’s Hardware was a fantastic site back in its heyday. Very highly regarded.

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

#299

Earlier quoted context omitted.

Unfortunately we're the weird ones for wanting to stream >100mbps content. My 2020 LG CX has a USB 2.0 port and I get ~300mbps with a gigabit adapter, if the TV you ended up with has a USB port it's worth a try.

What >100mbps content is there? 4K bluray just needs a bigger buffer to handle >100mbps spikes (Kodi for example offers this) and Moonlight/Apollo/etc is well into diminishing returns

4k blu-ray remuxes break 100mbps for long enough to cause problems on my TV, unless I use either wifi or the USB adapter. Others have done investigations showing in some movies the bitrate will exceed 100mbps for minutes at a time.

1. https://www.reddit.com/r/PleX/comments/eoa03e/psa_100_mbps_i...

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

#300
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

Post reply on HN