Live data from Hacker News

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

xda-developers.com

91–100 of 694 posts

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

#91
post #89

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.

That's exactly the kind of flashy, gaming-forward distro I was drawn to as a teenager. Good times :)

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

#92
post #76

Earlier quoted context omitted.

For one, DisplayPort doesn’t support HDR output

That can't be right. I'm reading this comment on an HDR monitor over DP right now. Don't all USB-C video outputs use DP alt mode too, with an HDMI adapter at the end? And they can do HDR.

[deleted]

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

#93

Earlier quoted context omitted.

any reason why we are using hdmi over display port?

For one, DisplayPort doesn’t support HDR output

displayport has supported HDR10 since 2016

and displayport 2.0, since 2019, has supported all the same variations (hdr10+, dolby vision) that HDMI does

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

#94

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 I implemented a couple of traps What does this mean? System calls?

Similar but traps are triggered automatically on attempts to execute a protected instruction.

https://www.geeksforgeeks.org/operating-systems/traps-and-sy...

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

#95
post #25

If you purpose build a Linux gaming PC, would you lean more towards AMD GPUs over Nvidia?

AFAIK none of AMD's offerings match the 5090 for pure gaming performance, so personally that's what I would stick with regardless.

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

#96
post #26

Earlier quoted context omitted.

Microsoft/Xbox is in the process of losing the living room permanently in the next gen if you ask me. I don't know what they could do spanner tossing wise to really screw w/ Linux gaming at this point that wouldn't just drive more frustrated customers off their platform.

Their gaming marketshare is minuscule both on PCs and consoles already. It's a downward spiral for years already.

Windows still has a huge gaming marketshare on PC, and Microsoft as publisher is still a big player. You mean something else?

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

#97

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 I implemented a couple of traps What does this mean? System calls?

if you know a particular process or system callmakes errors,then you run code that checks for that error,or exception,or preempively hooks a problematic system call,to redirect to "your"code that handles the state of exception,and returns.

https://en.wikipedia.org/wiki/Interrupt#Terminology

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

#98

Earlier quoted context omitted.

We are so far removed from 1997 that this statement means nothing. > the goals of Linux and Windows are simply so different. So different that Windows muscle memory works on most main stream Linux UI's, Many (most?) Steam games run on Linux, and now we have Windows in the Linux kernel.

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.

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

#100
post #58
post #23

Earlier quoted context omitted.

> there's no regedit or control panel and other such things That's not a bug, it's a feature.

Be that as it may, it means that the muscle memory (or more accurately, the mental model of the system) is gone. I've long held the belief that power users or knows-enough-to-be-dangerous users have a harder time switching for that exact reason. A control panel (or cross-distro YaST) would be very welcome in the ecosystem I think.

> muscle memory (or more accurately, the mental model of the system)

That's not "more accurately", that's just a completely different thing. When I'm on Mac, my muscle memory is thrown off. I'll be typing and my ctrl+s, alt+tab, win+4, ctrl+left* all cause wildly unpredictable (to me) things. I'm currently using Linux, and all of those things work how I expect (with a tiny asterisk on win+#). When I want a control panel, I press the windows button on my keyboard to open something functionally equivalent to the start menu, and open System Settings to get something functionally equivalent to the control panel.

I have no doubt that I could learn the deep differences between Windows and Mac over time, but the initial muscle memory causes me stress before I get to that point. When I switch to Linux I don't have that stress, and so I've been comfortably learning those differences.

* - save, switch to the previously in-focus window, switch to the 4th program on the taskbar, move the cursor one word to the left

Post reply on HN