<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 - External monitor ("reverse PRIME", Output Sink) updates very slowly (1fps) when laptop screen is off"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99128">99128</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>External monitor ("reverse PRIME", Output Sink) updates very slowly (1fps) when laptop screen is off
          </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>peter@lekensteyn.nl
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Scenario:
Hybrid graphics laptop with an laptop screen (eDP-1, Intel) and an external
monitor connected to the Nvidia GPU (DP-1, nouveau).
DP-1 (nouveau) is linked as output slave to the Intel GPU.
(When Intel renders a picture, it is shown on the external screen connected to
the Nvidia GPU.)

Problem:
When the lid is closed (and no outputs are active for Intel), stuff on the
external monitor updates only every one second.

Steps to reproduce:
1. Enable output source:

    xrandr --setprovideroutputsource nouveau Intel
    xrandr --output DP-1 --mode 2560x1440 --left-of eDP-1
2. Run "glxgears" and drag it to the external monitor.
3. Turn off Intel screen (e.g. xrandr --output eDP-1 --off or by closing the
lid).

Expected behavior:
glxgears should be updating normally with 60fps.

Actual behavior:
glxgears updates with 1fps.

Other information:
A similar problem existed in the modesetting driver, fixed in Xorg 1.19 with
<a href="https://lists.x.org/archives/xorg-devel/2016-August/050797.html">https://lists.x.org/archives/xorg-devel/2016-August/050797.html</a>
I think that a similar fix can be developed for sna_display.c
(sna_covering_crtc).

Environment:
Arch Linux x86_64
Intel i7-6700HQ, Nvidia GT 965M
xorg-server 1.19.0-3 (but it occurred with 1.18.4 too)
xf86-video-intel 1:2.99.917+746+g169c74f-2
xf86-video-nouveau 1.0.13+7+g1516d35-2</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>