Bug 100578 - [dEQP, EGL] EGL multithread tests crash for new dEQP
Summary: [dEQP, EGL] EGL multithread tests crash for new dEQP
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Tapani Pälli
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-05 11:24 UTC by Mark Janes
Modified: 2017-04-18 04:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mark Janes 2017-04-05 11:24:03 UTC
dEQP 9e51a9547aab40792af8ac344552cd76786607ba introduced new crashes to the test suite:

dEQP-EGL.functional.color_clears.multi_context.gles1.rgb888_pbuffer
dEQP-EGL.functional.color_clears.multi_context.gles1.rgb888_window
dEQP-EGL.functional.color_clears.multi_context.gles1.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.multi_context.gles1.rgba8888_window
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2.rgb888_pbuffer
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2.rgb888_window
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2_gles3.rgb888_pbuffer
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2_gles3.rgb888_window
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2_gles3.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.multi_context.gles1_gles2_gles3.rgba8888_window
dEQP-EGL.functional.color_clears.multi_thread.gles1.rgb888_pbuffer
dEQP-EGL.functional.color_clears.multi_thread.gles1.rgb888_window
dEQP-EGL.functional.color_clears.multi_thread.gles1.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.multi_thread.gles1.rgba8888_window
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2.rgb888_pbuffer
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2.rgb888_window
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2.rgba8888_window
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2_gles3.rgb888_pbuffer
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2_gles3.rgb888_window
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2_gles3.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.multi_thread.gles1_gles2_gles3.rgba8888_window
dEQP-EGL.functional.color_clears.single_context.gles1.rgb888_pbuffer
dEQP-EGL.functional.color_clears.single_context.gles1.rgb888_window
dEQP-EGL.functional.color_clears.single_context.gles1.rgba8888_pbuffer
dEQP-EGL.functional.color_clears.single_context.gles1.rgba8888_window

The dEQP commit appears to be a vulkan merge, so I'm not sure why it broke these tests.
Comment 1 Tapani Pälli 2017-04-06 05:40:05 UTC
I belive these fail because GLES1 support in not enabled. I've sent a patch to enable GLES1 support in dEQP via pkg-config if it finds GLES1 from system:

https://android-review.googlesource.com/#/c/364979/
Comment 2 Tapani Pälli 2017-04-18 04:54:08 UTC
This commit landed on deqp master branch, should fix the X11 build to support gles1 if it is installed.

--- 8< ---

commit 7b4a66f99746ae0aa8652a8d000c34e0f511cf46
Author: Tapani Pälli <tapani.palli@intel.com>
Date:   Wed Apr 5 09:39:17 2017 +0300

    x11_egl: search for glesv1_cm, toggle DEQP_SUPPORT_GLES1 on if found
    
    Some tests require GLES1 support and report test failure if support
    has not been built. Patch changes build time configure to check GLES1
    via pkg-config. If it is found, we turn on GLES1 support so that tests
    will run and pass.
    
    Change-Id: I586464c5fb7bffc40355caf57b30438f37ce1f6c
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.