Live data from Hacker News

Half-Life 2 running natively on HaikuOS

discuss.haiku-os.org

41–50 of 74 posts

Re: Half-Life 2 running natively on HaikuOS

#41
post #32

Earlier quoted context omitted.

I wish Valve would take a cue from id and release the source code to Source and/or at least GoldSrc under an open license. Though I have a hard time imagining them opening up code to more lucrative games like Team Fortress Classic or Counter-Strike classic. Nice dream though...

Old-ish Source has a pretty generous license, no? https://github.com/ValveSoftware/source-sdk-2013/blob/master... GoldSrc is there somewhere as well. I’m definitely grateful for it. I’ve read some of it myself and watched a bunch of Youtube about it.

That repository is not the engine, it's just the code for the client.dll/server.dll binaries that contain game-specific logic and some other tools.

Re: Half-Life 2 running natively on HaikuOS

#43

Earlier quoted context omitted.

What do you mean? BSDs have tons of code lifted from the Linux amdgpu driver.

They are literally the only one who has managed to do it,, and they do so by having a huge layer of compatibility that takes years to update to new versions and support newer generations. We do not know if it would be easier for BSD to support nvidia either ... because they already have nvidia drivers (released by nvidia itself). On the other hand here we have a random guy that adds support for nvidia gpus, by himsel…

Right, I thought you meant there was some GPL-caused license issue.

Re: Half-Life 2 running natively on HaikuOS

#44
post #38
post #17

Earlier quoted context omitted.

I know it's not as cool but the Steam Deck can run HL2 at just as low power consumption with its AMD APU.

"A normal Steam Deck consumes about 4 to 7 watts of total system power when idling on the home screen with low screen brightness." Maybe HL2 brings zero overhead to idle then? Anyway X86 is the past, risc-v is so completely lost into eternal future... only ARM really works right now.

You can do less on the OLED with a few tweaks in the quick menu. Specifically the OLED because it has a more efficient APU. Limit APU to 3W, disable radio, maybe more.

> Anyway X86 is the past, risc-v is so completely lost into eternal future... only ARM really works right now.

I don't disagree but all of the recent Raspberry Pis have worse performance, cost more than x86, and barely use less power. There are so much better examples to showcase ARM.

Re: Half-Life 2 running natively on HaikuOS

#45
post #38
post #17

Earlier quoted context omitted.

I know it's not as cool but the Steam Deck can run HL2 at just as low power consumption with its AMD APU.

"A normal Steam Deck consumes about 4 to 7 watts of total system power when idling on the home screen with low screen brightness." Maybe HL2 brings zero overhead to idle then? Anyway X86 is the past, risc-v is so completely lost into eternal future... only ARM really works right now.

> Maybe HL2 brings zero overhead to idle then?

It went like particularly dry shit off a teflon shovel on my Duron 700 when it was new so I can't imagine it would tax a nice modern chip much.

Re: Half-Life 2 running natively on HaikuOS

#46

Earlier quoted context omitted.

What makes it easier?

See the first message of TFA. The author complains that amdgpu has way too many linuxisms that make it impractical to port it to non-Linux ( unless you are already emulating Linux). On the other hand, the nv kernel driver is portable, up to the point that it is easier to port that to Haiku and then change the entire Mesa to use it than it is to port amdgpu (which wouldn't need Mesa changes).

Of course a Linux driver is going to make use of Linuxims. That’s literally the point of a Linux device driver.

Given how performance-sensitive device like a graphics card is, you’d naturally want as few abstractions between your OS and your hardware as possible.

Re: Half-Life 2 running natively on HaikuOS

#47

What I find depressing is because of idiotic Linux policies, it turns out nvidia hardware is easier to run on a 3rd party OS than hardware with otherwise fully open source drivers like Radeon. This is just yet another example that you may think things in the hardware world have changed now that Linux "rules", but they have not.

Nvidia drivers being crap has nothing to do with Linux policies. It's entirely up to Nvidia to invest and improve their drivers but it's clearly not a priority. Their focus is AI. If you need a CUDA accelerator, they're great. Graphics or even display output? Better have a second AMD or Intel card for that.

Re: Half-Life 2 running natively on HaikuOS

#48
post #41
post #32

Earlier quoted context omitted.

Old-ish Source has a pretty generous license, no? https://github.com/ValveSoftware/source-sdk-2013/blob/master... GoldSrc is there somewhere as well. I’m definitely grateful for it. I’ve read some of it myself and watched a bunch of Youtube about it.

That repository is not the engine, it's just the code for the client.dll/server.dll binaries that contain game-specific logic and some other tools.

https://github.com/ValveSoftware/halflife on the other hand is the full Half-Life (GoldSrc) engine, but it's not quite an open license.

Re: Half-Life 2 running natively on HaikuOS

#49
post #4

Earlier quoted context omitted.

I've watched his previous videos on Haiku and haven't been impressed with him. He doesn't seem to have in-depth knowledge of how software and drivers work, which is especially important given how work-in-progress it all is, and that the lineage of Haiku goes back to BeOS. The community has done a lot of good work, and he doesn't grasp it fully.

Yes, you have seen a video and you have seen them all. It can be resumed to "will it run minecrafts (or one of its clones)". I guess he figured out the short 10-15min format is better for engagement bevause people brains have been destroyed by tiktok and instagram reels and barely anyone can concentrate for 30min on a subject but really it makes for very uninformative vids.

Sometimes there's just not more than 10-15min of content that even a (significant) niche audience would find interesting. There's also only so much time in a day / week to produce. The machine demands novelty.

Re: Half-Life 2 running natively on HaikuOS

#50
post #41

Earlier quoted context omitted.

That repository is not the engine, it's just the code for the client.dll/server.dll binaries that contain game-specific logic and some other tools.

https://github.com/ValveSoftware/halflife on the other hand is the full Half-Life (GoldSrc) engine, but it's not quite an open license.

I'm pretty sure this is just the mod SDK as well.
Post reply on HN