<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 - Only mouse cursor visible on DP-1 connected monitor, no graphics (was working earlier - reverse PRIME)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105903">105903</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Only mouse cursor visible on DP-1 connected monitor, no graphics (was working earlier - reverse PRIME)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>benny@ammitzboell-consult.dk
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=138617" name="attach_138617" title="dmesg kernel log">attachment 138617</a> <a href="attachment.cgi?id=138617&action=edit" title="dmesg kernel log">[details]</a></span>
dmesg kernel log

I use Gentoo and nouveau with reverse PRIME to get an external monitor working
with my laptop. This setup used to work, but no longer does.

This is the script I use to turn the external outputs on:

tux_xc1706 ~ # cat nouveau_on.sh 
#!/bin/bash
read intel nv <<<"$(xrandr --listproviders |  awk '/outputs:/{print $4}' | tr
'\n' ' ')"
xrandr --setprovideroutputsource $nv $intel
xrandr --output DP-1-1 --mode 1920x1080 --right-of eDP-1

The monitor also gets connected and I can move the mouse pointer there - but if
I move a window from my laptop screen to the external monitor, the window is
not visible on the external monitor - only the mouse pointer.

This is my xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "modesetting"
    Inactive       "nouveau"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nouveau"
    Driver         "nouveau"
    BusID          "PCI:1:0:0"
    Option         "DRI" "3"
EndSection

Section "Device"
    Identifier     "modesetting"
    Driver         "modesetting"
    BusID          "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier     "nouveau"
    Device         "nouveau"
EndSection

Section "Screen"
    Identifier     "modesetting"
    Device         "modesetting"
    Monitor        "Monitor0"
EndSection</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>