<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - System freeze with Kernels > 4.11.x (freeze on 4.12.x and 4.13.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102586#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - System freeze with Kernels > 4.11.x (freeze on 4.12.x and 4.13.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102586">bug 102586</a>
              from <span class="vcard"><a class="email" href="mailto:jaar@lordsofts.com" title="jaar@lordsofts.com">jaar@lordsofts.com</a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=136065" name="attach_136065" title="output of /sys/class/drm/card0/error">attachment 136065</a> <a href="attachment.cgi?id=136065&action=edit" title="output of /sys/class/drm/card0/error">[details]</a></span>
output of /sys/class/drm/card0/error

after a profile update i had to rebuild my system with gcc 6.4 (Gentoo Hardened
6.4.0 p1.1)
after recompiling the complete system i managed to upgraded to kernel 4.14.x
without any gpu-freezes!

maybe the new hardened profile or gcc 6.4 solved the freezes.
since then i had several atomic errors, but no gpu hang!

however, today i had another GPU hang, but unlike the freezes before now
resetting gpu worked and i was able to continue working without any issues.

the application that caused the GPU hang was avidemux3:
<a href="https://github.com/mean00/avidemux2.git">https://github.com/mean00/avidemux2.git</a> (./bootStrap.bash --enable-qt4)

the problem may be related to VAAPI as i used avidemux with VAAPI enabled to
cut a x265/HEVC video (fast forward searching in video: continuously PageUp-key
pressed down)

dmesg:
[317920.925145] [drm] GPU HANG: ecode 9:2:0xa8dfbffd, in avidemux3_qt4 [1739],
reason: Hang on vcs0, action: reset
[317920.925148] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, including userspace.
[317920.925148] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
[317920.925149] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[317920.925150] [drm] The gpu crash dump is required to analyze gpu hangs, so
please always attach it.
[317920.925151] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[317920.925320] i915 0000:00:02.0: Resetting chip after gpu hang
[317920.928295] [drm] RC6 on

crash dump is attached (binary data removed)</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>