[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


--- 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) &&

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

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

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