<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 - [NVE4] [regression, bisected] 4.10 (atomic): X shows black screen with cursor after monitors turn off"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99921">99921</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[NVE4] [regression, bisected] 4.10 (atomic): X shows black screen with cursor after monitors turn off
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </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>Driver/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kevin@potatofrom.space
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=129870" name="attach_129870" title="git bisect log">attachment 129870</a> <a href="attachment.cgi?id=129870&action=edit" title="git bisect log">[details]</a></span>
git bisect log

On Linux 4.10, after waking monitors up from powersave mode, X displays only a
black screen with a movable cursor on all three monitors. Linux 4.9.11 does not
exhibit this issue.

I initially noticed the issue with a triple-monitor setup, but it still occurs
even if only one monitor is plugged in via HDMI.

I've bisected the issue to the following atomic-mode-setting commit (full git
bisect log attached):

commit 839ca903f12ef8f09374e0b655456482536a733e
Author: Ben Skeggs <<a href="mailto:bskeggs@redhat.com">bskeggs@redhat.com</a>>
Date:   Fri Nov 4 17:20:36 2016 +1000

    drm/nouveau/kms/nv50: transition to atomic interfaces internally

    This commit implements the atomic commit interfaces, and implements the
    legacy modeset and page flipping interfaces on top of them.

    There's two major changes in behavior from before:

    - We're now making use of interlocks between core and satellite EVO
      channels, which greatly improves our ability to keep their states
      synchronised.
    - DPMS is now implemented as a full modeset to either tear down the
      entire pipe (or bring it back up).  This choice was made mostly
      to ease the initial implementation, but I'm also not sure what we
      gain by bring backing the old behaviour.  We shall see.

    This does NOT currently expose the atomic ioctl by default, due to
    limited testing having been performed.

    Signed-off-by: Ben Skeggs <<a href="mailto:bskeggs@redhat.com">bskeggs@redhat.com</a>>

Dmesgs and Xorg logs are provided for the following configurations that exhibit
the issue:
 - 4.10, with one monitor attached
 - 4.10, with three monitors attached
 - A bisected revision that displays the issue (seems to have a bit more
information)

I'm using an MSI GTX 770 2GB; vbios is attached.</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>