Skip to content

Update to Debian 13 and enable vulkan#196

Merged
flowzone-app[bot] merged 2 commits intomasterfrom
mtoman/deb13
Dec 9, 2025
Merged

Update to Debian 13 and enable vulkan#196
flowzone-app[bot] merged 2 commits intomasterfrom
mtoman/deb13

Conversation

@mtoman
Copy link
Copy Markdown
Contributor

@mtoman mtoman commented Oct 31, 2025

This PR does two things:

  1. Updates the base image to Debian 13, since RaspiOS 13 is finally available
  2. Enables vulkan in chromium, which makes video decoding a lot better on a Pi5

@phil-d-wilson
Copy link
Copy Markdown
Contributor

@mtoman thanks for pushing this mate. Let me know if you want me to test. I have a Pi3, Pi4 and Pi5 all running the block

@mtoman
Copy link
Copy Markdown
Contributor Author

mtoman commented Oct 31, 2025

@phil-d-wilson I've tested a Pi5, which this PR improves. If you can spare me setting up a Pi3 and Pi4 to see if they didn't break, I'll be more than happy.

@phil-d-wilson
Copy link
Copy Markdown
Contributor

@mtoman can you push the block somewhere for me to reference?

@mtoman
Copy link
Copy Markdown
Contributor Author

mtoman commented Oct 31, 2025

@phil-d-wilson bh.cr/michalt/browser-vulkan - arm64 for Pi5, Pi4 & Pi3 64bit

@mtoman
Copy link
Copy Markdown
Contributor Author

mtoman commented Oct 31, 2025

OK, so here's the first problem, there's no armv7 image for node+debian13

@phil-d-wilson
Copy link
Copy Markdown
Contributor

ah - that is indeed an issue. I guess we could make the decision that we make "best of breed" for the architectures. So leave armv7 on debian 12 and move aarch64 on.

WDYT?

@phil-d-wilson
Copy link
Copy Markdown
Contributor

Confirmed working on a Pi4

@bopete1313
Copy link
Copy Markdown

I just tested on Raspberry Pi 5 using bh.cr/michalt/browser-vulkan and it seems to solve our screen tearing issue. Sweet! Let me know if you need me to run any basic tests to help push this forward.

@mtoman mtoman marked this pull request as ready for review November 21, 2025 14:21
WORKDIR /usr/local

# renovate: datasource=node-version depName=node
ARG NODE_VERSION=22.21.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just remembered that we don't enable renovate in the experimental org, but this is still good to have in place in case it moves to an org where supported.

This replaces the node base image by stock Debian and enables renovate
for node and npm.

Change-type: minor
Signed-off-by: Michal Toman <michalt@balena.io>
This is necessary for smooth video decoding on the Raspberry Pi 5.

The patch also adds a FORCE_VULKAN env variable, which can be used
to override the default behavior and force vulkan (not) to be loaded.
This is useful because enabling vulkan on the Raspberry Pi 5 comes
with a 20% performance penalty to OpenGL, which might not be a good
tradeoff for all users.

Change-type: patch
Signed-off-by: Michal Toman <michalt@balena.io>
Copy link
Copy Markdown

@shaunmulligan shaunmulligan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@flowzone-app flowzone-app bot merged commit ffe748d into master Dec 9, 2025
49 checks passed
@flowzone-app flowzone-app bot deleted the mtoman/deb13 branch December 9, 2025 15:28
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.

5 participants