Vulkan 1.1 Specification Released: Open-source Tools, SDKs, and Launch Driver Support
Since the release of Vulkan 1.0 in February 2016, the successor to OpenGL slowly but surely made its way into applications and game engines. Today, roughly two years later, the Khronos Group is releasing Vulkan 1.1 and SPIR-V 1.3 specifications, and much like Vulkan 1.0's 'hard' API launch these are accompanied by updated developer tools, open source conformance tests, and launch driver support from GPU vendors. [...] In sum, the evolution of Vulkan from 1.0 to 1.1 is three-pronged: integration of developer-requested functionalities, driver support and seamless porting of Vulkan to more platforms, and then practical implementation by way of a developed ecosystem.
Moving straight into the core changes, Vulkan 1.1 brings two new wide-ranging functionalities: protected content and subgroup operations. The former utilizes low-level restrictions such that applications can render and display using resources they cannot access or copy, in turn securing playback and display of protected content. While ostensibly for DRM purposes, Khronos noted that Vulkan was exposing GPU capability rather than pushing for hardware-level DRM, leaving usage or implementation up to the developers.
So on the one hand, developers may choose to create a highly-restrictive multi-layered DRM scheme with a high degree of granularity. On the other hand, perhaps the feature could be used for an advanced low-level adblocker, not only for browsers but one that could hook onto ad-serving mobile and desktop games and applications. All might be possible with Vulkan 1.1 and beyond. To that end, Vulkan is in many ways simply looking to enable what is possible – in the purest sense of the idea – on GPUs.
That idea carries over with the new 'subgroup operations', where a set of threads can communicate and coordinate amongst themselves where normally this would be done by accessing off-chip memory. Ultimately, this offers developers a method of parallelizing certain workloads to a very high degree, and while compute and deep learning are the more obvious use cases, subgroup operations are not limited to only compute shaders and could presumably be used for graphical purposes. Naturally, the new SPIR-V 1.3 likewise supports subgroup operations.
Khronos Group press release and Vulkan Resource Page.
SPIR: "Standard Portable Intermediate Representation"
Previously: Khronos Group Releases Vulkan 1.0 Graphics Specification
Related: Open Source Doom 3 BFG Gets a Vulkan Renderer
AMD Finally Pushing Out Open-Source Vulkan Driver
Related Stories
After 18 months of work, the Vulkan 1.0 graphics specification has been released:
This is a little different from the Khronos Group's past launches, however, in that this time around there will be more than a specification PDF available – there are drivers, support documentation and a free SDK, and there is even a game that you can download with a Vulkan backend. There is a multitude of companies comprising the Khronos Group, and those in the working group for Vulkan include not only AMD, Nvidia, and Intel, but game engine makers and even Oculus VR.
[...] Unlike DirectX 12, Vulkan is completely open-source and royalty-free. Anyone who wants to use the code or adjust the code to fit their personal needs is free to do so, be that for private or commercial purposes. [...] DirectX 12 is Microsoft's graphics API, and it works only on Windows 10. Metal is an API made by Apple, and although it is also a low-overhead API, it works only on Apple devices. Vulkan, by contrast, works on many platforms. You can use in on operating systems as old as Windows XP on up to Windows 10, pretty much any Linux distro including SteamOS, and Android. Interestingly enough, Apple has opted not to integrate support for Vulkan into its devices -- although it is free to do so, so a day may come when Apple devices do have Vulkan support.
The development of the API owes a lot to AMD's Mantle:
[Continues.]
Doom 3: BFG Edition, the remastered version of Doom 3 (id Tech 4) which had its source code released in November 2012, has gained a Vulkan renderer (Vulkan is a graphics API successor to OpenGL that can better utilize multiple cores and GPUs):
Dustin Land of id Software has been working on the "vkNeo" project in his spare/personal time as a Vulkan renderer for Doom 3 BFG / idTech4, which was open-sourced a few years back. This is along the same lines as the vkQuake open-source port of the original Quake to running on Vulkan.
Doom 3 can easily run on nearly any modern PC these days with its classic OpenGL renderer, but now with Vulkan the game can run at 500+ frames per second in simple areas or 150~300 FPS in the more demanding areas of this first person shooter.
The Doom 3 Vulkan code was open-sourced over night via vkDOOM3 on GitHub for those interested. Land commented, "It was written as an example of how to use Vulkan for writing something more sizable than simple recipes. It covers topics such as General Setup, Proper Memory & Resource Allocation, Synchronization, Pipelines, etc."
This new build of Doom 3 is Windows-only for now but the code will be added to RBDOOM-3-BFG soon which does support Linux.
After a long wait, AMD is finally delivering on their two-year promise of open-sourcing their AMD Vulkan driver for Linux!
Ahead of the Vulkan 1.0 debut nearly two years ago, we heard that for AMD's Vulkan Linux driver it was initially going to be closed-source and would then be open-sourced once ready. At the time it sounded like something that would be opened up six months or so, but finally that milestone is being reached! Ahead of Christmas, AMD is publishing the source code to their official Vulkan Linux driver.
What Is This Driver?
This Vulkan driver they are open-sourcing is their "official" Vulkan driver as found for Linux users already within the AMDGPU-PRO driver. It's also the shared code-base to their Vulkan Windows driver. Basically, it's their full-featured Vulkan driver that AMD has been investing in the past 2+ years.
With this being the official AMD Vulkan driver and from their shared code-base, it's important to note that this is NOT a driver living within Mesa. This AMD Vulkan driver lives in its own code-base and is not using or dependent upon Mesa/Gallium3D but rather just interfacing with libdrm / AMDGPU DRM / LLVM directly.
... With this official Vulkan driver being shared across platforms, I was curious if this open-source access would allow it to be built on Microsoft Windows or if they are not opening up all of the bits for the Windows integration, etc. The AMD response to this question was, no, the code they are pushing out was stripped down to just their Linux code.
(Score: 0) by Anonymous Coward on Thursday March 08 2018, @09:24AM (1 child)
Every computing device evolves into a general computer.
(Score: 2) by MostCynical on Thursday March 08 2018, @11:08AM
In this case, possibly a locked one.
"I guess once you start doubting, there's no end to it." -Batou, Ghost in the Shell: Stand Alone Complex
(Score: 2) by stretch611 on Thursday March 08 2018, @09:45AM (5 children)
Built in DRM. NOT!!!
So why the major pirates will crack this and make copies, the end user who wants to screen capture their high score will be screwed.
I can't wait for game companies to stop allowing streaming on games for no reason other than to keep people in the dark to how much a game sucks. How can you tell if the limited videos of game play they show you look like fun, when 99% of what you do is constant grinding? Its similar to when the movie industry won't allow any reviews of a crappy movie before it gets released... "but the trailer looked good... who knew everything else sucked."
Now with 5 covid vaccine shots/boosters altering my DNA :P
(Score: 1, Touché) by Anonymous Coward on Thursday March 08 2018, @10:42AM (4 children)
Seriously, folks.
Learn something from Buddhism: Give up your desires, and thereby achieve contentment.
(Score: 0) by Anonymous Coward on Thursday March 08 2018, @12:03PM (2 children)
What is a human without his desires?
(Score: 3, Insightful) by Anonymous Coward on Thursday March 08 2018, @12:23PM
That's the goal.
(Score: 1) by dwilson on Thursday March 08 2018, @05:01PM
I won't say that it's better, it's just that it's less worse.
- D
(Score: 3, Touché) by bzipitidoo on Thursday March 08 2018, @03:04PM
Yes, game companies and Big Media should give up their desire to have total control over how and when and at what cost each of us may view each individual video. Digital Restrictions Management is evil, and we'd all be much more contented, even Big Media, if we gave up on that false idea and the frustrations it causes all.
Whenever my browser says I have to enable DRM to watch some video, I don't enable and don't watch. And in that case, thank you DRM for blocking an unwanted video. I don't want my browser autoplaying any videos, ever.
(Score: 0) by Anonymous Coward on Thursday March 08 2018, @05:20PM (2 children)
why you so nasty, amd? whoring yourself out to hollywood like that. have some self respect. save your bullshit about "up to the developer". you're baking in closed subsystems for people that want to control hardware other people buy. what's your fucking problem? these will be abused by these scum in hollywood, their shameless slave devs and attackers eventually. Why can't you just have some fucking integrity instead? dirty leg skanks.
(Score: 2) by letssee on Thursday March 08 2018, @05:29PM (1 child)
While I do agree with your sentiment, I think AMD is hardly to blame. They can put up or shut up. The feature is requested and if they don't deliver they will be irrelevant even faster.
Nvidia rules the waves. Be glad there is still *some* competition.
(Score: 1, Interesting) by Anonymous Coward on Thursday March 08 2018, @07:48PM
With DRM disabled. But none of the big players are willing to provide for that market.
Instead we'd need to crowdfund and bootstrap it from scratch, while also designing to avoid any patents newer than 1998.
Sadly there have only been a half dozen initiatives I have heard of that even attempted this in the past 15 years, and only two current ongoing ones that might succeed... Ny-something and the one based off the AMD architecture (VLIW4?5? GCN1.0?) Both FPGA proven and both with llvm compiler support. Not sure if the former avoids modern gpu patents or not, but the only other alternative if it was still available on the market, would be the epiphany chips, but the 2nd iteraction of them returned to closed source along with the newer toolchains and appears marketed solely to the DoD and related parties :(
(Score: 2) by Hyperturtle on Thursday March 08 2018, @06:01PM (1 child)
I never noticed it before now, but they don't allow users to download the new driver directly. (Not that I could find... anyone find an actual Vulkan driver download link?)
Their product announcement goes to great lengths to say how great it is but that you can't actually have it; you have to get it as a tie-in from your hardware manufacturer.
Great. Generally, I take apart the installers and zap stuff I don't want, and that gets tiring. Nividia may ask if I want HDMI audio for a monitor that doesn't have speakers, but they don't ask if the telemetry is fine by me. If it is not in the install folder, then the EULA I agree to doesn't include it and I didn't tamper the installation, or so I believe so that I can justify my sins when pressing next to continue.
I don't want to install all new drivers for a video card, I just want this. The older stuff is small enough to put on a diskette; the last version I have has an installer that is 956KB and is part of the overall driver package. It's almost like they do the right thing when it comes to trimming out bloat in what they do, but then require that they are strapped to all that bloat for its delivery...
I might not want the other stuff bundled into those installers that do different things than say, only update Vulkan because I want to test the differences between the old and new one.
I accept that DRM restrictions come with a lot of modernized stuff. I have reached a point where I pick and choose the battles for the hardware I have.
There are not many excellent alternatives for modern computer stuff that simply ignores DRM; funding is hard to get for industry standards like that, no matter how noble.
So I accept it as a compromise on the systems I'd use it on (like for gaming). I don't have DX12 available to me despite it being on the hardware; Vulkan is fighting one of the good fights by providing an alternative that otherwise doesn't really exist aside from assimilation.
If you want to avoid the DRM in things, you have to start picking and choosing what you want a given machine to do; I won't get into the alternatives out there, but there are various options... some with more longevity than others, but there are still options.
(Score: 1, Informative) by Anonymous Coward on Thursday March 08 2018, @08:11PM
Its an open/free STANDARD for a graphical API. It is not a driver on it's own.