<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 - Freezes when waking up after screen goes blank."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109001">109001</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Freezes when waking up after screen goes blank.
          </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>juliolokooo@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=142769" name="attach_142769" title="Dmesg-output">attachment 142769</a> <a href="attachment.cgi?id=142769&action=edit" title="Dmesg-output">[details]</a></span>
Dmesg-output

Similar to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Kernel panic when waking up after screen goes blank."
   href="show_bug.cgi?id=105018">bug 105018</a>, but instead of kernel panic, system freezes for some
time after waking screen up.

Tested on ArchLinux, it can be reproduced on Linux 4.18 and 4.19, using an AMD
RX550.
It always happens when using DPMS/Screen blanking, after leaving the screen
blank for some minutes and waking it up.
It keeps freezing for some time, sometimes for seconds others for minutes.

The attached dmesg output is similar to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Kernel panic when waking up after screen goes blank."
   href="show_bug.cgi?id=105018">bug 105018</a>. 
Every time the system is frozen, those 2 lines are shown:
"[drm:dm_crtc_get_scanoutpos [amdgpu]] *ERROR* dc_stream_state is NULL for crtc
'1'!
[ 1701.356720] [drm:dm_vblank_get_counter [amdgpu]] *ERROR* dc_stream_state is
NULL for crtc '1'!"

Tried removing xf86-video-amdgpu (DDX Driver), and while the freezes disappear,
it takes longer to wake up the screen and dmesg only shows "[amdgpu]] *ERROR*
Failed to get VBLANK!" several times.</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>