• Racing karts on a Rust GPU kernel driver (Collabora blog)

    From LWN.net@86:200/23 to All on Fri Nov 21 06:40:08 2025

    In July, Collabora announced
    the Rust-based Tyr
    GPU driver for Arm Mali
    GPUs. Daniel Almeida has posted an update
    on progress with a prototype of the driver running on a Rock 5B board
    with the Rockchip RK3588 system-on-chip:

    The Tyr prototype has progressed from basic GPU job execution to
    running GNOME, Weston, and full-screen 3D games like SuperTuxKart, demonstrating a functional, high-performance Rust driver that matches
    C-driver performance and paves the way for eventual upstream
    integration! [...]

    Tyr is not ready to be used as a daily-driver, and it will still
    take time to replicate this upstream, although it is now clear that we
    will surely get there. And as a mere prototype, it has a lot of
    shortcuts that we would not have in an upstream version, even though
    it can run on top of an unmodified (i.e., upstream) version of
    Mesa.

    That said, this prototype can serve as an experimental driver and
    as a testbed for all the Rust abstraction work taking place
    upstream. It will let us experiment with different design decisions
    and gather data on what truly contributes to the project's
    objective.

    There is also a video on
    YouTube of the prototype in action.

    https://lwn.net/Articles/1047291/
    --- SBBSecho 3.32-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)