<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 - [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95545">95545</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>csaba.halasz@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=123994" name="attach_123994" title="vm fault report">attachment 123994</a> <a href="attachment.cgi?id=123994&action=edit" title="vm fault report">[details]</a></span>
vm fault report

Running mplayer with -vo gl:yuv=x  with x>1 causes GPU VM fault.
yuv=0 is software rendering, that works fine.
yuv=1 uses GL_NV_register_combiners and that doesn't fault but the output is
unusable.

The other values use fragment shaders, those are all broken.

Reportedly the apitrace works with older versions, mesa 11.2.2 and llvm 3.6.2.

kernel agd5f/drm-next-4.7 git 3b59c344ab6e2d00b0f4ad946024572618c87502
mesa git 65c2abf6fdd51b0a80a72caa0c52cf3f4578e743
llvm git ef1f2996c17c9b1480201239002b58851810e8fc
xf86-video-amdgpu git 60ced5026ebc34d9f32c7618430b6a7ef7c8eb4b
Xorg 1.18.0
mplayer svn r37870
gigabyte 380 (tonga)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>