This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62P:关于 eglCreateImageKHR 创建错误的咨询

Guru**** 2889230 points

Other Parts Discussed in Thread: AM62P

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1644897/am62p-consultation-on-eglcreateimagekhr-creation-error

部件号: AM62P

您好、

目前、我们正在 AM62P 平台上通过 DMA 实现视频流传输、并遇到如下所示的错误。

您能否帮助我们解决此问题、并在可能的情况下、提供此平台上基于 DMA 的视频流传输的参考示例或示例代码?  我们使用的是 AM62P SDK 10.0

 

SrvManege_eglCheckEglError()(129)]=> EGL:在 eglCreateImageKHR() eglError (0x3003) 之后

SrvManage_eglSetupYuvTexSurface()(406)]==> EGL:错误:eglCreateImageKHR 失败!!!

SrvManage_eglGetDmaTexYuv ()(461)]==> EGL:错误:无法将纹理[0]绑定到 dmabuf FD [–1]!!!

SrvManage_eglGetDmaTexYuv|463)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ying:  

    您能否启用调试日志记录并提供显示以下内容的输出:

    1.分配后立即使用 dmabuf fd 的值
    2.传递到 eglCreateImageKHR() 时 dmabuf fd 的值
    3.在 eglCreateImageKHR() 之前 egGetCurrentContext() 是否有效?
    4、有多少次 eglCreateImageKHR 调用存在? 是否成功?
    5. dmesg 关于错误时间,过滤: dmesg | grep -ie “dma|drm|alloc“

    此致、

    Shriya