Etnaviv NPU Driver Further Boosts Performance, Striking Closer To The Proprietary Driver

Written by Michael Larabel in Mesa on 9 February 2024 at 06:31 AM EST. 3 Comments
MESA
Merged for Mesa 24.1 is Teflon for Etnaviv NPU driver support in enabling reverse-engineered, open-source driver support for VeriSilicon NPU IP similar to the long-standing Etnaviv Gallium3D graphics support for Vivante graphics. Tomeu Vizoso who has been leading the work on the Etnaviv NPU support has managed to achieve another performance victory and taking the open-source driver performance closer to the proprietary driver.

Vizoso recently took to adding weight compression support to the driver so that consecutive zeroes within weight buffers can be compressed. With this compression support the MobileNetV1 performance improved from 15.7 to 9.9 ms and SSDLIte MobileDet went from 56.1 to 32.7 ms.

This slide from Tomeu Vizoso shows how the Etnaviv open-source NPU driver is closing in on the official proprietary driver:

Etnaviv NPU driver performance


It will be interesting to see if/when the Etnaviv driver can meet or exceed the performance of the proprietary driver. Vizoso is currently debating what to pursue next whether expanding the SoC support, working more on performance, or starting an entirely new driver for some other hardware. More details on this effort via Vizoso's blog.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week