<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 - Hibernation doesn't work with AMD Radeon R7 265"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91707">91707</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Hibernation doesn't work with AMD Radeon R7 265
          </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/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rogutes+freedesktop@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=117828" name="attach_117828" title="dmesg output">attachment 117828</a> <a href="attachment.cgi?id=117828&action=edit" title="dmesg output">[details]</a></span>
dmesg output

Hibernation works perfectly when using the integrated Intel GPU, but
it only works once when using the discrete AMD Radeon R7 265.

I am testing different GPUs by changing the primary GPU in BIOS.

When trying to hibernate for the second time, I see one of 2 outcomes:
1. Display powers off, but the system stays on and stops responding to
   ICMP pings and sysrq; after reset the system boots afresh and fsck
   is run.
2. System powers off, but doesn't resume on next boot: boots afresh and
   fsck is run.

More observations:
* Suspend to RAM works every time.
* Hibernation works every time as long as X has not been started.
* I am running Arch Linux, swap is on an SSD and not encrypted. I usually start
hibernation with `systemctl hibernate`, but writing to /sys/power/state has the
same effect.

I have no idea how to debug this issue, but would be happy to do it with your
help.</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>