[Bug 91919] Black layout options in libreoffice impress

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 8 07:01:46 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91919

            Bug ID: 91919
           Summary: Black layout options in libreoffice impress
           Product: Mesa
           Version: 11.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: glin at suse.com
        QA Contact: dri-devel at lists.freedesktop.org

Created attachment 118139
  --> https://bugs.freedesktop.org/attachment.cgi?id=118139&action=edit
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 <elima at igalia.com>
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.

(*) https://github.com/pcman-bbs/pcmanx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150908/82574927/attachment.html>


More information about the dri-devel mailing list