<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 --- - [i965 Bisected]Piglit/glx_glx-make-glxdrawable-current fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74005">74005</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[i965 Bisected]Piglit/glx_glx-make-glxdrawable-current 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/Sandybridge/Ivybridge/Haswell/Baytrail
Libdrm:        (master)libdrm-2.4.52
Mesa:        (master)d8c7740ddabeb456243e40dc3cf0e86c7fca09d0
Xserver:   
(master)xorg-server-1.15.0-1-ga92c6406e7f6c0b74fb1cb9361ad904facc0f722
Xf86_video_intel:       
(master)2.99.907-48-g32010ed86bb8f28d3b02e1e54a592d79b92b2b98
Cairo:        (master)2a7f133639bed86a29dd9693cb78c0aa42eaff30
Libva:        (staging)79ddde6bab54618046f136471c020c08ff4fde50
Libva_intel_driver:        (staging)6736a39fce442a8e5abb2a2e99adf56e3965d35f
Kernel:    (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-----------------------------
It fails on Ironlake/Sandybridge/Ivybridge/Haswell/Baytrail with mesa master
branch. It doesn't happen on 10.0 branch.

Bisect shows: 11baad35088dfd4bdabc1710df650dbfb413e7a3 is the first bad commit.
commit 11baad35088dfd4bdabc1710df650dbfb413e7a3
Author:     Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>
AuthorDate: Tue Jan 21 12:17:03 2014 -0800
Commit:     Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>
CommitDate: Wed Jan 22 12:30:59 2014 -0800

    intel: Fix initial MakeCurrent for single-buffer drawables

    Commit 05da4a7a5e7d5bd988cb31f94ed8e1f053d9ee39 attempts to eliminate the
    call to intel_update_renderbuffer() in the case where we already have a
    drawbuffer for the drawable.  Unfortunately this only checks the
    back left renderbuffer, which breaks in case of single buffer drawables.

    This means that the initial viewport will not be set in that case. 
Instead,
    we now check whether the initial viewport has not been set, in which case
    we call out to intel_update_renderbuffer().

    <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [i965 Bisected]Piglit/many piglit cases fail"
   href="show_bug.cgi?id=73862">https://bugs.freedesktop.org/show_bug.cgi?id=73862</a>

    Signed-off-by: Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>


output:
Probe color at (1,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
PIGLIT: {'result': 'fail' }

Reproduce steps:
----------------------------
1. xinit
2. ./bin/glx-make-glxdrawable-current -auto</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>