<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Intel GPU hangs on resume from suspend - screen freezes, must hard reboot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90623#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Intel GPU hangs on resume from suspend - screen freezes, must hard reboot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90623">bug 90623</a>
              from <span class="vcard"><a class="email" href="mailto:conselvan2@gmail.com" title="Ander Conselvan de Oliveira <conselvan2@gmail.com>"> <span class="fn">Ander Conselvan de Oliveira</span></a>
</span></b>
        <pre>(In reply to Rahul from <a href="show_bug.cgi?id=90623#c5">comment #5</a>)
<span class="quote">> Hi Ander - the screen is frozen on wakeup. Maybe ssh works. I have no other
> computer on the network to ssh into it from if that's what you are
> suggesting. I can't do anything on the screen - it's just plain white and
> blank. Maybe applications are still running - but I can't tell if they are.
> I can't bring up an xterm or anything to get more information. So if I
> understand you correctly, upon reboot /sys/class/drm/card0/error gets
> overwritten?</span >

In a way yes. That file is actually an interface to i915 code that outputs the
error state recorded in the driver. So when the driver is loaded after the
reboot, that error state is clear.

 Can I set up a daemon to watch the file and copy it to another
<span class="quote">> location? Maybe that way I can get you a stacktrace?</span >

That could work, though I'm not sure inotify would work for that particular
file. You might have to constantly poll the contents of the file.

It is pretty much impossible to debug the GPU hang without that error state.</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>