[Mesa-dev] [Bug 110921] virgl on OpenGL 3.3 host regressed to OpenGL 2.1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 14 16:25:00 UTC 2019


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

--- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Looks like ARB_framebuffer_sRGB is not provided for some reason by virgl.

There was recently reworked in virgl to try to be more precise, esp in ES, and
I suspect something here ended up as a casualty...

   extensions->EXT_framebuffer_sRGB =
         screen->get_param(screen, PIPE_CAP_DEST_SURFACE_SRGB_CONTROL) &&
         extensions->EXT_sRGB;

Where EXT_sRGB is controlled by:
      { { o(EXT_sRGB) },
        { PIPE_FORMAT_A8B8G8R8_SRGB,
          PIPE_FORMAT_B8G8R8A8_SRGB,
          PIPE_FORMAT_R8G8B8A8_SRGB },
         GL_TRUE }, /* at least one format must be supported */

And the cap is controlled by:
   case PIPE_CAP_DEST_SURFACE_SRGB_CONTROL:
      return vscreen->caps.caps.v2.capability_bits &
VIRGL_CAP_SRGB_WRITE_CONTROL;

Probably one or both of those is false for some silly reason. Could even be due
to an older version of the virgl "server" component which doesn't include that
capability bit.

-- 
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/mesa-dev/attachments/20190614/591c55a5/attachment-0001.html>


More information about the mesa-dev mailing list