<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [regression] recent ABI changes in xorg-video-intel (intel_drv.so) breaks dual-head XBMC"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82619#c66">Comment # 66</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [regression] recent ABI changes in xorg-video-intel (intel_drv.so) breaks dual-head XBMC"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82619">bug 82619</a>
              from <span class="vcard"><a class="email" href="mailto:fernetmenta@online.de" title="Rainer Hochecker <fernetmenta@online.de>"> <span class="fn">Rainer Hochecker</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=82619#c56">comment #56</a>)
<span class="quote">> xbmc-xrandr, you have to be kidding me.

> At least do

> diff --git a/xbmc/windowing/X11/XRandR.cpp b/xbmc/windowing/X11/XRandR.cpp
> index c94f2e3..4fdaeeb 100644
> --- a/xbmc/windowing/X11/XRandR.cpp
> +++ b/xbmc/windowing/X11/XRandR.cpp
> @@ -74,7 +74,7 @@ bool CXRandR::Query(bool force, int screennum, bool
> ignoreoff)
>    CStdString cmd;
>    cmd  = getenv("XBMC_BIN_HOME");
>    cmd += "/xbmc-xrandr";
> -  cmd = StringUtils::Format("%s -q --screen %d", cmd.c_str(), screennum);
> +  cmd = StringUtils::Format("%s -q --screen %d --current", cmd.c_str(),
> screennum);
>  
>    FILE* file = popen(cmd.c_str(),"r");
>    if (!file)</span >

I merged this change today and already got the first complaint. Only a single
mode is available on startup without probing:

log with this change:
<a href="http://sprunge.us/aVIe">http://sprunge.us/aVIe</a>
17:33:14 T:140080651007808    INFO: Output 'HDMI1' has 1 modes
17:33:14 T:140080651007808    INFO: ID:0x48 Name:4096x2160 Refresh:24.000000
Width:4096 Height:2160
17:33:14 T:140080651007808    INFO: Pixel Ratio: 0.938362

log with the change reverted:
<a href="http://sprunge.us/eFgV">http://sprunge.us/eFgV</a>
51 modes available.</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>
      </ul>
    </body>
</html>