2

I have tried running Fuchsia OS on my Raspberry Pi 3 but it is not able to run because there is no support for Vulkan APIs on it.

Please explain why Vulkan Support is not there on the Raspberry Pi 3 and how it can be modified to get this?

2

The Raspberry Pi will support vulkan soon, see VK driver for the Raspberry Pi (Broadcom Videocore IV)

  • "soon" - well Not supported: 3497/3888 (89.9%) a long way to go yet ... and from that page, As far as I know the PI is NOT fully VK capable on the hardware level. I can already see that some things will need to be emulated and others won't ever be emulated. The compiler is also a huge unknown at this point as I plan to write one from scratch - seems there is absolutely no hope – Jaromanda X Nov 27 '18 at 6:00
1

PCWorld states that Vulkan is not supported on the Pi 3 due to the lack of GPU support:

The Raspberry Pi has an aging graphics core, and a GPU upgrade would have made the computer better at gaming. The BroadCom VideoCore IV 3D graphics processor can play 1080p video at 60 frames per second, and it'll run OpenGL games. But it isn't compatible with Vulkan, a new gaming API that will bring visually stunning Linux games to PCs and mobile devices.

Unfortunately, you will not be able to modify the Pi to support Vulkan, as the issue is the GPU capability. The GPU is contained in the BCM2837 system-on-a-chip, as you can see here:

Pi 3 Image

(the SoC is the black square labelled 'Broadcom')

That chip isn't exactly open to modification, so there's not much you can do. If you need Vulkan, you're going to need a different board than the Pi 3.


For your specific issue with Fuchsia, you may be interested in viewing Magenta on Raspberry Pi 3. This is Google's documentation of the current state of Magenta, Fuchsia's kernel, on the Pi. It is specifically stated that:

The following peripherals are not yet supported:

  • Wi-Fi
  • Hardware Accelerated Graphics

Note also that "Initial specifications stated that Vulkan will work on hardware that currently supports OpenGL ES 3.1 or OpenGL 4.x and up", according to Wikipedia. The BCM28xx video core "is documented to fully support OpenGL ES 2.0", which is not sufficient for Vulkan.

1

In addition to pi-vk-driver, there is also a wip mesa branch: https://github.com/abergmeier/mesa-vulkan-broadcom/commits/libvulkan_broadcom

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.