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

IMX8MM, DMA Heap and VPU issues #324

Open
andrewvoznytsa opened this issue Dec 1, 2023 · 0 comments
Open

IMX8MM, DMA Heap and VPU issues #324

andrewvoznytsa opened this issue Dec 1, 2023 · 0 comments

Comments

@andrewvoznytsa
Copy link

I tried to upgrade my 4.14 based system to linux 5.15. As I read in change logs here and there that gstreamer-imx and underlaying components (latest available versions from github) should support it but unfortunately it didn't:

0:00:00.641245125  3024 0xaaaadf66c240 ERROR              imxvpuapi imxvpuapi2_imx8m_hantro_encoder.c:1114:imx_vpu_api_enc_push_raw_frame: could not map the raw frame's DMA buffer: Success (0)
0:00:00.641339125  3024 0xaaaadf66c240 ERROR              imxvpuenc gstimxvpuenc.c:571:gst_imx_vpu_enc_handle_frame:<imxvpuench264-0> could not push raw frame into encoder: DMA memory access error

I did some research on my own and got it working somehow with the following patches

There is still some random crash (Heisenbug) which couldn't be reproduced running under gdb. From the core dump I can say that it is because of memory corruption.

At this point I'd clarify what is official status of 5.15 with DMA Heap and how could I get it working?

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