Skip to content
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

Errors finding drm plane with fitting format. rk3588 #371

Open
Fredrum opened this issue Mar 8, 2023 · 0 comments
Open

Errors finding drm plane with fitting format. rk3588 #371

Fredrum opened this issue Mar 8, 2023 · 0 comments

Comments

@Fredrum
Copy link

Fredrum commented Mar 8, 2023

Hello!

I'm trying to render decoded video frames to screen using drm planes under tty. (no x11, no GL)
I got an accepted crtc.
The frames are getting decoded with hevc_rkmpp.
But when I try to render them I get errors when trying to match the AV_PIX_FMT_DRM_PRIME or DRM_FORMAT_NV12 frames with the planes from drmModeGetPlane(); (using #include <xf86drm.h>)

How can I get a good plane-to-format matchup to do drm render straight to screen?

I am using Armbian and,
Linux orangepi5 5.10.110-rockchip-rk3588 #23.02.2 SMP Fri Feb 17 23:59:20 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Cheers!

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

No branches or pull requests

1 participant