<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - glxSwapBuffers has no effect"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105132">105132</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>glxSwapBuffers has no effect
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>GLX
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>julien.isorce@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Hi,
Initially looking at the gstreamer bug
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=774809">https://bugzilla.gnome.org/show_bug.cgi?id=774809</a> it seems it could be a pb in
mesa:
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
egl/dri2_x11_swap_buffers_msc
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>