News for hackers. Stuff that matters.
Re:Vulkan1.3 on the M1 in 1 Month by talldayo on Wednesday June 05, 2024 @07:49PM (#40591940)
It feels unlikely. Much smaller companies (Broadcom, Qualcomm) have no trouble writing compliant Vulkan drivers (let alone singular people), so I find it hard to give Apple the pass here. Assuming good faith on their part, Vulkan should be available; or at least some kind of cross-platform API target. Otherwise people are just going to ignore Mac and keep focusing on DirectX, like the status quo.

Vulkan is everyone's ticket out of that mess. Not only does it provide Apple an industry-standard API for third-parties to develop on, it flips the DirectX problem on it's head. Because you support Vulkan 1.3 you get DXVK support alongside DX9, DX11 and DX12 support. Now it doesn't matter what third parties do, because you win every time; Steam Deck politics.

The status-quo is simply detracting from the value of using MacOS; the only feasible explanation is that Apple is hoping to somehow force developers into using Metal natively. Outside Tomb Raider and Resident Evil, I just don't see it happening.

> The Apple Metal platform surely is customized to the needs of Apple

That clearly doesn't stop anyone from writing Vulkan drivers for the hardware, though. OP appears to be blatant evidence of this.

For example; CUDA is well-customized to Nvidia's specific hardware, but their hardware also supports Vulkan drivers. Same goes for Intel with oneAPI AMD's ROCm; all of them still support Vulkan. Apple is quite literally one of the only mainstream manufacturers that does not support it.

Re:Vulkan1.3 on the M1 in 1 Month by ttoinou on Wednesday June 05, 2024 @08:00PM (#40591994)
Your example of taking games that dare go the full Metal route makes me wonder : to which projects was adding 100% native Vulkan compatibility / support worth the resources spent on this and not something else ? What’s the full Vulkan platform having a dedicated OS running solely Vulkan with a Vulkan based GPU and for which real life uses ?
Re:Vulkan1.3 on the M1 in 1 Month by talldayo on Wednesday June 05, 2024 @08:27PM (#40592155)
> What’s the full Vulkan platform having a dedicated OS running solely Vulkan with a Vulkan based GPU and for which real life uses ?

Steam Deck handles it just fine, alongside OpenGL. You use Vulkan to run DirectX games, OpenGL to accelerate the desktop and browser (can soon be replaced with Vulkan too) and fall back to OpenGL for everything else. I'm not aware of any desktop stuff the Steam Deck can't do; it edits video, it runs Blender, it can browse the web and compile apps.

Granted, Vulkan of course isn't a panacea here. But without it, stuff like the Steam Deck simply wouldn't exist. Vulkan is valuable because it provides a preservation layer for Windows software that Apple is unwilling to support themselves.

Re:Vulkan1.3 on the M1 in 1 Month by pcwalton on Wednesday June 05, 2024 @09:35PM (#40592528)
> the only feasible explanation is that Apple is hoping to somehow force developers into using Metal natively

I'm told the problem is some legal spat between Apple and Khronos that has led to a "no Khronos standards anywhere at Apple" policy. I don't know the details beyond that.

Re:Vulkan1.3 on the M1 in 1 Month by talldayo on Thursday June 06, 2024 @12:28AM (#40593498)
Sigh, sadly that sounds in-character. Pour one out for the users that didn't get their feature because a C-suite needed to make a point with their temper-tantrum.
Re:Vulkan1.3 on the M1 in 1 Month by inDigiNeous on Thursday June 06, 2024 @01:27AM (#40593826)
Metal allows Apple to squeeze that extra performance out of their devices. They have full control over, and can implement whatever they need to deliver Apple Vision Pro for example.

With Vulkan, they would have to wait for a committee to approve required changes, and still they could not probably optimize it to match their GPU an CPU hardware profiles in such an efficient way.

And not least at all, to optimize the developer experience and tools. Apple GPU debugging tools are probably the best tools you get for graphics development debugging, and you get that only on macOS.

IMO Metal is a nicer API than Vulkan. At the same time, you can ask, why should Microsoft get to keep DirectX, and not just write a Vulkan driver ?

Re:Vulkan1.3 on the M1 in 1 Month by DeathArrow on Thursday June 06, 2024 @02:32AM (#40594213)
>Metal allows Apple to squeeze that extra performance out of their devices. They have full control over, and can implement whatever they need to deliver Apple Vision Pro for example.

That doesn't stop them from implementing both Metal and Vulkan.

Re:Vulkan1.3 on the M1 in 1 Month by inDigiNeous on Thursday June 06, 2024 @03:02AM (#40594388)
Sure, but a lot of extra work for something like that. Also, Apple Walled Garden..
Re:Vulkan1.3 on the M1 in 1 Month by IsTom on Thursday June 06, 2024 @06:34AM (#40595795)
> they would have to wait for a committee to approve required changes

Or just make proprietary extensions?

Re:Vulkan1.3 on the M1 in 1 Month by talldayo on Thursday June 06, 2024 @12:46PM (#40599563)
> why should Microsoft get to keep DirectX, and not just write a Vulkan driver ?

They support both. And sometimes the Vulkan driver is faster than their native DirectX one too.

Re:Vulkan1.3 on the M1 in 1 Month by pjmlp on Thursday June 06, 2024 @03:28AM (#40594537)
Like in the OpenGL days, Vulkan keeps playing catch up with the games consoles, and DirectX APIs, and it is already a extension mess just like OpenGL, an achievment in a quarter of OpenGL's lifetime.