Arch Linux Image for VisionFive 2

Thanks so much for this image.

I have early work on package of the IMG_GPU driver userspace (GLES, Vulkan, OpenCL).
From the starfive-tech/soft_3rdpart repo.
It comes with some testing tools as well. rgx_triangle_test can draw some spinning triangles using DRI/KMS.

AUR:
https://aur.archlinux.org/packages/visionfive2-img-gpu

Github:

What works:

  • It comes with testing tools that work and use the GPU.
  • I think anything using opencl should work.

What doesn’t

  • The libvulkan is missing some some symbols so even basic things like vkcube don’t work.
  • It’s just GLES no OpenGL
  • Wayland compositors have decencies that conflict. Eg: weston explicitly depends on mesa which conflicts.
  • There’s no EGL not sure what’s up with that.
  • There’s no libgbm. Which would make KMS hard.

I haven’t tested GLES yet.

The bundled libvulkan could probably be replaced with the normal vulkan-icd and likewise for opencl. That might fix the linking issues for vkcube.

I didn’t bundle the provided headers. Again I think the standard ones should probably suffice for that. (eg vulkan-headers can be installed with this to compile vulkan programs)

6 Likes