<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102008#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102008">bug 102008</a>
              from <span class="vcard"><a class="email" href="mailto:megwattt@gmail.com" title="MWATTT <megwattt@gmail.com>"> <span class="fn">MWATTT</span></a>
</span></b>
        <pre>I also have this problem to with my laptop (Intel Skylake iGPU + AMD TOPAZ
dGPU)
The issue is only with opengl, radv works fine.

The BadAlloc only happens with some window sizes. It can be easily tested with
glxgears. For instance, there is no problem with 1600x900 or default size,
300x300. With this height (300), I can resize the width between 257 and 448
without hitting a BadAlloc.

With a width of 192, I have no problem with the following heights:
123, 124, 129, 123, 131, 132, 134, 135, 136, 139, 140, 145, 146, 147, 148, 150,
151, 152, 155, 156, 161
I have a BadAlloc with those heights:
125, 126, 127, 128, 133, 137, 138, 141, 142, 143, 144, 149, 153, 154, 157, 158,
159, 160</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>