[Bug 102354] Mesa 17.2 no longer can give SRGB-capable framebuffer on i965, even though Mesa 17.1.x does.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 11 05:40:01 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102354
--- Comment #8 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Deve from comment #7)
> I just checked the patch and nothing changed for me (with GLX, I didn't test
> EGL). I patched mesa version 4d807d7fe272db97fb9e20800872d5970fa2696d.
>
> If you run current git STK, there are two warnings in console:
>
> [warn ] irr_driver: Created visual is not sRGB-capable. Re-creating device
> to workaround the issue.
> [warn ] [IrrDriver Temp Logger]: Level 2: No sRGB framebuffer available.
>
> The first one happens for intel when
> glGetFramebufferAttachmentParameteriv(GL_DRAW_FRAMEBUFFER, GL_BACK_LEFT,
> GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING,
> ¶m);
>
> returns GL_LINEAR, so this is true for all mesa versions >= 10.6 (precisely
> since MESA_FORMAT_R8G8B8X8_UNORM has been added). In this case we make an
> ugly hack and re-create device with alpha channel, that forces to use
> MESA_FORMAT_R8G8B8A8_SRGB.
>
> The second warning happens when request a config with
> GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB fails. So then we try to get a config
> without this flag.
>
> And glxinfo still doesn't show any srgb configs for me. Are there some
> particular requirements, such as current libdrm, DRI2/DRI3 etc...?
No additional requirements, I get additional visuals/fbconfigs to glxinfo on my
HSW, I'll attach the diff from output.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170911/77b0f4a1/attachment.html>
More information about the intel-3d-bugs
mailing list