Search Unity

Video gles error on maliT760 Android 5.1 Lollipop using VideoPlayer and RenderTexture

Discussion in 'Audio & Video' started by jmp909, Jul 3, 2018.

  1. jmp909

    jmp909

    Joined:
    Jun 29, 2018
    Posts:
    3
    We are receiving the follow errors looking at adb logcat when playing an mp4 using Unity's video player (nothing else extra in the scene - just the video player and the raw image in a canvas to show the render texture)

    The device is an Orbbec Persee running Android 5.1 Lollipop, which uses a MaliT760 GPU
    https://orbbec3d.com/product-persee/

    Unity 2017.4.3f1 (64-bit)
    Multithreaded Rendering is disabled
    Graphics API is set to OpenGLES2


    thanks for any advice on whether this is a known Unity / Android issue or if there's something we can do to fix it

    thanks
    J.

    (19627 i believe is my unity app process id)

    Code (CSharp):
    1. I/OMXClient(19627): Using client-side OMX mux.
    2. W/AppOps  (  447): Bad call: specified package media under uid 1000 but it is really 1013
    3. I/H264_DEBUG(  158): init done status 0, ts_en = 0
    4. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.avc
    5. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.m4v
    6. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.h263
    7. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.flv1
    8. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.m2v
    9. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.rv
    10. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.vp8
    11. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.vc1
    12. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.wmv3
    13. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.vp6
    14. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.hevc
    15. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.mjpeg
    16. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.avc.secure
    17. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_encoder.avc
    18. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: declares component OMX.rk.video_encoder.vp8
    19. I/libstagefrighthw(19627): OMX IL core libOMX_Core.so: contains 15 components
    20. D/ACodec  (19627): MEDIA_MIMETYPE_AUDIO_AAC sampleRate 44100 wifidisplay_flag 0 info b9e18a38
    21. I/SoftAAC2(19627): limiting to stereo output
    22. W/AppOps  (  447): Bad call: specified package media under uid 1000 but it is really 1013
    23. I/H264_DEBUG(  158): Width 1280 Height 720
    24. I/H264_DEBUG(  158): displaywidth 1280, dispalyheigt 720
    25. E/OMXNodeInstance(  158): getConfig(970:rk._decoder.avc, ConfigCommonOutputCrop(0x700000f)) ERROR: UnsupportedIndex(0x8000101a)
    26. E/mali_so (19627): encounter the first gles_error : 0x0003 : execution failed (gles_texturep_get_or_create_slave at hardware/arm/maliT760/driver/product/gles/src/texture/mali_gles_texture_api.c:297)
    27. E/mali_so (19627): to dump the call_stack of the first error :
    28. D/mali_so (19627): #00 pc 0042fbf4  /system/vendor/lib/egl/rk3288/libGLES_mali.so
    29. D/mali_so (19627): #01 pc 0043c9c8  /system/vendor/lib/egl/rk3288/libGLES_mali.so
    30. D/mali_so (19627): #02 pc 009af87c  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    31. D/mali_so (19627): #03 pc 009ad718  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    32. D/mali_so (19627): #04 pc 005217cc  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    33. D/mali_so (19627): #05 pc 00605424  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    34. D/mali_so (19627): #06 pc 002cc574  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    35. D/mali_so (19627): #07 pc 002cc40c  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    36. D/mali_so (19627): #08 pc 002c56b8  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    37. D/mali_so (19627): #09 pc 002bb93c  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    38. D/mali_so (19627): #10 pc 002bdba0  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    39. D/mali_so (19627): #11 pc 002bdd58  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    40. D/mali_so (19627): #12 pc 0099b594  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    41. D/mali_so (19627): #13 pc 00998c88  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    42. D/mali_so (19627): #14 pc 0070508c  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    43. D/mali_so (19627): #15 pc 002de270  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    44. D/mali_so (19627): #16 pc 002e1738  /mnt/asec/com.acme.videotest-2/lib/arm/libunity.so
    45. D/mali_so (19627): #17 pc 0001eb77  /data/dalvik-cache/arm/mnt@asec@com.acme.videotest-2@base.apk@classes.dex
     
    Last edited: Jul 3, 2018
  2. jmp909

    jmp909

    Joined:
    Jun 29, 2018
    Posts:
    3
    also we have an app crash when running for long periods. I can't tell if it's directly related to this .. it always crashes just after that OMX mux line.. but the log entries might not have been immedlately after each other.. it could have been something else happening in Unity

    (13588 i believe is my unity app process id)

    Code (CSharp):
    1. I/H264_DEBUG(  158): deinit DONE
    2.     I/OMXClient(13588): Using client-side OMX mux.
    3.     F/art     (13588): art/runtime/indirect_reference_table.cc:98] JNI ERROR (app bug): local reference table overflow (max=512)
    4.     F/art     (13588): art/runtime/indirect_reference_table.cc:98] local reference table dump:
    5.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]   Last 10 entries (of 512):
    6.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       511: 0x12f52180 android.view.Surface
    7.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       510: 0x12e8b8c0 android.os.Message
    8.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       509: 0x130cfdd0 float[] (16 elements)
    9.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       508: 0x12f702a0 $Proxy7
    10.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       507: 0x12f70170 java.lang.Class[] (1 elements)
    11.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       506: 0x130cfce0 float[] (16 elements)
    12.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       505: 0x12f70160 $Proxy7
    13.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       504: 0x12f70070 java.lang.Class[] (1 elements)
    14.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       503: 0x12ed9280 android.view.Surface
    15.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       502: 0x12e18580 android.os.Message
    16.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]   Summary:
    17.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       128 of java.lang.Class[] (1 elements) (128 unique instances)
    18.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       128 of $Proxy7 (128 unique instances)
    19.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]        64 of android.os.Message (5 unique instances)
    20.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]       128 of float[] (16 elements) (128 unique instances)
    21.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]        64 of android.view.Surface (64 unique instances)
    22.     F/art     (13588): art/runtime/indirect_reference_table.cc:98]
    23.     F/art     (13588): art/runtime/runtime.cc:290] Runtime aborting...
    24.     F/art     (13588): art/runtime/runtime.cc:290] Aborting thread:
    whereas normally i'd get something like this

    (13046 i believe is my unity app process id)

    Code (CSharp):
    1.  
    2. I/H264_DEBUG(  157): deinit DONE
    3. I/vpu_mem_pool(  157): pid 157, close_vpu_memory_pool:552:
    4. I/OMXClient(13046): Using client-side OMX mux.
    5. E/ROCKCHIP_VIDEO_DECCONTROL(  157): OMX_IndexParamdescribeColorFormat get
    6. E/OMXNodeInstance(  157): getConfig(803:rk._decoder.avc, ConfigCommonOutputCrop(0x700000f)) ERROR: UnsupportedIndex(0x8000101a)
    7. I/OMXClient(13046): Using client-side OMX mux.
    8. I/H264_DEBUG(  157): init done status 0, ts_en = 0
    9. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.avc
    10. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.m4v
    11. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.h263
    12. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.flv1
    13. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.m2v
    14. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.rv
    15. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.vp8
    16. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.vc1
    17. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.wmv3
    18. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.vp6
    19. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.hevc
    20. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.mjpeg
    21. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_decoder.avc.secure
    22. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_encoder.avc
    23. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: declares component OMX.rk.video_encoder.vp8
    24. I/libstagefrighthw(13046): OMX IL core libOMX_Core.so: contains 15 components
    25.  
     
    Last edited: Jul 3, 2018
  3. Krstn

    Krstn

    Joined:
    Dec 30, 2012
    Posts:
    27
    Did you get any luck solving this issue?
    I am facing the same and it's... well... difficult to start.
     
  4. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    300
    the problem is this:
    ERROR: UnsupportedIndex(0x8000101a)

    but how to solve?