Created attachment 133554 [details]
I noticed this after a GlXChooseFBConfig with GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB had failed.
`glxinfo` also does not return any sRGB capable visuals.
Following commit is now available in Mesa master. It exposes BGRA8888 sRGB visuals and should fix your problem. Please let me know if this is not the case and I can try to help further. I will try to promote this patch to Mesa stable releases if we find no issues.
--- 8< ----
Author: Tapani Pälli <firstname.lastname@example.org>
Date: Tue Oct 31 10:56:28 2017 +0200
i965: expose SRGB visuals and turn on EGL_KHR_gl_colorspace
Patch exposes sRGB visuals and adds DRI integer query support for
__DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB. Further changes make sure that
we mark if the app explicitly wanted sRGB and for these framebuffers
we don't turn sRGB off in intel_gles3_srgb_workaround. This way we
keep compatibility for existing applications relying on default sRGB
and ony add more visual support.
With this change, following dEQP tests start to pass:
v2: some code cleanup (Emil Velikov)
update num_formats correctly (reported by email@example.com)
v3: cleanup, remove redundant is_srgb
rename explicit_srgb as 'need_srgb' to follow style better
Signed-off-by: Tapani Pälli <firstname.lastname@example.org>
Reviewed-by: Emil Velikov <email@example.com> (v2)
Reviewed-by: Kenneth Graunke <firstname.lastname@example.org>