<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 - r300 blocking GLX and EGL compositing in KWin (KDE Plasma 5.x)?"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91534">91534</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>r300 blocking GLX and EGL compositing in KWin (KDE Plasma 5.x)?
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.5
          </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/Gallium/r300
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aaron.d.pickett@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=117488" name="attach_117488" title="Attempt to force EGL-based OpenGL compositing">attachment 117488</a> <a href="attachment.cgi?id=117488&action=edit" title="Attempt to force EGL-based OpenGL compositing">[details]</a></span>
Attempt to force EGL-based OpenGL compositing

I have an old laptop with ATI RS480 graphics (Radeon Xpress 200M), and I've
been testing KDE Plasma 5.x in KUbuntu 15.04 (currently version 5.3 from the
backports PPA).  In all the versions I've tried, OpenGL compositing fails.  For
the GLX API, I assume this is because r300 *almost* supports OpenGL 2.1, but
falls short on NPOT texture support.

After some reading
(<a href="http://blog.martin-graesslin.com/blog/2011/07/running-kwin-with-opengl-es-2-0/">http://blog.martin-graesslin.com/blog/2011/07/running-kwin-with-opengl-es-2-0/</a>),
I thought I might try the EGL API for OpenGL ES compositing.  The GUI wouldn't
let me select EGL, so I forced it using environment variables
(<a href="https://community.kde.org/KWin/Environment_Variables">https://community.kde.org/KWin/Environment_Variables</a>) as follows:
KWIN_OPENGL_INTERFACE=egl
KWIN_COMPOSE=O1 (I also tried O2, same result)

Unfortunately, the (truncated) result is:
kwin_core: OpenGL driver recommends XRender based compositing. Falling back to
XRender.
...
kwin_core: Failed to initialize compositing, compositing disabled

>From what I've read, the r300 should have full OpenGL ES 2.0 support, so is the
driver blocking EGL compositing unnecessarily?  

The full log of my attempt to force EGL-based compositing is attached.</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>