220 points · by marcodiego · 5y ago · 65 comments
That said I certainly hope Zink becomes a suitable OpenGL implementation since it would simplify development of open source video drivers. i.e. just implement vulkan and you get OpenGL for free.
1. https://www.phoronix.com/scan.php?page=news_item&px=Zink-Sub...
9 fps is not a video game, that’s a slide show. And indeed, playing tomb raider where you want to make jumps and stuff, I would not play that on 9 fps ever.
Vulkan is a much easier standard for GPU manufactures to get right. If we could convert all the higher level APIs (such as DirectX and OpenGL) to it, then we could get consistent behavior across a wide range of vendors.
It depends what you mean by consistent. Vulkan is a lower-level API and has many things specific to particular kinds of hardware, even if they're ostensibly supported everywhere.
For example, it is easy for a Vulkan application that has only been tested on desktop GPUs to have serious performance issues and graphical artifacts when run on a mobile GPU. With OpenGL it would at least render correctly, and it might even be performant.
It's an API where you have to be explicit about everything, and therefore you have to be very careful what you wish for. I'm a bit worried about how long-term preservation of Vulkan games will work out.
If there is anything to worry about, it would be how Vulkan/Direct3D 12 limit future GPU architectures.
At least MS joined OpenXR effort in contrast instead of pushing their own NIH.
However this did happen for DirectX as an option. There are dxvk (dx9-11) and vkd3d (dx12) which translate DirectX to Vulkan.
I suppose they could’ve dropped Metal right away after Vulkan became usable, but developers tend to get grouchy when APIs change out from under them that frequently.
That said there’s no reason they couldn’t support Vulkan alongside Metal, likely with one being a first-party adapter layer for the other.
Apple didn't care about developers when they let OpenGL rot there, so I don't think it was ever a consideration for them. Their idea for developers is "we know better than you what's good for you".
> That said there’s no reason they couldn’t support Vulkan alongside Metal
Exactly, and the real reason is - they want their API to work as lock-in rather than allow developers to have options.
But you are right, translating DX12 to Vulkan is easier than translating DX9 or DX11 to it.
From my understanding, the main goal here was for Chrome to handle WebGL on Windows using Direct3D because OpenGL driver support on Windows is not good. But it's aiming to be a universal graphics shim for many platforms.
Chrome, Firefox, Qt, and Krita all use it.
Virtualized was always it's end game and where well used APIs go to die.
At this point, OpenGL is more important in being fully compatible than in being fully performant. And none of the graphics card guys care about that.
The description actually says that it borrows heavily from radeonsi (AMD's OpenGL implementation), so it means the technique is already used.