<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 - dpm auto doesn't clock the GPU high enough for SteamVR apps"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100742">100742</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>dpm auto doesn't clock the GPU high enough for SteamVR apps
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>DRM/AMDgpu
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>haagch@frickel.club
          </td>
        </tr></table>
      <p>
        <div>
        <pre>RX 480, Ryzen 1600X, tested on linux 4.10 and linux drm-next-4.12-wip, latest
upstream linux-firmware git. Same behavior on both kernels.

I recorded this video, showing umr top, sclk and mclk, while running the simple
"Atlas Demo Scene" in the Destinations SteamVR app:

<a href="https://www.youtube.com/watch?v=U_mceDSBF7o">https://www.youtube.com/watch?v=U_mceDSBF7o</a>

With the "auto" setting the GPU power level is not set high enough for SteamVR
to render at the Vive's native 90 fps, so reprojection (interpolation to 90
fps) needs to kick in constantly.

Speculation time:
The SteamVR frametime graph shows the purple GPU load from the application
("Destinations") completely below the 11 ms which the application is probably
is probably targeting, so dpm has clocked the GPU fast enough for the
application to run at 90 fps. But then the application submits frames to the
SteamVR compositor which also takes some GPU time and pushes the "total" GPU
time taken to render one frame in the app and then display it in the compositor
over the target 11 ms time.

Is this correct? Does dpm somehow analyze a per process GPU load? At least in
this case the GPU needs to clock fast enough to allow the application + the
SteamVR compositor to both render in under 11 ms per frame.</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>