KhronosGroup / VK-GL-CTS

Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
https://www.khronos.org/
Apache License 2.0
525 stars 293 forks source link

OpenGL ES CTS - Freeze on Android phone with Adreno 320 #445

Open joined72 opened 8 months ago

joined72 commented 8 months ago

I'm using latest OpenGL ES CTS version to test GLES 3.0 conformance of my Adreno 320 GPU, but every time I run (and logcat) the test, the CTS run for few secs and after freeze always with the same logcat.

Logcat here... ``` dEQP I Running OpenGL ES 3 conformance Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I found 12 compatible and 36 excluded configs dEQP I Test run 1 / 35 dEQP I Config: --deqp-case=CTS-Configs.*, --deqp-log-filename=/data/data/org.khronos.gl_cts/configs.qpa, --deqp-log-images=disable, --deqp-log-shader-sources=disable, dEQP I Writing test log into /data/data/org.khronos.gl_cts/configs.qpa dEQP I dEQP Core git-7f5fb62245d535a1fc0bf50b2c7e5a342dc551fe (0x7f5fb622) starting.. dEQP I target implementation = 'Android' dEQP I Test case 'CTS-Configs.es2'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.es3'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.es31'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.es32'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl30'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl31'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl32'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl33'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl40'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl41'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl42'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl43'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl44'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl45'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I Test case 'CTS-Configs.gl46'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I No WGL configs enumerated: WGL is not supported on this OS dEQP I Warning: No configs enumerated, adding only default config! dEQP I Pass (Pass) dEQP I DONE! dEQP I Test run totals: dEQP I Passed: 15/15 (100.0%) dEQP I Failed: 0/15 (0.0%) dEQP I Not supported: 0/15 (0.0%) dEQP I Warnings: 0/15 (0.0%) dEQP I Waived: 0/15 (0.0%) dEQP I Test run 2 / 35 dEQP I Config: --deqp-caselist-resource=gl_cts/data/mustpass/egl/aosp_mustpass/main/egl-master.txt, --deqp-screen-rotation=unspecified, --deqp-surface-width=256, --deqp-surface-height=256, --deqp-watchdog=disable, --deqp-gl-config-name=rgba8888d24s8ms0, --deqp-log-filename=/data/data/org.khronos.gl_cts/config-egl-master-cfg-1-run-0-width-256-height-256.qpa, --deqp-log-images=disable, --deqp-log-shader-sources=disable, dEQP I Writing test log into /data/data/org.khronos.gl_cts/config-egl-master-cfg-1-run-0-width-256-height-256.qpa dEQP I dEQP Core git-7f5fb62245d535a1fc0bf50b2c7e5a342dc551fe (0x7f5fb622) starting.. dEQP I target implementation = 'Android' dEQP I Test case 'dEQP-EGL.info.version'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.info.vendor'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.info.client_apis'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.info.extensions'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.info.configs'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass () dEQP I Test case 'dEQP-EGL.functional.create_context.rgb565_no_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb565_no_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb565_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb565_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb888_no_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb888_no_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb888_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgb888_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba4444_no_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba4444_no_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba4444_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba4444_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba5551_no_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba5551_no_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba5551_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba5551_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba8888_no_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba8888_no_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba8888_depth_no_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.rgba8888_depth_stencil'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.create_context.other'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (No compatible configs found at teglSimpleConfigCase.cpp:78) dEQP I Test case 'dEQP-EGL.functional.create_context.no_config'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I NotSupported (EGL_KHR_no_config_context is not supported at teglCreateContextTests.cpp:130) dEQP I Test case 'dEQP-EGL.functional.query_context.simple.query_api'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb dEQP I Pass (Pass) dEQP I Test case 'dEQP-EGL.functional.query_context.get_current_context.rgb565_window'.. Adreno-EGL I : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb Adreno-EGL W : EGL_BAD_ATTRIBUTE Gralloc4 I mapper 4.x is not supported Gralloc3 W mapper 3.x is not supported ```

OpenGL ES CTS Version: 3.2.9.3 Phone: Samsung Galaxy S4 (i9505) Android version: 11 GPU: Adreno 320

Instructions Used to Build CTS (under XUbuntu 22.04):

git clone https://github.com/KhronosGroup/VK-GL-CTS.git
cd VK-GL-CTS
git checkout opengl-es-cts-3.2.9.3
python3 external/fetch_sources.py
python3 scripts/android/build_apk.py --target=openglcts --kc-cts-target=gles3 --sdk=<sdk-path> --ndk=<ndk-17.2.4988734-path> --abis=armeabi-v7a

Compiled APK: Khronos-CTS.apk

Attacked Logcat: samsung-galaxy-s4-logcat.txt.zip

EDIT: I executed the same compiled CTS .APK on other 2 devices (Adreno 505 and Adreno 610) and on both the .CTS .APK works really fine!