<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Preferred Mode not selected for external monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82205">82205</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Preferred Mode not selected for external monitor
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jugg@hotmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=104092" name="attach_104092" title="Xorg.0.log">attachment 104092</a> <a href="attachment.cgi?id=104092&action=edit" title="Xorg.0.log">[details]</a></span>
Xorg.0.log

I'm using a build from Git commit gf36b7a4 of the xf86-video-intel driver
(running under Archlinux with xorg-server 1.16).

(II) intel(0): Printing probed modes for output eDP1
(II) intel(0): Modeline "1600x900"x60.1  100.40  1600 1648 1680 1792  900 902
907 932 -hsync -vsync (56.0 kHz eP)
<snip>
(II) intel(0): Printing probed modes for output HDMI1
(II) intel(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200
1203 1209 1235 +hsync -vsync (74.0 kHz eP)
<snip>
(II) intel(0): Using user preference for initial modes
(II) intel(0): Output eDP1 using initial mode 1600x900
(II) intel(0): Output HDMI1 using initial mode 1440x900

[full log attached]

As you can see the initial mode selected for HDMI1 is not the native preferred
mode.

In previous versions of the driver (2.99.911 and earlier) I could correct this
by setting the HDMI1 Monitor as "Primary":

Section "Monitor"
  Identifier "HDMI1"
  Option "Primary" "true"
  Option "RightOf" "eDP1"
EndSection

In which case it would then select the native preferred mode of the external
monitor properly.

This no longer works.

Alternatively, I can force the preferred mode in the Monitor section, but since
I connect different monitors from time to time to HDMI1, this is not desirable.

Section "Monitor"
  Identifier "HDMI1"
  Option "RightOf" "eDP1"
  Option "PreferredMode" "1920x1200"
EndSection

So, the behavior I would ultimately prefer is if the preferred mode was auto
selected for each monitor and applied respectively whether it was primary or
not.  Which I expect means that the Display's Virtual screen resolution must be
large enough to accommodate the largest Monitor mode.  Given the text in the
manual regarding the Virtual value:

"If this entry is not present, the virtual screen resolution will be set to
accommodate all the valid video modes given in the Modes entry"

which seems to indicate that the desired behavior should be the default
behavior, assuming the Modes entry is auto populated with the detected modes
(which other text says it should be).</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>