Bug 102415 - [deqp, egl] functional.wide_color.window_8888_colorspace_srgb fails
Summary: [deqp, egl] functional.wide_color.window_8888_colorspace_srgb fails
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-08-25 18:52 UTC by Mark Janes
Modified: 2017-08-30 18:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mark Janes 2017-08-25 18:52:22 UTC
Updates to deqp have enabled the following must-pass tests, which currently fail on Mesa i965:

----------------------------------------------------------
dEQP-EGL.functional.wide_color.window_8888_colorspace_srgb
Standard Output

12 configs returned
Test Window
Got EGL_BAD_ATTRIBUTE: eglCreatePlatformWindowSurfaceEXT() at egluUtil.cpp:303

----------------------------------------------------------
dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_srgb
Standard Output

4 configs returned
Test Pbuffer
Runtime check failed: 'surface != EGL_NO_SURFACE' at teglWideColorTests.cpp:1125
----------------------------------------------------------
Comment 1 Tapani Pälli 2017-08-28 05:34:18 UTC
Test is buggy, it assumes support of  'EGL_KHR_gl_colorspace' extension. We most probably could support it but I'll try fixing the test first.

Supporting EGL_KHR_gl_colorspace means that we need to support __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB query properly.
Comment 2 Tapani Pälli 2017-08-28 06:26:01 UTC
I've submitted fix to dEQP:

https://android-review.googlesource.com/#/c/platform/external/deqp/+/469697/

This makes test skip when EGL_KHR_gl_colorspace is not supported, which is the case with i965 driver ATM.
Comment 3 Tapani Pälli 2017-08-28 10:43:05 UTC
It might be that to properly expose srgb visuals, we need to resolve bug 102354 and bug 92759 .. I've tried today exposing them and supporting __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB but did not reach a working solution.
Comment 4 Tapani Pälli 2017-08-30 18:01:51 UTC
Now we have 2 passing and
Comment 5 Tapani Pälli 2017-08-30 18:05:35 UTC
(oops enter) and 22 not supported, I'm resolving this as fixed.


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.