<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 - [radv] Mostly broken on Hawaii PRO/CIK ASICs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99692">99692</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[radv] Mostly broken on Hawaii PRO/CIK ASICs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Drivers/Vulkan/radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kai@dev.carbon-project.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=129359" name="attach_129359" title="vulkanscene example showing corruption">attachment 129359</a> <a href="attachment.cgi?id=129359&action=edit" title="vulkanscene example showing corruption">[details]</a></span>
vulkanscene example showing corruption

I've been trying to use radv with my Hawaii PRO GPU for some time now, but it
seems more or less broken depending on the application. The Talos Principle
starts now and I'm seeing a loading screen (with heavy visual corruption; the
corruption pattern is the same as with the demos, see below) until the main
menu should be displayed and the whole system is just frozen, won't react to
any input.
Most of the demos of Sascha Willems (<<a href="https://github.com/SaschaWillems/Vulkan">https://github.com/SaschaWillems/Vulkan</a>>)
exhibit corrupted rendering (flickering blocks/line, see attached screenshot).

I know radv is not complete and meant for prime time, but this seems more of an
inherent incompatibility with CIK-generation GPUs, given that Dave and Bas seem
to be able to run Talos, Doom, etc. on their (newer) ASICs. Especially since
dmesg is spammed with tons of GPU fault errors while running many of the Vulkan
demos; the following messages where triggered by running the triangle example):
<span class="quote">> [ 7048.432078] amdgpu 0000:01:00.0: GPU fault detected: 146 0x0e8b9014
> [ 7048.432080] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00100474
> [ 7048.432081] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B090014
> [ 7048.432081] VM fault (0x14, vmid 5) at page 1049716, write from 'CB2' (0x43423200) (144)</span >
These messages look all very similar, the part changing is "write from 'CB2'",
where I can see other CBs as well (CB3, CB6, CB7 are the currently predominant
ones besides CB2). The fault address and status seem to stay constant. The
first line (GPU fault detected) has different values though.


The stack I'm using (Debian testing as a base) is:
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/02264bc6f9 + <span class=""><a href="attachment.cgi?id=127922" name="attach_127922" title="Updated version of attachment 127812">attachment 127922</a> <a href="attachment.cgi?id=127922&action=edit" title="Updated version of attachment 127812">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=99692&attachment=127922'>[review]</a> (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API"
   href="show_bug.cgi?id=97988">bug 97988</a>) and revert of
7b32ae4df5bc19c378598d6a950a6019fa64ece6 (see <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - vdpau logging errors since gallium/radeon: adjust the rule for using the LINEAR_ALIGNED layout"
   href="show_bug.cgi?id=99542">bug 99542</a>)
libdrm: Git:master/d4b8344363 (tag libdrm-2.4.75)
LLVM: SVN:trunk/r294119 (5.0 devel) +
<<a href="https://reviews.llvm.org/D26348?download=true">https://reviews.llvm.org/D26348?download=true</a>> (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API"
   href="show_bug.cgi?id=97988">bug 97988</a>)
X.Org: 2:1.19.1-4
Linux: 4.9.8
Firmware (firmware-amd-graphics): 20160824-1
libclc: Git:master/2ec7d80d5e
DDX (xserver-xorg-video-amdgpu): 1.2.0-1+b1

Let me know, if you need anything else.</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>