[Nouveau] Documentation request for MP warp error 0x10

Ilia Mirkin imirkin at alum.mit.edu
Wed Sep 30 12:14:47 PDT 2015


Hello,

I've recently come across an error reported by the GPU and would like
to know what it means and especially what causes it to be triggered.
Any information would be very useful:

I'm seeing MP warp error 0x10 (appears in MP register 0x48). This is
what we currently have in nouveau:

<reg32 offset="0x048" name="TRAP_WARP_ERROR"> <!-- ctx-switched -->
<bitfield high="15" low="0" name="ID">
<value value="1" name="STACK_MISMATCH"/>
<value value="5" name="MISALIGNED_PC"/>
<value value="8" name="MISALIGNED_GPR"/>
<value value="9" name="INVALID_OPCODE"/>
<value value="13" name="GPR_OUT_OF_BOUNDS"/>
<value value="14" name="MEM_OUT_OF_BOUNDS"/>
<value value="17" name="INVALID_PARAM"/>
</bitfield>
</reg32>

[Additionally it seems like 15 = UNALIGNED_MEM_ACCESS]

It seems to happen whenever I try to access global memory on kepler
(potentially only atomics, not sure at this point). Knowing precisely
what causes the error to get triggered (and esp what we need to do in
order not to trigger it) would be most useful.

For reference, my shader looks something like this (for SM35):

        /*0018*/                   LDC.64 R0, c[0xf][0x1c0];
  /* 0x7ca80780e01ffc02 */
        /*0020*/                   ATOM.E.ADD R2, [R0], R2;
  /* 0x68080000011c000a */
        /*0028*/                   LD.E.CG R0, [R0];
  /* 0xcc800000001c0000 */

I know that the proprietary drivers are a lot more sophisticated and
only do the atomic add from a single lane, but I was assuming that was
not required.

Thanks,

  -ilia


More information about the Nouveau mailing list