-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A23 support #39
Comments
This library is out of date and won't work with recent kernel on any SoC. |
@jernejsk |
Interesting - this library wasn't updated for quiet some time. It was written at the very beginning of Cedrus development, more of a proof of concept. Interface used here doesn't correspond to latest mainline anymore. How did you manage to make it work? Which kernel did you use? I'm afraid there is no replacement for this library. There are some forks which makes it work to some degree on newer kernels. Approach taken with gstreamer and ffmpeg is to use kernel interface directly, without intermediate library like this. However, that won't make it work with VLC and changes are not yet in any stable release of gstreamer nor ffmpeg (gstreamer changes are already in git master branch, while ffmpeg changes are WIP). Regarding your issue - I see that BSP kernel uses a bit lower frequency on A23/A33, 300 MHz instead of 320 MHz. It could be that those additional 20 MHz make it unstable and A33 is a bit more tolerable. You can change that here: https://elixir.bootlin.com/linux/v5.14.1/source/drivers/staging/media/sunxi/cedrus/cedrus.c#L504 |
i'm using this pull request / fork https://github.com/noneucat/libva-v4l2-request/tree/fix-kernel-5.14 it working on A33 with VLC, not really good, but no timeouts
Like this?
Not working with vlc :(
|
Sorry, no idea then. I checked both manuals and description of VE bits matches. |
Ok let's try gstreamer.
A33 - working
@jernejsk
Also my device tree: https://gitlab.com/astroncia/sunxi-wexler-tab-a720/-/blob/master/patches/LINUX_0001-Add-Wexler-TAB-A720-support.patch - maybe something wrong here? |
hm... there could be another driver issue. Can you try removing CEDRUS_CAPABILITY_UNTILED from here: https://elixir.bootlin.com/linux/v5.14.1/source/drivers/staging/media/sunxi/cedrus/cedrus.c#L500 It's quiet possible that A23 doesn't support it. Please test this with gstreamer git too. But you also have to have this bugfix: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/ |
I am using gstreamer git.
Error:
with GST_DEBUG="*:6":
|
Hi, is it possible to run this on A23?
I applied this patch to kernel:
and... it's not working! Timeout when waiting for media request!
is it possible to fix this?
Thanks.
The text was updated successfully, but these errors were encountered: