<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 - [regression][bisected] Virtual Reality HMDs fail to power off when SteamVR closes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111620">111620</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regression][bisected] Virtual Reality HMDs fail to power off when SteamVR closes
          </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>major
          </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>andresx7@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When SteamVR is closed the attached HMD no longer powers off. This is due to
the display still being driven by the GPU.

The first bad commit for this behaviour is:
"drm/amd/display: Allow commits with no planes active"
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bc92c06525e5865c94256ef0227bfe870c095823">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bc92c06525e5865c94256ef0227bfe870c095823</a>

My understanding is that the commit above does fix a bug in amdgpu/dc. However,
due to current Xorg versions failing to shut down outputs after re-claiming a
drm lease, this commit ends up breaking userspace.

Following is the x server patch to help illustrate what X is doing incorrectly:
<a href="https://gitlab.freedesktop.org/xorg/xserver/merge_requests/279">https://gitlab.freedesktop.org/xorg/xserver/merge_requests/279</a>

Additional reference:
<a href="https://github.com/ValveSoftware/SteamVR-for-Linux/issues/235">https://github.com/ValveSoftware/SteamVR-for-Linux/issues/235</a></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>