How to investigate EGL_BAD_DISPLAY error?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to investigate EGL_BAD_DISPLAY error?

Sirius Wu
Hi,

last email I sent have a bad subject line. So I send again.

I'm working on a android 7.1 project using gstreamer on rk3229. Running android tutorial 5 give me the following error about EGL, and displaying a HLS streamed movie is slow, although display the orignal ogg file is ok. I've found the following errors or warnings in logs: 1. no non-static method "Landroid/media/MediaCodecList;.getCodecCount()I" Because getCodecCount was deprecated in API level 21, may be it was already removed from the android 7.1 version? Does gstreamer has already work around it or should I modified the source code of androidmedia to replace getCodeCount with getCodecInfos? 2. validate_display:99 error 3008 (EGL_BAD_DISPLAY) 3. unknown EGL_COLOR_BUFFER_TYPE value 3300 4. libEGL : called unimplemented OpenGL ES API 5. libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) 6. libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) I think the above errors may be resulted from the same error. Last time I heard Nicolas Dufresne says this needs some investigation. What approach I can take to investigate this and find the EGL API? I've already compile the gstreamer 1.0 myself. I've another question about kmssink. Some website says kmssink or a drm plugin performs well for rockchip. Why I can see kms' source in plugins-bad, but no kms file in the android binaries generated from ./cerberol-uninstalled.


--
Sirius Wu

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to investigate EGL_BAD_DISPLAY error?

Marc Leeman

I don't know how relevant this is for android, but I assume you're using nvidia.

Make certain you are building with

1/ GStreamer git

g. Marc


On Mon, 14 Oct 2019 at 12:40, Sirius Wu <[hidden email]> wrote:
Hi,

last email I sent have a bad subject line. So I send again.

I'm working on a android 7.1 project using gstreamer on rk3229. Running android tutorial 5 give me the following error about EGL, and displaying a HLS streamed movie is slow, although display the orignal ogg file is ok. I've found the following errors or warnings in logs: 1. no non-static method "Landroid/media/MediaCodecList;.getCodecCount()I" Because getCodecCount was deprecated in API level 21, may be it was already removed from the android 7.1 version? Does gstreamer has already work around it or should I modified the source code of androidmedia to replace getCodeCount with getCodecInfos? 2. validate_display:99 error 3008 (EGL_BAD_DISPLAY) 3. unknown EGL_COLOR_BUFFER_TYPE value 3300 4. libEGL : called unimplemented OpenGL ES API 5. libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) 6. libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) I think the above errors may be resulted from the same error. Last time I heard Nicolas Dufresne says this needs some investigation. What approach I can take to investigate this and find the EGL API? I've already compile the gstreamer 1.0 myself. I've another question about kmssink. Some website says kmssink or a drm plugin performs well for rockchip. Why I can see kms' source in plugins-bad, but no kms file in the android binaries generated from ./cerberol-uninstalled.


--
Sirius Wu
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
g. Marc

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to investigate EGL_BAD_DISPLAY error?

Sirius Wu
Hi Marc,

no, I'm using Rockchip's RK3229.

Marc Leeman <[hidden email]> 於 2019年10月14日 週一 下午8:34寫道:

I don't know how relevant this is for android, but I assume you're using nvidia.

Make certain you are building with

1/ GStreamer git

g. Marc


On Mon, 14 Oct 2019 at 12:40, Sirius Wu <[hidden email]> wrote:
Hi,

last email I sent have a bad subject line. So I send again.

I'm working on a android 7.1 project using gstreamer on rk3229. Running android tutorial 5 give me the following error about EGL, and displaying a HLS streamed movie is slow, although display the orignal ogg file is ok. I've found the following errors or warnings in logs: 1. no non-static method "Landroid/media/MediaCodecList;.getCodecCount()I" Because getCodecCount was deprecated in API level 21, may be it was already removed from the android 7.1 version? Does gstreamer has already work around it or should I modified the source code of androidmedia to replace getCodeCount with getCodecInfos? 2. validate_display:99 error 3008 (EGL_BAD_DISPLAY) 3. unknown EGL_COLOR_BUFFER_TYPE value 3300 4. libEGL : called unimplemented OpenGL ES API 5. libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) 6. libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) I think the above errors may be resulted from the same error. Last time I heard Nicolas Dufresne says this needs some investigation. What approach I can take to investigate this and find the EGL API? I've already compile the gstreamer 1.0 myself. I've another question about kmssink. Some website says kmssink or a drm plugin performs well for rockchip. Why I can see kms' source in plugins-bad, but no kms file in the android binaries generated from ./cerberol-uninstalled.


--
Sirius Wu
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
g. Marc
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Sirius Wu

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel