<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 - Kingdom Come: Deliverance (DXVK) - kernel performance regression [Navi] [RADV/ACO]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=112124">112124</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Kingdom Come: Deliverance (DXVK) - kernel performance regression [Navi] [RADV/ACO]
          </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>not set
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>not set
          </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>asheldon55@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Kingdom Come: Deliverance (DXVK) has regressed in performance due to the
following kernel commit, with aco-navi:

commit 828d6fde7f574d74b0a6a591345d3c42b62d5e21
Author: Tianci.Yin <<a href="mailto:tianci.yin@amd.com">tianci.yin@amd.com</a>>
Date:   Mon Aug 19 15:30:22 2019 +0800

    drm/amdgpu/psp: move TMR to cpu invisible vram region

    so that more visible vram can be available for umd.

    Reviewed-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>.
    Signed-off-by: Tianci.Yin <<a href="mailto:tianci.yin@amd.com">tianci.yin@amd.com</a>>
    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>

With 828d6fde7f57 (62 fps/79% GPU usage):

<a href="https://camo.githubusercontent.com/4608d45738a5174f64daee0604d9f5d7146aee68/68747470733a2f2f692e696d6775722e636f6d2f757356306d33412e6a7067">https://camo.githubusercontent.com/4608d45738a5174f64daee0604d9f5d7146aee68/68747470733a2f2f692e696d6775722e636f6d2f757356306d33412e6a7067</a>

With 828d6fde7f57 reverted (79 fps, 100% GPU usage):
<a href="https://camo.githubusercontent.com/77a505f85b75db0d2062aa4d8319b6007ba524fe/68747470733a2f2f692e696d6775722e636f6d2f394366695270452e6a7067">https://camo.githubusercontent.com/77a505f85b75db0d2062aa4d8319b6007ba524fe/68747470733a2f2f692e696d6775722e636f6d2f394366695270452e6a7067</a>

Tests were with aco-navi branch:
<a href="https://gitlab.freedesktop.org/Venemo/mesa/tree/aco-navi">https://gitlab.freedesktop.org/Venemo/mesa/tree/aco-navi</a>

Performance with LLVM is comparable with the commit reverted or not, however.
Slightly better with the commit since GPU usage is lower for the same
performance:

With 828d6fde7f57 (61.4 fps/88% GPU usage):
<a href="https://i.imgur.com/kJgvRbq.jpg">https://i.imgur.com/kJgvRbq.jpg</a>

Without 8d6fde7f57 (61.2 fps/100% GPU usage):
<a href="https://i.imgur.com/AemAss1.jpg">https://i.imgur.com/AemAss1.jpg</a>

System:

linux-5.4-rc4 (also tested amd-staging-drm-next)
Mesa aco-navi (e641024) and Mesa git (8dadef2ec54)
MSI Evoke 5700 XT</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>