<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [NV30/NV40] nouveau/pushbuf.c:238: pushbuf_krel: Assertion `bkref` failed."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94727#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [NV30/NV40] nouveau/pushbuf.c:238: pushbuf_krel: Assertion `bkref` failed."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94727">bug 94727</a>
              from <span class="vcard"><a class="email" href="mailto:fourdan@xfce.org" title="Olivier Fourdan <fourdan@xfce.org>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
        <pre>(In reply to Ilia Mirkin from <a href="show_bug.cgi?id=94727#c13">comment #13</a>)
<span class="quote">> Olivier, can you see if this patch with mesa helps?

> <a href="https://patchwork.freedesktop.org/patch/132414/">https://patchwork.freedesktop.org/patch/132414/</a>

> It helped in the repro of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [G71] "Assertion `bkref' failed" reproducible with glmark2"
   href="show_bug.cgi?id=99354">bug #99354</a>.</span >

Sure! Thanks IIlia!

The patch did not apply cleanly on top of 13.0.3 nor master though (in
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c line 406 [1]) so I changed
"nouveau_pushbuf_space(push, 16, 2, 0);" to "nouveau_pushbuf_space(push, 32, 3,
0);" to match the content of your patch, I hope this is right (sorry, I'm not
familiar with this code).

But the issue is quite random and rather hard to reproduce at will, so I'll run
with this for some time see if the issue reoccurs.

I shall also prepare a test package for Fedora downstream with the (modified)
patch included so that the original reporter can give it a try as well.


[1]
<a href="https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c#n406">https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c#n406</a>
[2] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1372878">https://bugzilla.redhat.com/show_bug.cgi?id=1372878</a></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>