Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Oppo find5 graphic

Oppo find5 video test with hybris11


test_hwcomposer (no modifications all out of the box)

OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) test_hwcomposer: hwcomposer_window.cpp:186: virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*): Assertion `fbnb!=__null' failed. Aborted

No animation


EGL_PLATFORM=hwcomposer test_hwcomposer (no modifications all out of the box)

width: 1080 height: 1920 OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) test_hwcomposer: test_hwcomposer.cpp:122: virtual void HWComposer::present(HWComposerNativeWindowBuffer*): Assertion `err == 0' failed. Aborted

after a secound and the beginning of the animation it abrted


DEBUG_CALC_FPS=1 EGL_PLATFORM=hwcomposer test_hwcomposer (no modifications all out of the box)

width: 1080 height: 1920 OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) test_hwcomposer: test_hwcomposer.cpp:122: virtual void HWComposer::present(HWComposerNativeWindowBuffer*): Assertion `err == 0' failed. Aborted

same behavier as without DEBUG_CALC_FPS=1


DEBUG_CALC_FPS=0 EGL_PLATFORM=hwcomposer test_hwcomposer (no modifications all out of the box)

OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) test_hwcomposer: test_hwcomposer.cpp:122: virtual void HWComposer::present(HWComposerNativeWindowBuffer*): Assertion `err == 0' failed.

(see video https://nokius.net/stuff/IMG_0084.MOV)


changing the test_hwcomposer.cpp like in this file (https://gist.github.com/Nokius/7155721b74138675f975) in line L118 L121 with 2 for HWC_NUM_DISPLAY_TYPES and adding 3 or HWC_NUM_DISPLAY_TYPES in L181 L184

EGL_PLATFORM=hwcomposer ./test_hwcomposer_mod

width: 1080 height: 1920 OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) ^C will start but it will freezy the animation

(see video https://nokius.net/stuff/IMG_0091.MOV)


setprop debug.egl.swapinterval -1

setprop debug.gralloc.map_fb_memory 1

EGL_PLATFORM=fbdev./test_hwcomposer_mod (see test abouve)

width: 1080 height: 1920 OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) stop

will show a glitch of the animation and it willl runn till stop

(see video (0.38) https://nokius.net/stuff/IMG_0087.MOV)


modifing the module like here (https://gist.github.com/Nokius/62eda1d2ccfd401bce83)

has the same freez effect as the test with the modifite version of the test_hwcomposer

sh-3.2# EGL_PLATFORM=hwcomposer test_hwcomposer

width: 1080 height: 1920 OpenGL ES 3.0 V@53.0 AU@ (CL@3776187) ^C

(see video https://nokius.net/stuff/IMG_0091.MOV)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.