<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 - [KBL] modeset to a different refresh rate periodically results in a black screen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101373">101373</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[KBL] modeset to a different refresh rate periodically results in a black screen
          </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/Intel
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>joe.yasi@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=131844" name="attach_131844" title="dmesg when there is no output after refresh toggle">attachment 131844</a> <a href="attachment.cgi?id=131844&action=edit" title="dmesg when there is no output after refresh toggle">[details]</a></span>
dmesg when there is no output after refresh toggle

System architecture: x86_64
Kernel version: 4.11.4 (this also happened with the 4.10.x series.)
Linux distribution: Ubuntu 17.04
Motherboard model: Gigabyte GA-H270N-WIFI
CPU: Intel Kaby Lake i7-7700
Display connector: HDMI (port 1)

Display chain: HDMI-1 to Pulse-eight HDMI-CEC box to Denon AVR-E400 to
Panasonic 55" CX850 4K display.

I am feeding the EDID and setting the mode on boot via kernel options:
drm_kms_helper.edid_firmware=HDMI-A-1:edid/panasonic-denon-edid.bin
video=HDMI-A-1:1920x1080@60

I having sporadic issues toggling between refresh rates. I am running Kodi on
the machine which changes the refresh rate to match the frame rate of video.
This usually results in toggling between 60 Hz and 59.94 Hz or 24 Hz depending
upon the video. I can reproduce it with just xrandr commands as well.

Toggling between two refresh rates:
xrandr --output HDMI-1 --mode 1920x1080 --rate 60
xrandr --output HDMI-1 --mode 1920x1080 --rate 59.94
results in a black screen about 1 out of 3 tries with no audio over HDMI.
xrandr -q still shows connected in this state at the new refresh rate, but
there is no video or audio output. Toggling back to the previous refresh rate
usually brings the display and audio back.

I've attached a dmesg taken during a black screen after a refresh toggle. I
will attach xrandr --verbose and a dmesg taken after a successful refresh
change.</pre>
        </div>
      </p>


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

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