<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 - Cannot use Intel GPU as offloader in PRIME"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97853">97853</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot use Intel GPU as offloader in PRIME
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </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>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>commendsarnex@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=126604" name="attach_126604" title="dmesg">attachment 126604</a> <a href="attachment.cgi?id=126604&action=edit" title="dmesg">[details]</a></span>
dmesg

Hi, 

My system has an intel igpu and dedicated AMD gpu. If I want to render with the
intel GPU, it does not work. If I try DRI2 and try to set the offloader and
sink, I get the following error from xrandr:
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  34 (RRSetProviderOffloadSink)
  Value in failed request:  0x46
  Serial number of failed request:  16
  Current serial number in output stream:  17


If I use DRI3, and I try DRI_PRIME=1 glxinfo -B, I get the following error:
libGL error: Different GPU, but blitImage not implemented for this driver
libGL error: failed to load driver: i965

and glxinfo displays information about my AMD gpu.


dmesg is attached.

Please let me know if you need anything else.

Thanks,
sarnex</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>