<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 - Missing RandR events on hotplug"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91929">91929</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Missing RandR events on hotplug
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </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>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>loic.yhuel@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When investigating <a href="https://bugs.kde.org/show_bug.cgi?id=346455">https://bugs.kde.org/show_bug.cgi?id=346455</a>, I found I don't
get all XRandR events on hotplug until someones calls RRGetInfo (either
"randr", or XRRGetScreenResources in "xev -event randr"), or a VT switch.

By default when plugging the HDMI cable I only get :
 - RRScreenChangeNotify
 - XRROutputChangeNotifyEvent with RR_Disconnected
When using xev, or calling xrandr, I get :
 - a second RRScreenChangeNotify
 - XRROutputChangeNotifyEvent with RR_Connected

On unplug, it seems to be the same (not 100% reliable, sometimes the kernel
doesn't generate any uevent) : I get "dummy" events (RRScreenChangeNotify +
XRROutputChangeNotifyEvent with RR_Connected), and won't get the
RR_Disconnected until someones calls RRGetInfo.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>