Vulkan is coming to Raspberry Pi: first triangle
Following on from our recent announcement that Raspberry Pi 4 is OpenGL ES 3.1 conformant, we have some more news to share on the graphics front. We have started work on a much requested feature: an open-source Vulkan driver!
Standards body Khronos describes Vulkan as "a new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs". The Vulkan API has been designed to better accommodate modern GPUs and address common performance bottlenecks in OpenGL, providing graphics developers with new means to squeeze the best performance out of the hardware.
Be warned that the effort could take months or even years.
Also at Phoronix.
(Score: 3, Interesting) by ikanreed on Monday February 03 2020, @08:25PM (7 children)
Vulkan is barely distinct from openGL in implementation, and I don't know why they didn't just do openGL 5.0, and instead did this weird half-fork thing.
(Score: 2) by loonycyborg on Monday February 03 2020, @08:57PM (5 children)
You kidding? Vulkan works in totally different way than OpenGL in pretty much all respects. Vulkan's working title was GL Next though. Good thing they gave it distinct name since otherwise it would be goddamn confusing!
(Score: 2) by ikanreed on Monday February 03 2020, @09:08PM (4 children)
It's like the exact same interfaces and APIs though. I guess I'm complaining about a sports car having a different name from a sedan when they have the same chassis, but different engines. But it still feels wrong.
(Score: 2) by loonycyborg on Monday February 03 2020, @10:04PM (2 children)
Just how are they same? Not only all functions are named different, they also work in different way. OpenGL keeps pretty much everything in global state while vulkan is object-oriented api with no global state.
(Score: 2) by ikanreed on Monday February 03 2020, @10:21PM (1 child)
I guess that's fair and I think I should concede to overall point but "different names" is a bit of a stretch, it's often just like vKCreateBuffer vs glCreateBuffer.
(Score: 2) by loonycyborg on Tuesday February 04 2020, @08:03AM
Those uses of word Buffer refers to totally different usage patterns in both apis. And most cases of words shared between api names come from 3d rendering math/gpu programming concepts. So using this logic you could conclude that direct3d is a variant of opengl/vulkan too.
(Score: 1) by fustakrakich on Tuesday February 04 2020, @02:51AM
Yeah, it was just a Falcon with a 302
La politica e i criminali sono la stessa cosa..
(Score: 3, Informative) by takyon on Monday February 03 2020, @09:23PM
https://www.raspberrypi.org/blog/vc4-and-v3d-opengl-drivers-for-raspberry-pi-an-update/ [raspberrypi.org]
Not sure what version of Vulkan is targeted (1.0/1.1/whatever).
[SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
(Score: 0) by Anonymous Coward on Tuesday February 04 2020, @12:00AM (4 children)
Can they fix the hardware issues first?
I'd rather they fix the passive cooling issues with the RPi4 that cause the thermal throttling during multi-core tasks and the damn non-standard USB-C cable crap.
I'm really not trying to be to be a Negative Nancy, and I really DO like these SBCs. Things were really going so well each new generation of the boards, until version 4.
Hopefully they will fix these things in the next board release, but in the meantime, I really struggle to have any excitement over this news like I would have in the past.
(Score: 3, Informative) by takyon on Tuesday February 04 2020, @12:26AM (2 children)
Temperatures are lowered with the latest firmware updates. I usually run less than 50°C in a FLIRC case, so no throttling in sight. Plastic case with no cooling? Yes: [jeffgeerling.com]
Cooling Option / Min Temp (°C) / Max temp (°C) / CPU throttled?
Pi in official case (no fan) / 51 / 82 / YES
after fw update / 43 / 76 / NO
"USB-C cable crap" affects almost nobody [tomshardware.com].
[SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
(Score: 2) by wisnoskij on Tuesday February 04 2020, @04:21PM (1 child)
Can firmware really do that? It sounds more like they just throttled back the board overall. I cannot imagine a firmware update that somehow caused a 0 fan device to passively cool faster or run all code more efficiently so as to create less waste heat.
(Score: 2) by takyon on Tuesday February 04 2020, @04:46PM
It looks like performance has stayed the same or improved by throttling less during stress tests.
Here, you can watch them go through every update (never seen this blog post, it's great):
https://www.raspberrypi.org/blog/thermal-testing-raspberry-pi-4/ [raspberrypi.org]
[SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
(Score: 2) by takyon on Tuesday February 04 2020, @02:45AM
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=256646&start=250 [raspberrypi.org]
It's rumored that the 1.2 hardware revision fixes the USB-C issue, but there's no official confirmation of that and it could be difficult to find the latest revision without running code on it.
[SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]