<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 - Monitors don't always wake up after sleep"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105188">105188</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Monitors don't always wake up after sleep
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>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>mbartoszkiewicz@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=137497" name="attach_137497" title="Kernel log">attachment 137497</a> <a href="attachment.cgi?id=137497&action=edit" title="Kernel log">[details]</a></span>
Kernel log

Hardware:
 GPU: Gigabyte Radeon RX 480 G1 Gaming 8GB
 Monitors: 3× Eizo FlexScan S2243W, connected using DP
Software:
 Distribution: Gentoo
 Kernel: 4.15.4
 x11-drivers/xf86-video-amdgpu-1.4.0
 x11-base/xorg-server-1.19.6
 media-libs/mesa-18.0.0_rc4
 x11-libs/libdrm-2.4.89

The monitors do not always correctly wake up from sleep.
E.g. after locking the session, the monitors go to sleep.
After pressing a key, only some wake up – the rest are still sleeping.
It does not seem to be deterministic – sometimes a monitor will wake up
correctly, sometimes not.

The kernel log attached is after running the following script:
for i in {1..5}; do echo "XXX before suspend $i" | sudo tee /dev/kmsg; xset
dpms force suspend; sleep 10; echo "XXX before on $i" | sudo tee /dev/kmsg;
xset dpms force on; sleep 10; echo "XXX status $i:" $(cat
/sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0/drm/card0/card0-DP-*/status)
| sudo tee /dev/kmsg; done

I am not sure if it is directly related to this issue, but the kernel log
contains two refcount_t warnings in amdgpu code.</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>