<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 - Black layout options in libreoffice impress"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91919">91919</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Black layout options in libreoffice impress
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>11.0
          </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/radeonsi
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>glin@suse.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=118139" name="attach_118139" title="Black layout options in libreoffice impress">attachment 118139</a> <a href="attachment.cgi?id=118139&action=edit" title="Black layout options in libreoffice impress">[details]</a></span>
Black layout options in libreoffice impress

After upgrading mesa to 10.6.0 or later, some graphs in libreoffice impress
became black squares. It also happened on some background images so some slides
just became totally black. Per my bisect result, the first bad commit is this
one:

commit cf6f33ee68ca56df1650762634fa9c038359c3ec
Author: Eduardo Lima Mitev <<a href="mailto:elima@igalia.com">elima@igalia.com</a>>
Date:   Thu Mar 12 08:16:09 2015 +0100

    mesa: Check for valid PBO access in gl(Compressed)Tex(Sub)Image calls

Theoretically, this commit should impact every graphic driver, but I only got
this issue on the system with Radeon HD 7770 vga card. The other system with
only intel vga card (with mesa 10.6.2) displayed everything as expected, so
it's likely to be a bug in the radeonsi driver.

I also found a similar issue in a gtk program(*) which draws a white line with
cairo but the whole became black after upgrading mesa. Here are the lines
suffer the problem:

src/core/caret.cpp: void CCaret::DrawInverse()

        if (m_Cairo == NULL) {
                m_Cairo = gdk_cairo_create(m_pParent->window);
        }
        cairo_set_source_rgb(m_Cairo, 1, 1, 1);
        cairo_set_operator(m_Cairo, CAIRO_OPERATOR_DIFFERENCE);
        cairo_rectangle(m_Cairo, m_Pos.x, m_Pos.y, m_Width, m_Height);
        cairo_fill(m_Cairo);

Hope this can help to narrow down the scope.

(*) <a href="https://github.com/pcman-bbs/pcmanx">https://github.com/pcman-bbs/pcmanx</a></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>