<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 - Intel Skylake HD520 Screen flickering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109953">109953</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Intel Skylake HD520 Screen flickering
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg git
          </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/Intel
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dominik232@gmail.com
          </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=143620" name="attach_143620" title="dmesg output on booted Arch with 5.0.0-rc7-drm-intel-next-git-b4bf44d2dcbd and enabled debug flag">attachment 143620</a> <a href="attachment.cgi?id=143620&action=edit" title="dmesg output on booted Arch with 5.0.0-rc7-drm-intel-next-git-b4bf44d2dcbd and enabled debug flag">[details]</a></span>
dmesg output on booted Arch with 5.0.0-rc7-drm-intel-next-git-b4bf44d2dcbd and
enabled debug flag

== Machine details ==

Host: Aspire E5-574 V1.14
CPU: Intel i5-6200U (4) @ 2.700GHz
GPU: Intel Skylake GT2 [HD Graphics 520]
Memory: 15904MiB (2 * 8GB)
Resolution: 1920x1080

== Issue description ==

This problem was already solved for me once. When I bought this laptop I
immediately changed its hardware configuration. As far as I remember, that
problem was introduced when I extended RAM memory from 1x4GB to 2x8GB. Any
Linux OS with any kernel version (that supported Skylake graphics at all) had
that issue. System starts normally and image rendering is totally fine, but
sometimes I can see that some part of the screen is black for a small fraction
of a second. Sometimes I can see some little scratches and distortions too.
Back then I commented on existing, related bug
<a class="bz_bug_link 
          bz_status_CLOSED  bz_closed"
   title="CLOSED FIXED - [SKL] Flashing black screen ([drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun)"
   href="show_bug.cgi?id=94605#c87">https://bugs.freedesktop.org/show_bug.cgi?id=94605#c87</a> I posted some dmesg
outputs and then Paulo Zanoni posted kernel patches I tested and first patch
was enough for me to not experiencing this issue anymore.

For now I modified my hardware configuration again by replacing harddrive (from
256G SSD to 512GB SSD). Unfortunately now the problem is back. I already
checked Windows and it works just fine without any flickering nor any
distortions at all. I don't know why it happens, maybe new harddrive consumes
more power or something.

Anyway there was also something that Paulo Zanoni suggested - sometimes first
row of pixels is broken while playing video. Back when we exchanged comments I
wasn't able to reproduce this issue, but on regular basis I started to notice
green line on top of the screen showin ocasionally when playing fullscreen
video.

== Steps to reproduce ==

Simply run any graphical environment with i915 and sooner or later I can
experience some broken frames. It feels like it happens the more often, the
more GPU resources are used - e.g. playing YouTube video and running Virtual
Machine with other OS makes it happening pretty often.
I doesn't seem like X.org related problem, because I can easily reproduce it on
the Wayland session.

== Logs ==

When this happens, this appears in dmesg output:

[ 2609.752028] [drm:intel_hpd_irq_handler [i915]] HPD interrupt storm detected
on PIN 6
[ 2609.752539] [drm] HPD interrupt storm detected on connector DP-1: switching
from hotplug detection to polling

The `dmesg.txt` attachment has full dmesg output. I added kernel parameters
drm.debug=0xe and log_buf_len=4M so maybe those logs would be any useful.

== Environments ==

I tried with few different kernel versions and distros and it's the same
everywhere:

Arch Linux: Linux 5.0
Arch Linux: Linux 5.0-rc7 (linux-drm-intel-next)
KDE Neon (Ubuntu?): Linux ~4.16
Debian Stable: Linux 4.8

== Summary ==

Since this is not any blocking sort of bug, it is really annoying and breaks
the overall experience.
I would be very grateful for help / fixes. From my side, if I only have some
time, I can make any tests, compile kernels, provide logs and so on.</pre>
        </div>
      </p>


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

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