<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 - Violent glitches when screen turns on from "xset dpms force off" or from sleep"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102906">102906</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Violent glitches when screen turns on from "xset dpms force off" or from 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>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aleksey@rybalkin.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=134384" name="attach_134384" title="syslog from recorded session">attachment 134384</a> <a href="attachment.cgi?id=134384&action=edit" title="syslog from recorded session">[details]</a></span>
syslog from recorded session

I am experiencing some violent graphical glitches in situations when the screen
is turned back on after it went to sleep or after it was turned off with "xset
dpms force off". The glitches continue even after exiting the X into the
console.

hardware: Lenovo ThinkPad X250
cpu: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
kernel: 4.13.3 vanilla
xorg-server: 1.19.3

Video of the glitches: <a href="https://www.youtube.com/watch?v=yvv0cHL4UyM">https://www.youtube.com/watch?v=yvv0cHL4UyM</a>

On the video glitches start only after sixth attempt to do "xset dpms force
off" while the debugging options "drm.debug=0xe log_bug_len=2M" are on. Without
these options glitches appear much more frequently (nearly every time). At the
end of the video I do exit the X server to reboot the system from console and
the glitches still continue in the console.

System log from the session on the video with "drm.debug=0xe log_bug_len=2M"
attached. During the activation of the glitches the error line
"[drm:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe A FIFO underrun"
does appear.

As far as I remember this regression was introduced in kernel 4.12 (4.11 was
fine). I can test both, if needed.

Also, is this the right place for this bug report or should I create one on
kernel bugzilla?

Also might be related to <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - After resume from sleep or suspend display gets corrupted and shakes in the monitor"
   href="show_bug.cgi?id=102587">https://bugs.freedesktop.org/show_bug.cgi?id=102587</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>