<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 - [IVB] xrandr fails after resume from hibernation since kernel 4.7+"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99829">99829</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IVB] xrandr fails after resume from hibernation since kernel 4.7+
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>pedrib@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=129647" name="attach_129647" title="Dmesg after first boot">attachment 129647</a> <a href="attachment.cgi?id=129647&action=edit" title="Dmesg after first boot">[details]</a></span>
Dmesg after first boot

Since kernel 4.7 (at least, see below), whenever I resume from hibernation and
try to use xrandr to manipulate any video output, my screen goes off and on
again and this message is displayed:
xrandr: Configure crtc X failed

With no effect happening, whatever the xrandr command I issued.

This has been confirmed in kernel 4.7, 4.8, 4.9 and 4.10-rc8 drm-tip that I've
just built now up to commit 890e171e84eb11944701de9d53c1162dd5c38142.

I can't recall exactly, but I'm pretty sure 4.6 has this issue, and MAYBE 4.5.
I am pretty sure however that 4.4 works just fine as I've been using that for a
long time.

This is the same issue described here, and already bisected in October last
year by another user:
<a href="https://lkml.org/lkml/2016/10/28/441">https://lkml.org/lkml/2016/10/28/441</a>

My hardware is a Lenovo X230 Ivy Bridge i5-3320m. Distro is Debian amd64, mix
of stable and testing.

I'm attaching the dmesg logs before and after hibernation using drm-tip and
drm.debug=0xf.</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 the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>