Skip to content

Conversation

@jimmyhon
Copy link
Contributor

@jimmyhon jimmyhon commented Dec 13, 2025

Support for the Rockchip RK3588 NPU has been added to the mainline 6.18 kernel as the rocket module.

The userspace Mesa Teflon Delegate driver with support for the Rocket kernel module has been added in Mesa 25.3.

Bookworm Backports only has an older 25.0 version of Mesa. So manually compile a newer version of Mesa 25.3 for Debian Bookworm. (It's built as a GitHub Action using a Debian Bookworm docker image.)
https://github.com/jimmyhon/frigate-builds/blob/master/Dockerfile

https://docs.mesa3d.org/teflon.html

This follows on PR #18310

Discussion for supporting Mainline Rockchip via Teflon #18311

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code
  • Documentation Update

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • UI changes including text have used i18n keys and have been added to the en locale.
  • The code has been formatted using Ruff (ruff format frigate)

@netlify
Copy link

netlify bot commented Dec 13, 2025

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit e1bcf4c
🔍 Latest deploy log https://app.netlify.com/projects/frigate-docs/deploys/693cfdce65640300082ecacc
😎 Deploy Preview https://deploy-preview-21259--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jimmyhon
Copy link
Contributor Author

If using manually compiled binaries is acceptable, how often should the release be updated in Frigate?

With bookworm-backports, there isn't much of an option, they stick with a stable version.

Mesa releases a new release every 2 weeks, however, not every release will include changes to the teflon delegate.

@NickM-27
Copy link
Collaborator

It's very unlikely we would want to do this in the main build, and in any case we're not accepting new features for 0.17 so we can likely wait and see what things look like for 0.18

Especially since we already support the RK3588 with the rockchip kernel and that supports a lot more models and features, I think we'll need to figure out if this is worth supporting / how it would be documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants