From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91919] Black layout options in libreoffice impress Date: Tue, 08 Sep 2015 14:01:46 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2087929356==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A81E6E1C4 for ; Tue, 8 Sep 2015 07:01:46 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2087929356== Content-Type: multipart/alternative; boundary="1441720906.fEB00.19754"; charset="UTF-8" --1441720906.fEB00.19754 Date: Tue, 8 Sep 2015 14:01:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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@lists.freedesktop.org Reporter: glin@suse.com QA Contact: dri-devel@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 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. --1441720906.fEB00.19754 Date: Tue, 8 Sep 2015 14:01:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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@lists.freedesktop.org
Reporter glin@suse.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 118139 [details]
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@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.
--1441720906.fEB00.19754-- --===============2087929356== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2087929356==--