<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>high
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [ILK Bisected]Piglit glean/makeCurrent fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78466">78466</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Assignee</th>
<td>kenneth@whitecape.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ILK Bisected]Piglit glean/makeCurrent fails
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>huax.lu@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>System Environment:
--------------------------
Platform: Ironlake
Libdrm: (master)libdrm-2.4.54
Mesa: (master)9d95d64be0893a18922da75d2625235ae410d3ab
Xserver:
(master)xorg-server-1.15.99.902-80-ga5b9757142a2ab471ca26651dce9cc5f5e351f3d
Xf86_video_intel:(master)2.99.911-150-g18416b5162e6d6e5415916c55c935b08c980d7f3
Libva: (staging)29fa9ec0bd5ac396fb8ce7de07747314ca1dd12e
Libva_intel_driver:(staging)1c4d3468229797e787f4b99b0729baf90a115a1d
Kernel: (drm-intel-nightly)dd28119c31cf06fc4c3bb548699018a91e45a676
Bug detailed description:
-----------------------------
It fails on Ironlake with Mesa master branch and 10.2 branch.
Bisect shows:9701c6984d8d6570d90a15f86872b16bdba117f2 is the first bad commit.
commit 9701c6984d8d6570d90a15f86872b16bdba117f2
Author: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
AuthorDate: Fri May 2 01:10:17 2014 -0700
Commit: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
CommitDate: Tue May 6 11:31:31 2014 -0700
meta: Only clear the requested color buffers.
This path is used to implement both glClear and glClearBuffer; the
latter is only supposed to clear particular buffers. Core Mesa provides
us that information in the buffers bitmask; we must only clear buffers
mentioned there.
To accomplish this, we save/restore the color draw buffers state, and
use glDrawBuffers to restrict drawing to the relevant buffers.
Fixes Piglit's spec/!OpenGL 3.0/clearbuffer-mixed-formats and
spec/ARB_framebuffer_object/fbo-drawbuffers-none glClearBuffer tests
for drivers using meta clears (such as Broadwell).
Cc: "10.2" <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a>>
Bugzilla: <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [BDW]Piglit spec_ARB_framebuffer_object_fbo-drawbuffers-none_glBlitFramebuffer fails"
href="show_bug.cgi?id=77852">https://bugs.freedesktop.org/show_bug.cgi?id=77852</a>
Bugzilla: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [BDW]Piglit spec_OpenGL_3.0_clearbuffer-mixed-format fails"
href="show_bug.cgi?id=77856">https://bugs.freedesktop.org/show_bug.cgi?id=77856</a>
Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Reviewed-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>>
Reviewed-by: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
output:
----------------------------------------------------------------------
This test sanity-checks the ability to use multiple rendering
contexts. It creates several contexts with differing
characteristics (e.g., some are direct-rendering and some
are indirect-rendering, if the window system binding supports
that distinction). Then it runs through all pairs of contexts,
making each one "current" in turn and verifying that simple
rendering succeeds.
makeCurrent: PASS rgba8, db, z24, s8, win+pmap, id 32
makeCurrent: PASS rgba8, db, z24, s8, win+pmap, id 33
makeCurrent: PASS rgba8, db, z24, s8, win+pmap, id 96
makeCurrent: PASS rgba8, db, win+pmap, id 121
makeCurrent: FAIL rgba8, win+pmap, id 122
Sequence of MakeCurrent operations was:
Null context
Direct-rendering context
Indirect-rendering context
Null context
Null context
Null context
Direct-rendering context
Null context
Indirect-rendering context
makeCurrent: FAIL rgba8, z24, s8, win+pmap, id 123
Sequence of MakeCurrent operations was:
Null context
Direct-rendering context
Indirect-rendering context
Null context
Null context
Null context
Direct-rendering context
Null context
Indirect-rendering context
makeCurrent: PASS rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 124
makeCurrent: PASS rgba8, db, win+pmap, id 125
makeCurrent: FAIL rgba8, win+pmap, id 126
Sequence of MakeCurrent operations was:
Null context
Direct-rendering context
Indirect-rendering context
Null context
Null context
Null context
Direct-rendering context
Null context
Indirect-rendering context
makeCurrent: FAIL rgba8, z24, s8, win+pmap, id 127
Sequence of MakeCurrent operations was:
Null context
Direct-rendering context
Indirect-rendering context
Null context
Null context
Null context
Direct-rendering context
Null context
Indirect-rendering context
makeCurrent: PASS rgba8, db, z24, s8, win+pmap, id 128
makeCurrent: PASS rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 129
Reproduce steps:
----------------------------
1. xinit
2. ./bin/glean -o -v -v -v -t +makeCurrent</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>