<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 - Optimus with nouveau no longer works with xorg-server 1.16.1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84932">84932</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Optimus with nouveau no longer works with xorg-server 1.16.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.2
          </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>Drivers/DRI/nouveau
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dura@duradsl.duckdns.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=107736" name="attach_107736" title="dmesg">attachment 107736</a> <a href="attachment.cgi?id=107736&action=edit" title="dmesg">[details]</a></span>
dmesg

I have an optimus laptop with intel HD4000 and nvidia GTX 660M.
With xorg-server 1.16.1 the GPU cannot be used. Replacing xorg-server with
1.15.1 version (and same version drivers) make it works again without making
any other changes (even rebooting).

xrandr --listproviders 
xrandr --setprovideroffloadsink nouveau Intel
DRI_PRIME=1 glxinfo | grep "OpenGL vendor string"

With 1.16 version:
Providers: number : 2
Provider 0: id: 0x88 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 5 associated providers: 1 name:Intel
Provider 1: id: 0x5f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs:
0 associated providers: 1 name:nouveau
OpenGL vendor string: Intel Open Source Technology Center

With 1.15 version:
Providers: number : 2
Provider 0: id: 0x88 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 5 associated providers: 1 name:Intel
Provider 1: id: 0x5f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs:
0 associated providers: 1 name:nouveau
OpenGL vendor string: nouveau

Software versions:
MesaLib-10.3.0
xf86-video-nouveau-1.0.11
libdrm-2.4.58
Linux version 3.16.5</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>