[Mesa-dev] [Bug 105132] glxSwapBuffers has no effect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 16 16:52:49 UTC 2018


            Bug ID: 105132
           Summary: glxSwapBuffers has no effect
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org


Initially looking at the gstreamer bug
https://bugzilla.gnome.org/show_bug.cgi?id=774809 it seems it could be a pb in

In src/glx/dri2_glx.c::dri2SwapBuffers psc->f->invalidate is not called when
using dri2 on an up to date Ubuntu 16.04. Because the call to
dri2InvalidateBuffers is guarded by "if (!pdp->invalidateAvailable)"

But with dri2 and egl the '->invalidate' is always called, see
dri3_swap_buffers/loader_dri3_swap_buffers_msc and

X server is version 1.18.4 and xorg-video-intel is 2:2.99.917

So it looks like xserver/hw/xfree86/dri2/dri2ext.c::DRI2InvalidateBuffersEvent
is not called and the comment "/* Old servers don't send invalidate events */"
src/glx/dri2_glx.c make sense.

1: Why this difference between dri2 and dri3/egl ? I would have expect the
otherway, always called on dri2 and not on dri3.

2: Is "pdp->invalidateAvailable = (pdp->driMinor >= 3);" not accurate ? Should
it check for the exact xserver version which contains the fix ?

Thx in advance for any feedback.

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/20180216/20536894/attachment.html>

More information about the mesa-dev mailing list