News for hackers. Stuff that matters.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by ynx on Tuesday October 10, 2023 @05:26PM (#37837778)
Apple doesn't support Vulkan, obviously doesn't support DirectX, and barely supports OpenGL. Metal is a different beast, and the adapter layers are not adequate.

It takes extra effort, and fairly deep and unique knowledge of rendering, shaders, and compilation to support Metal, and even engines which do (Unity, Unreal) face some amount of difficulty in doing so well.

Apple's strategy of giving the middle finger to graphics APIs is patched over poorly by their partnership with Unity, and the fact that lower-end games can get away not needing a crazy amount of compatibility...but it's still on Apple to do better.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Wowfunhappy on Tuesday October 10, 2023 @06:44PM (#37838704)
There is a robust and widely-used Vulcan → Metal compatibility layer. It hurts performance, and that sucks and is absolutely Apple's fault, but it does mean developers can port games to Mac without worrying about Metal.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by kimixa on Tuesday October 10, 2023 @07:10PM (#37838948)
It's also a massive PITA trying to debug or profiling performance on it - no native tools work right.

While "ok" for porting an existing game as a secondary platform, you don't want to be using it for primary development. And that will be why it will remain (at best) a second class citizen.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Wowfunhappy on Tuesday October 10, 2023 @07:22PM (#37839049)
Yes, I want to be very clear GP was in response to the argument "Valve can't port games to macOS because macOS doesn't support cross-platform graphics APIs". Well, no, there is a compatibility layer, performance isn't stellar but if the alternative is your game doesn't run at all, you can take the hit.

Apple should not be happy about this outcome. It doesn't help them build some kind of walled garden, it just makes their hardware perform worse. They should add Vulkan support!

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by johnnyanmac on Tuesday October 10, 2023 @07:55PM (#37839294)
>there is a compatibility layer, performance isn't stellar but if the alternative is your game doesn't run at all, you can take the hit

They don't make many games these days, but Valve tends to be a studio that prides itself on performance. It can very much be "this game runs well or we don't use that platform at all" for them, compared to other AAA studios happy to take the PR hit for a quick buck.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Wowfunhappy on Wednesday October 11, 2023 @07:41AM (#37843260)
Well, I can't say what motivates them, but Valve has used MoltonVK (the compatibility layer) before.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Guvante on Tuesday October 10, 2023 @11:00PM (#37840396)
Releasing a bad port as a AAA studio is a bad idea as everyone focuses on the problems.

Apple refusing to update graphics drivers outside of major OS updates doesn't help...

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Shekelphile on Tuesday October 10, 2023 @07:52PM (#37839268)
Source 2 already has rendering backends for d3d9, 11, opengl and vulkan. There's no reason why they can't support metal besides a refusal to task someone to it.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Tuesday October 10, 2023 @08:05PM (#37839372)
Lack of users means lack of budget to pay for the said “someone”.

Also, there's no reason why Apple can't support OpenGL properly either, there “no reason besides the refusal to task someone to it”.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Shekelphile on Tuesday October 10, 2023 @08:11PM (#37839425)
> Also, there's no reason why Apple can't support OpenGL properly either, there “no reason besides the refusal to task someone to it”.

They do. OpenGL is deprecated, but still supported. If it wasn't supported at all it would not have worked on apple silicon macs.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Tuesday October 10, 2023 @08:42PM (#37839638)
Note that I said “supported properly” above. In addition to the very high number of bugs in Apple's implementation, the fact that it is officially deprecated sends a message to anyone wanting to do new development on MacOS “don't invest in OpenGL now as we could pull the rug under your feet” and it's done on purpose to push developers to Metal.

So now they can only blame themselves if they're losing games because the developer doesn't want to invest in Metal either.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Shekelphile on Tuesday October 10, 2023 @09:11PM (#37839812)
> In addition to the very high number of bugs in Apple's implementation

Many of those 'bugs' remain unfixed to maintain backwards compatibility, not because Apple doesn't want to fix them.

> the fact that it is officially deprecated sends a message to anyone wanting to do new development on MacOS “don't invest in OpenGL now as we could pull the rug under your feet” and it's done on purpose to push developers to Metal.

As it should be.

> So now they can only blame themselves if they're losing games because the developer doesn't want to invest in Metal either.

There's nothing to 'invest' in. Metal is by far the simplest low level graphics API out of all I've used and it would not be hard for valve to write a source 2 rendering backend for it (few days/weeks at most for an experienced dev). There's plenty of AAA games being properly ported to apple silicon now and in a year or two there will be many more. Valve intentionally withdrawing themselves from the ecosystem is purely out of spite.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by phone8675309 on Tuesday October 10, 2023 @10:33PM (#37840256)
> it would not be hard for valve to write a source 2 rendering backend for it (few days/weeks at most for an experienced dev).

Put your money where your mouth is and write one. Just write one. If it's that easy, do it.

Which is more likely - a company that dumps tons and tons of resources into Linux, Wine, DXVK, and put out the Steam deck didn't do this supposedly easy thing because they just don't care or could it be that they don't have the talent in house and wouldn't recoup their investment by doing it?

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Shekelphile on Tuesday October 10, 2023 @11:00PM (#37840395)
> Put your money where your mouth is and write one. Just write one. If it's that easy, do it.

I can't because source 2's source code isn't available.

> Which is more likely - a company that dumps tons and tons of resources into Linux, Wine, DXVK, and put out the Steam deck didn't do this supposedly easy thing because they just don't care or could it be that they don't have the talent in house and wouldn't recoup their investment by doing it?

They don't have the talent? That's funny, considering Valve ported all their games to macOS many years before they ported to linux.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by phone8675309 on Wednesday October 11, 2023 @01:16AM (#37841151)
> I can't because source 2's source code isn't available.

Perhaps then refrain from telling everyone how easy it as when you have no idea what’s going on in the code.

> That's funny, considering Valve ported all their games to macOS many years before they ported to linux.

Are those people still at the company? Either they are not or they’re doing a piss poor job at advocating for their platform.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Shekelphile on Wednesday October 11, 2023 @02:00AM (#37841422)
> Perhaps then refrain from telling everyone how easy it as when you have no idea what’s going on in the code.

I've been reverse engineering source engine games and modding them on and off for the last ~15 years, I almost certainly know more about it than you.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Wednesday October 11, 2023 @03:10AM (#37841789)
> I've been reverse engineering source engine games and modding them on and off for the last ~15 years

> I can't because source 2's source code isn't available.

No contradiction at all here…

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Shekelphile on Wednesday October 11, 2023 @01:42PM (#37847715)
Source code for source 1 has been available for 20 years. It's been fully leaked multiple times and an official SDK with limited source is also available. There is no contradiction.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Wednesday October 11, 2023 @03:20AM (#37841827)
> They don't have the talent? That's funny, considering Valve ported all their games to macOS many years before they ported to linux.

Using OpenGL, not metal, thought. There's a good chance that they don't have a single developer knowing metal.

Sure they could learn, but then there's the next part of the sentence you're responding to: it's unlikely they wouldn't recoup their investment by doing it.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Wednesday October 11, 2023 @03:07AM (#37841779)
> Many of those 'bugs' remain unfixed to maintain backwards compatibility, not because Apple doesn't want to fix them.

Backward compatible kernel panics is a interesting idea for sure…

> As it should be.

Can't complain if Valve don't follow them on that then.

> There's nothing to 'invest' in. Metal is by far the simplest low level graphics API

That doesn't change the fact that porting the game engine to it is still a massive undertaking. It doesn't depend on the graphic API itself that much, but more about the size and complexity of the rendering engine.

Valve isn't stupid, if it was profitable to do so, they'd do the investment anyway, but do not because it doesn't make financial sense.

Apple isn't entitled a free port of popular games to their walled garden. Developers may do it if it's profitable, but that's it. If Apple wants to bootstrap the gaming use case, then it's on them to make an effort.

> Valve intentionally withdrawing themselves from the ecosystem is purely out of spite

“Boohoo stupid Gabe does that out of pure naughtiness.”

I hope you realize how childish your statement is.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by duped on Tuesday October 10, 2023 @10:30PM (#37840238)
The only story I've heard of people supporting Metal is by supporting wgpu.

Well and, whatever embarrassing game that Apple will trot out at their developer conferences 2-3 years after it was released and claim Macs are built for gaming.