[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
Fri Sep 15 04:51:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102354

--- Comment #18 from Tapani Pälli <lemody at gmail.com> ---
Created attachment 134247
  --> https://bugs.freedesktop.org/attachment.cgi?id=134247&action=edit
glx test application

Here's a test application. Deve, could you try running this and see what comes
up? For me output is (tested on HSW and KBL machines):

--- 8< ---
created window with visual id 36
using visual 0x1ee (srgb 1) (rgba 8880)
GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8
GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8
GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8
GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8
GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8c40
--- 8< ---

Program has 3 different ways of setting up GLX (see init_glx() function), for 2
of those I'm getting sRGB visual with my patch. Remember to set LD_LIBRARY_PATH
and LIBGL_DRIVERS_PATH when running against custom Mesa tree.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170915/f319f153/attachment.html>


More information about the intel-3d-bugs mailing list