<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 --- - intel-virtual-output shows different resolutions under certain conditions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74800">74800</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>intel-virtual-output shows different resolutions under certain conditions
          </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>raul@dias.com.br
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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=93782" name="attach_93782" title="bumblebees xorg.conf.nvidia">attachment 93782</a> <a href="attachment.cgi?id=93782&action=edit" title="bumblebees xorg.conf.nvidia">[details]</a></span>
bumblebees xorg.conf.nvidia

Using bumblebee with a nvidia discrete card.

intel-output-virtual -b works fine.

As nvidia exports 2 displays: VGA-0 and HDMI-0, intel-output-virtual export
both as VIRTUAL1 and VIRTUAL2.
This is expected.

As this is a optimus setup, VGA-0 does not really exits.


So, in order to get it right this /etc/bumblebee/xorg.conf.nvidia is attached.

This solves the problem:  nvidia only have HDMI-0 (VGA-0 is gone).
And it now corresponds to VIRTUAL1.


The problem is that intel-virtual-output is exporting more modes than it
exists.


When plugin 1280x1024 display this is what xrandr sees in the nvidia xorg:

$ DISPLAY=:8 xrandr 
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 16384 x 16384
HDMI-0 connected primary (normal left inverted right x axis y axis)
   1280x1024      60.0 +   75.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   640x480        75.0     59.9  

And this is what intel-virtual-output exports:

VIRTUAL1 connected (normal left inverted right x axis y axis)
   VIRTUAL1.658-1920x1080   60.0  
   VIRTUAL1.638-1280x1024   75.0  
   1280x1024      60.0  
   VIRTUAL1.659-1280x720   60.0  
   VIRTUAL1.639-1024x768   75.0  
   VIRTUAL1.660-1024x768   70.1  
   1024x768       60.0  
   VIRTUAL1.641-800x600   75.0  
   VIRTUAL1.661-800x600   72.2  
   800x600        60.3  
   VIRTUAL1.643-640x480   75.0  
   VIRTUAL1.662-640x480   72.8  
   640x480        59.9  


note that this problem only exists when avoid the unexistent VGA-0 in nvidia
xorg.  When VGA-0 is present, intel-virutal-output exports the correct modes.</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>