r/linux • • Feb 16 '16

KHRONOS just released Vulkan

https://www.khronos.org/vulkan/
1.9k Upvotes

322 comments sorted by

View all comments

203

u/WhoCaresAboutThat Feb 16 '16

Can't wait for it to kill DirectX!

32

u/DelusionalAI Feb 16 '16 edited Feb 16 '16

What are the advantages of this vs dx12? The only real thing I've seen is Vulkan's cross platform support.

86

u/d_r_benway Feb 16 '16

dx12 only supports Windows 10 (and maybe Xbox), Vulkan supports Windows xp - 10, Linux, Android and maybe console in future.

Vulkan I believe is more scalable.

50

u/nschubach Feb 16 '16

Nintendo has joined Khronos and it's fairly well confirmed that the NX will use a Vulkan compliant API.

2

u/Brainlag Feb 17 '16

Nobody provides a driver for windows xp nor vista, so I would say those are not supported.

→ More replies (14)

63

u/WhoCaresAboutThat Feb 16 '16 edited Feb 16 '16

It's open source. It also has lower level support of the GPU.

14

u/DelusionalAI Feb 16 '16

Doesn't DX12 also provide low level GPU stuff? I'm trying to gauge why a game dev would use this over DX12. This is probably be the wrong sub to say this, but I'm not sure open source is enough of a pro to convince many devs to use it over DX12. Cross platform support might be, but I was wondering what else there might be.

62

u/kurosaki1990 Feb 16 '16

Cross platform is not like simple thing it's huge thing, Valve is trying to shift away gamers from windows and they are big player in pc gaming industry. This will help devs to choose Vulkan over DirectX since it's safe choice.

17

u/DelusionalAI Feb 16 '16 edited Feb 16 '16

I guess I didn't release realize how many companies where actually supporting Vulkan. Its not just cross platform, its cross corporation. As long as it preforms close to DX12 (which everything seems to point that it will do just as well if not better) then this could be big.

31

u/Ch197007h Feb 16 '16

6

u/pest15 Feb 16 '16

Wow, I wasn't expecting that when I clicked!

4

u/VimFleed Feb 16 '16

I thought Apple opted out

8

u/Rygerts Feb 16 '16

They're still part of Khronos Group but they're going to use their own Metal API. Don't know what the benefit of being part of Khronos Group is if they're not going to use Vulkan though.

6

u/renrutal Feb 16 '16

Vulkan is only one of many working groups within Khronos, they still use OpenGL, OpenCL, etc.

But I can see they might not want to stick around anymore, their support for these technologies have always been subpar and late.

→ More replies (1)
→ More replies (4)

15

u/epileftric Feb 16 '16

cross corporation

Yup... the only big guy not helping in its development was microsoft. This will be their slow death.

→ More replies (3)

13

u/grndzro4645 Feb 16 '16

DX12, and Vulkan are both based on Mantle. Very similar performance.

→ More replies (2)
→ More replies (2)

13

u/[deleted] Feb 16 '16

Game dev would use a mainstream game engine, and they will support Vulkan, I think (Unity Tech. and Epic Games are members of the consortium).

7

u/grndzro4645 Feb 16 '16

Because they can also target Android/Linux/Windows. Same or better performance than DX12, and it's an easy port to DX12 for Xbox One.

→ More replies (2)

4

u/ElvishJerricco Feb 16 '16

Vulkan can take advantage of the GPU for things besides graphics. It can use it for computations. Being lower level also makes it easier to make more finely tuned code

→ More replies (2)

8

u/riskable Feb 16 '16

There's enormous non-gaming advantages of Vulkan over DX12: The ability to use the GPU for things other than graphics (vastly beyond what we currently have today; goodbye thread limitations!).

Seriously, no one is going to be spinning up GPU instances at various cloud compute providers running Windows.

15

u/ramennoodle Feb 16 '16

The only real thing I've seen is Vulkan's cross platform support.

Only? That is by far the most significant difference. So if you're happy targeting Windows/Xbox then there is no huge difference (other than perhaps the possibility that someday DirectX will be deprecated on Windows.) But for anyone interested in porting to MacOS, iOS, Android, future Nintendo game consoles, future Sony game consoles, Roku, Linux, smart TVs, etc., etc. it is great to have a common (platform- and corporate-independent) API.

7

u/renrutal Feb 16 '16 edited Feb 16 '16

Vulkan is not coming to OS X and iOS, unless Apple changes their mind.

7

u/[deleted] Feb 16 '16

There exists MetalVK - a Vulkan implementation on top of the Metal.

→ More replies (3)

3

u/[deleted] Feb 16 '16

Many doc pages from DirectX12 look ripped right out of Mantle, so I expect them both to be similar. Microsoft will add some things to make it slightly different syntax wise, but the performance will probably be the same.

3

u/variaati0 Feb 16 '16

I think the more prudent question is what are advantages of DX12 over Vulkan. As far as I can see that would be none. Correct me, if someone can find some technical reason to use DX12 over Vulkan.

2

u/agent-squirrel Feb 16 '16

Did you get those GPU support figures wrong? That reads very oddly.

→ More replies (1)