Skip to content

Rusticl support on Raspberry Pi 5 (VideoCore GPU VII) #57684

@russnes

Description

@russnes

Rusticl is not available by default by installing mesa-opencl from the repos, but I've successfully managed to hack the srcpkg template in mesa to support it.

One issue I encountered was that mesa failed to build nouveau, so in my setup I have disabled nouveau completely with the _have_nv= flag, but obviously that wouldn't work for everyone running aarch64 as they might have an nvidia GPU.

The Raspberry Pi 5 has a VideoCore GPU VII that needs the v3d driver, so I have enabled the _have_arm=yes, which adds the v3d option to _gallium_drivers. Furthermore I have enabled _have_opencl=yes.

Finally I have added rust and cargo to hostmakedepends.

Then finally I have enabled rusticl by installing these packages from the xbps-src repo:
mesa mesa-dri mesa-libgallium mesa-v3d-dri mesa-opencl libgbm

Would be great if this was enabled by default!

Regards,
Simen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions