[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 21:53:50 UTC 2017


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

--- Comment #22 from Deve <deveee at gmail.com> ---
I understood :)

Regarding to LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH, this is what I'm doing.

I didn't install everything to avoid a mess in the system, but I tried to set
LD_LIBRARY_PATH to directory that contains patched libgl/i965_dri and current
git libdrm and started second X server, but it doesn't make any difference.

In your test app, the first method prints:
created window with visual id 33
found a matching visual id (33)
using visual 0x21 (srgb 0) (rgba 8888)
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

And next two methods:
created window with visual id 33
error initializing glx

But... I started gnome wayland session on second tty and it works there! Both
your example and glxinfo.

As I said before driCreateConfigs in utils.c creates srgb-capable configs, so
something must filter and remove/ignore it later. Maybe some unsupported
formats or extensions, no idea tbh...

-- 
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/de69feaa/attachment-0001.html>


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