Closed peat-psuwit closed 5 years ago
test_hwcomposer
is probably the same issue I encountered while porting Plasma Mobile which is that something tries to continously open /system/build.prop
(and also never closing it)... Attachment: strace I did for Plasma Mobile
Also:
Vincent R., [18.04.17 13:21] @z3ntu I had the same issue (blobs) on my OnePlus One. Couldn't figure out the problem.
Luca Weiss, [18.04.17 13:21] [In reply to Vincent R.] good to know. what android version did you test it on?
Vincent R., [18.04.17 13:22] Cm12.1 and AOSP 5.1
Another also:
Bhushan Shah, [27.01.17 14:03] it is at least doing eglSwapBuffers
Bhushan Shah, [27.01.17 14:03] which is partly good
Bhushan Shah, [27.01.17 14:08] it seems it is opening build.prop but then not closing it
Bhushan Shah, [27.01.17 14:08] which is awkward
I am not sure if is same issue, I believe for you test_hwcomposer used to crash in the end right? but still strace and logcat during test_hwcomposer is run would be lovely @peat-psuwit
(I used sudo EGL_PLATFORM=hwcomposer strace test_hwcomposer
for Plasma Mobile btw 😄)
logcat: http://paste.ubuntu.com/24690594/ strace: http://paste.ubuntu.com/24704553/ Note that they're from a different run.
I spotted failing ioctl on fd 3 with EPERM, digging into kernel.......
test_hwcomposer works with the latest rootfs (test_hwcompower didn't support hwcomposer version 1.4 so a patch had to be applied to the test)
When ignoring the float issue with libhybris (=changing printf of floats to integers (casting)), the sensor test lists all sensors and then fails with *** Error in '/root/libhybris/hybris/tests/.libs/test_sensors': free(): invalid pointer: 0xb6bd90a8 ***
gps works too (after working around the printf bug)
EGL_PLATFORM=hwcomposer test_camera crashes at
#0 0xb3c19b48 in HWComposerNativeWindow::setup(gralloc_module_t*, alloc_device_t*) () from /usr/lib/arm-linux-gnueabihf/libhybris-hwcomposerwindow.so.1
#1 0xb3f11c6a in hwcomposerws_CreateWindow () from /usr/lib/arm-linux-gnueabihf/libhybris/eglplatform_hwcomposer.so
#2 0xb6fafbde in eglCreateWindowSurface () from /usr/lib/arm-linux-gnueabihf/libhybris-egl/libEGL.so.1
#3 0x00011bd8 in main (argc=<optimized out>, argv=<optimized out>) at test_camera.c:387
EGL_PLATFORM=hwcomposer test_glesv2 crashes at
#0 0xb66f8b48 in HWComposerNativeWindow::setup(gralloc_module_t*, alloc_device_t*) () from /usr/lib/arm-linux-gnueabihf/libhybris-hwcomposerwindow.so.1
#1 0xb6747c6a in hwcomposerws_CreateWindow () from /usr/lib/arm-linux-gnueabihf/libhybris/eglplatform_hwcomposer.so
#2 0xb6f37bde in eglCreateWindowSurface () from /usr/lib/arm-linux-gnueabihf/libhybris-egl/libEGL.so.1
#3 0x00010d4a in main (argc=1, argv=0xbefffd84) at test_glesv2.c:116
Superseded by #135.
Works
Doesn't work
[ ] test_audio
[ ] test_camera
[ ] test_hwcomposer
And it just hangs with nothing on screen.
[ ] test_input
On a touch event. Other events (such as buttons) seem to work.
[ ] test_sensors
Broken/skipped tests