https://www.raspberrypi.com/news/vulkan-update-version-1-2-conformance-for-raspberry-pi-4/ [ ] * For home * For industry * Hardware * Software * Documentation * News * Forums * Foundation News All news * Search the archive * RSS Vulkan update: version 1.2 conformance for Raspberry Pi 4 [efjM_0] * 1st Aug 2022 * Eben Upton * 13 comments Long before Raspberry Pi happened, I used to design graphics processing units (GPUs) for a living: along with James Adams, Gary Keall, and others, I designed the VideoCore 3d GPU that you can find in every Raspberry Pi computer. From 2007 to 2012, I represented Broadcom at Khronos, the graphics API standards body. At the time, our primary focus was on the OpenGL and OpenGL ES APIs. These are pretty venerable standards, dating back to the mid 1990s. They abstract away the detail of how particular GPUs work, providing a common set of primitives ("here's a texture", "draw this list of triangles") that authors can use to write 3D graphics applications that work on any platform, regardless of the underlying GPU. But after twenty years OpenGL was starting to looking like a bad abstraction: it didn't provide the capabilities application authors needed, and was an increasingly poor fit for how the underlying hardware worked. The result was an increasing amount of overhead and inefficiency, both in the application and in the driver stack. [Sascha_Deferred_Shadows-800x450]The Deferred Shadows Sample from Sasha Willems is now working The Vulkan project was a long-running effort to define a better, more modern, abstraction, which began during my time at Khronos, and led eventually to the release of Vulkan 1.0 in 2016. Since then, it has seen widespread adoption among GPU, operating system, and application developers. For the last couple of years, we have been working with our friends at Igalia to bring Vulkan to the Raspberry Pi 4 platform, and today we're happy to announce that we have achieved Vulkan 1.2 conformance from Khronos. Igalia's Iago Toral says: "All the changes required for this have already been merged in the upstream v3dv Mesa driver and will eventually be available in future Raspberry Pi OS updates. Aside from Vulkan 1.2 core functionality, we have also been adding support for various other extensions, some of which are core in Vulkan 1.3, as well as many bugfixes and performance improvements." Another interesting development came through a contribution by Roman Stratiienko, who added support for Android. If you are interested in this you may want to check out KonstaKANG's Lineage OS releases for Raspberry Pi 4. [LineageOS-800x450]Lineage OS for Raspberry Pi 4 Igalia continue to work on improving Vulkan support for Raspberry Pi 4, so stay tuned for future updates. [Real_Racing-800x450]Real Racing running on Lineage OS Share this post Post to Twitter Post to Facebook Post to Linkedin Post to Pinterest * Raspberry Pi 4 * vulkan * raspberry pi OS Related posts [hello_vulk] Vulkan is coming to Raspberry Pi: first triangle [vulcan-100] Vulkan update: now with added source code [rpi4-sasch] Vulkan update: merged to Mesa [rpi4-sasch] Vulkan update: we're conformant! Next Post [FUEAnf2WIA] Model railway builds featuring Raspberry Pi Previous Post [Big_Mouth_] Big Mouth Billy Bass meets Raspberry Pi Pico W Share this post Post to Twitter Post to Facebook Post to Linkedin Post to Pinterest 13 comments Jump to the comment form Avatar stan423321 1st August 2022, 10:58 am So this is probably a bit of a noob overshoot, but what does one need to play with Vulkan on a Pi? apt install vulkan-something-dev? git clone jokull.it? Reflash the system? Reply to stan423321 Liz Upton Raspberry Pi Staff Liz Upton 1st August 2022, 12:46 pm I think that if you're needing to ask, this very definitely isn't for you yet! You'll need a clean install of Mesa from GitHub, and then you'll need to do some high-pitched screaming. Reply to Liz Upton Avatar stan423321 1st August 2022, 5:24 pm Thanks for honesty, Liz. If diaphragm must be involved, I may indeed want to wait a while... Reply to stan423321 Avatar Gavin McIntosh 2nd August 2022, 2:56 am Looks like Mesa 22.2 is the one we need. https://www.phoronix.com/news/V3DV-Exposes-Vulkan-1.2 I don't see it in the repo yet so DIY compiling? Or just wait, however some distributions might get it faster than Debian based Raspberry OS. Reply to Gavin McIntosh Avatar Steven Houston 1st August 2022, 4:16 pm It may not be too impressive but you can easily run vkcube to get started: sudo apt install vulkan-tools mesa-vulkan-drivers vkcube The source code is here: https://github.com/KhronosGroup/Vulkan-Tools /tree/master/cube Run vulkaninfo for more info about the hardware and driver. Reply to Steven Houston Avatar bsimmo 1st August 2022, 12:29 pm I've been following these updates and it is great too see. It would be great to see some news articles on people actually using this on a Pi4, who uses it and what it has been useful for, and why it has been worthwhile to them and you. Also does it bring anything useful to the PiOS Desktop itself? Reply to bsimmo Eben Upton Raspberry Pi Staff Eben Upton -- post author 1st August 2022, 2:49 pm Right now desktop compositing is handled by Glamor, which sits on top of OpenGL, not Vulkan. The best examples of "real world" applications for Vulkan on Raspberry Pi today are games running on Android/ Lineage. Reply to Eben Upton Avatar Gavin McIntosh 2nd August 2022, 1:28 am Done a basic example testing using VulkanSceneGraph compared to OpenSceneGraph. VSG is about twice as fast as OSG, that makes it usable on Pi4 compared to painfully slow. Warzone2100 is one game that should be able to use Vulkan once it is standard, it is my last benchmark game for OS 3D graphics testing. Compiling mesa3d etc is painful and it breaks if you update/upgrade. Lots of screaming if I do that by accident, haha. I am just going to wait now. I did notice the conformance was on 5.10 and I am running 5.15, no idea what that means. As for Desktop improvements, Chamferwm is the only Windows Manager using Vulkan? Maybe Zink on Vulkan to get OpenGL 4.6? We will learn in time. Reply to Gavin McIntosh Avatar procyon 1st August 2022, 2:31 pm Any progress on hevc? Reply to procyon Eben Upton Raspberry Pi Staff Eben Upton -- post author 1st August 2022, 2:48 pm If by HEVC you mean plumbing frames output by the hardware decoder in as textures for rendering then yes, this is happening: 8-bit is complete, 10-bit is in progress. Reply to Eben Upton Avatar Esbeeb 3rd August 2022, 8:35 am Thanks for continuing to bring the Raspberry Pi into conformance with Vulkan! This work and care is much appreciated. I look forward to seeing the support getting into all the upstream and downstream places necessary (eventually making it within an easy reach of Raspberry Pi OS' normal "apt" package management). Reply to Esbeeb Avatar Roan Brand 3rd August 2022, 9:38 am Please get hardware video decode in the browser working. Been waiting for just that, for years now. I want this thing to work ok for a pc for just netflix and youtube Reply to Roan Brand Avatar Jean Delcapitaine 3rd August 2022, 5:25 pm Hope to see that implemented into Recalbox. PS3 games coming Reply to Jean Delcapitaine Leave a Comment Name (Required) [ ] Email address (also required) [ ] Website URL [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] Your comment (required) [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] D[ ] Submit Follow us * Sign up to newsletter * Twitter * Facebook * YouTube * Instagram * LinkedIn About Raspberry Pi * News * Contact us * Trademark * About us * Jobs * Accessibility * Cookies * Licensing * Terms and conditions of sale * Privacy * Security For home * Raspberry Pi for home For industry * Raspberry Pi for industry * Thin clients * Powered by Raspberry Pi * Design partners * Success stories Hardware * Computers and microcontrollers * Cameras and displays * Add-on boards * Power supplies and cables * Cases * Peripherals Software * Raspberry Pi OS * Raspberry Pi Imager * Raspberry Pi Desktop Documentation * All categories * Product information portal * Datasheets Forums * All forums Raspberry Pi Store * Cambridge Store Raspberry Pi Press * About Raspberry Pi Press * The MagPi * HackSpace * Wireframe * Custom PC