Khronos releases Vulkan 1.0 open graphics specification

Explicit thread control and closer to the metal, but OpenGL not dead yet


Khronos has released Vulkan 1.0, the next generation open graphics API, and a Vulkan SDK for Windows and Linux is now available from LunarG.

Khronos is an industry consortium which creates open graphics standards, including OpenGL and WebGL. Vulkan was announced in March 2015 and represents the next generation after OpenGL, though Khronos is keen to emphasise that OpenGL, and the cut-down OpenGL ES designed for mobile and embedded use, remain in active development.

Today's release includes version 1.0 of the specification, LunarG's SDK which has been sponsored by Valve Corporation, open source conformance tests, and a sample application. Croteam's Talos Principle, running on Steam, is available in a beta version that uses the Vulkan API.

Vulkan has wide support from GPU vendors. AMD has announced a beta of its Radeon software driver which supports the Vulkan API. Intel is offering "industry-certified drivers for three generations of Intel graphics platforms, with more to come," according to VP Imad Sousou. NVIDIA has Vulkan drivers for Windows, Linux and Android available from today. Imagination has early-access Linux drivers for its PowerVR GPU and is promising "Vulkan support extended to all our tools in the very near future". Qualcomm has announced Vulkan drivers for Android 6 for its Adreno 530 and 4xx GPUs, and ARM also has drivers in progress. Google is adding Vulkan support to the Android SDK.

Vulkan is not an update of OpenGL, but takes a different approach, allowing more direct access to GPU hardware and giving developers the ability to create and manage multiple threads running on GPU cores. This enables lower latency and better performance, though porting from OpenGL is not straightforward and in some respects the Vulkan API is more challenging for developers.

That said, most game developers use a game engine rather than coding directly to OpenGL or Vulkan, and it is here, according to Khronos president Neil Trevett, that the new spec comes into its own. "It's the dream API for games engine developers," he told the Reg. "It's the API they have been asking for, and which they have come to the working group to help design."

When is porting to Vulkan worth the effort? "If your app is CPU-bound, if your GPU is sitting idle because OpenGL is essentially single-threaded when it comes to work creation and submission, and you can parallelise that work creation, Vulkan's multi-threading can give significant speed-ups. If your GPU is already fully saturated, Vulkan won't make any difference," said Trevett.

Unlike OpenGL, which has several variants, there will only be one Vulkan API, though different hardware capabilities are allowed for by means of "feature sets". Platform owners define feature sets for their platform, with Khronos providing them for Windows and Linux.

SPIR-V is an intermediate language for Vulkan

SPIR-V is an intermediate language for Vulkan

Another key feature of Vulkan is its support for SPIR-V (Standard Portable Intermediate Representation), an intermediate language for graphics and parallel computing. This enables different front-end languages to generate Vulkan code, including both graphics and general-purpose code that uses the GPU as an accelerator for compute-intensive operations.

The choice for graphics developers is between Microsoft's DirectX or Apple's Metal, for platform-specific APIs, or OpenGL or Vulkan for a cross-platform API. Vulkan's better performance may reduce the attraction of platform-specific APIs, which is good news for platforms that are not from Apple or Microsoft, such as Linux and Android. Valves's sponsorship of the Vulkan SDK is understandable, given that its interest in growing its non-Windows market such as that for the Linux-based SteamOS.®


Other stories you might like

  • Battlefield 2042: Please don't be the death knell of the franchise, please don't be the death knell of the franchise

    Another terrible launch, but DICE is already working on improvements

    The RPG Greetings, traveller, and welcome back to The Register Plays Games, our monthly gaming column. Since the last edition on New World, we hit level cap and the "endgame". Around this time, item duping exploits became rife and every attempt Amazon Games made to fix it just broke something else. The post-level 60 "watermark" system for gear drops is also infuriating and tedious, but not something we were able to address in the column. So bear these things in mind if you were ever tempted. On that note, it's time to look at another newly released shit show – Battlefield 2042.

    I wanted to love Battlefield 2042, I really did. After the bum note of the first-person shooter (FPS) franchise's return to Second World War theatres with Battlefield V (2018), I stupidly assumed the next entry from EA-owned Swedish developer DICE would be a return to form. I was wrong.

    The multiplayer military FPS market is dominated by two forces: Activision's Call of Duty (COD) series and EA's Battlefield. Fans of each franchise are loyal to the point of zealotry with little crossover between player bases. Here's where I stand: COD jumped the shark with Modern Warfare 2 in 2009. It's flip-flopped from WW2 to present-day combat and back again, tried sci-fi, and even the Battle Royale trend with the free-to-play Call of Duty: Warzone (2020), which has been thoroughly ruined by hackers and developer inaction.

    Continue reading
  • American diplomats' iPhones reportedly compromised by NSO Group intrusion software

    Reuters claims nine State Department employees outside the US had their devices hacked

    The Apple iPhones of at least nine US State Department officials were compromised by an unidentified entity using NSO Group's Pegasus spyware, according to a report published Friday by Reuters.

    NSO Group in an email to The Register said it has blocked an unnamed customers' access to its system upon receiving an inquiry about the incident but has yet to confirm whether its software was involved.

    "Once the inquiry was received, and before any investigation under our compliance policy, we have decided to immediately terminate relevant customers’ access to the system, due to the severity of the allegations," an NSO spokesperson told The Register in an email. "To this point, we haven’t received any information nor the phone numbers, nor any indication that NSO’s tools were used in this case."

    Continue reading
  • Utility biz Delta-Montrose Electric Association loses billing capability and two decades of records after cyber attack

    All together now - R, A, N, S, O...

    A US utility company based in Colorado was hit by a ransomware attack in November that wiped out two decades' worth of records and knocked out billing systems that won't be restored until next week at the earliest.

    The attack was detailed by the Delta-Montrose Electric Association (DMEA) in a post on its website explaining that current customers won't be penalised for being unable to pay their bills because of the incident.

    "We are a victim of a malicious cyber security attack. In the middle of an investigation, that is as far as I’m willing to go," DMEA chief exec Alyssa Clemsen Roberts told a public board meeting, as reported by a local paper.

    Continue reading

Biting the hand that feeds IT © 1998–2021