WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@amazingfate
Copy link
Collaborator

Chromium will skil decoders that has JPEG format support. Just disable
it then we can have vpu decoder detected by chromium.
…v4l2_poll

Chromium does not listen POLLOUT event, but it is necessary to run
vb2_poll with input queue for source change. This will let vpu decoding
work with mainline chromium without patch.
@RadxaYuntian
Copy link
Contributor

So #5 is currently not necessary?

@amazingfate
Copy link
Collaborator Author

So #5 is currently not necessary?

#4 is for chromium patched to use legacy v4l2 stateful decoder. It is not necessary for mainline chromium without patches.

@amazingfate
Copy link
Collaborator Author

@RadxaYuntian Add a new commit: amazingfate@41ae160. This will let us get rid of this patch: https://gitlab.com/cix-linux/cix_opensource/chromium-cix/-/blob/ee8f6/48bff/cix_p1_K6.6_2025Q3_dev/debian/chromium_128.0.6613.84/patches/0007-media-gpu-v4l2-increase-bitstream-buffers-to-16.patch?ref_type=heads.

With the all 3 patches to cix vpu kernel driver we can use mainline chromium without external patches.

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.

3 participants