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==-- 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:02:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1292341202==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FC386E5FC for ; Tue, 8 Sep 2015 07:02:51 -0700 (PDT) In-Reply-To: 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 --===============1292341202== Content-Type: multipart/alternative; boundary="1441720971.d5A8B67e0.20097"; charset="UTF-8" --1441720971.d5A8B67e0.20097 Date: Tue, 8 Sep 2015 14:02:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91919 Gary Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #118139|text/plain |image/png mime type| | -- You are receiving this mail because: You are the assignee for the bug. --1441720971.d5A8B67e0.20097 Date: Tue, 8 Sep 2015 14:02:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 91919
What Removed Added
Attachment #118139 mime type text/plain image/png


You are receiving this mail because:
  • You are the assignee for the bug.
--1441720971.d5A8B67e0.20097-- --===============1292341202== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1292341202==-- 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: Wed, 09 Sep 2015 02:48:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0125487439==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2496E721E2 for ; Tue, 8 Sep 2015 19:48:39 -0700 (PDT) In-Reply-To: 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 --===============0125487439== Content-Type: multipart/alternative; boundary="1441766919.F487b131.22784"; charset="UTF-8" --1441766919.F487b131.22784 Date: Wed, 9 Sep 2015 02:48:39 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91919 --- Comment #1 from Michel D=C3=A4nzer --- Please attach the corresponding /var/log/Xorg.0.log file. --=20 You are receiving this mail because: You are the assignee for the bug. --1441766919.F487b131.22784 Date: Wed, 9 Sep 2015 02:48:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 1 on bug 91919<= /a> from Michel D=C3=A4nzer
Please attach the corresponding /var/log/Xorg.0.log file.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1441766919.F487b131.22784-- --===============0125487439== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0125487439==-- 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: Wed, 09 Sep 2015 15:37:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0651663683==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D8E246E214 for ; Wed, 9 Sep 2015 08:37:00 -0700 (PDT) In-Reply-To: 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 --===============0651663683== Content-Type: multipart/alternative; boundary="1441813020.EFc4c0.20117"; charset="UTF-8" --1441813020.EFc4c0.20117 Date: Wed, 9 Sep 2015 15:37:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91919 --- Comment #2 from Gary Lin --- Created attachment 118169 --> https://bugs.freedesktop.org/attachment.cgi?id=118169&action=edit The Xorg log of the system with the black squares -- You are receiving this mail because: You are the assignee for the bug. --1441813020.EFc4c0.20117 Date: Wed, 9 Sep 2015 15:37:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 91919 from
Created attachment 118169 [details]
The Xorg log of the system with the black squares


You are receiving this mail because:
  • You are the assignee for the bug.
--1441813020.EFc4c0.20117-- --===============0651663683== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0651663683==-- 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: Wed, 09 Sep 2015 15:49:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0820271336==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1EF836E24D for ; Wed, 9 Sep 2015 08:49:14 -0700 (PDT) In-Reply-To: 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 --===============0820271336== Content-Type: multipart/alternative; boundary="1441813754.AFc423C0.24327"; charset="UTF-8" --1441813754.AFc423C0.24327 Date: Wed, 9 Sep 2015 15:49:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91919 --- Comment #3 from Gary Lin --- Forgot to mention that the system is gentoo linux and I am using mesa-11.0.0_rc3. -- You are receiving this mail because: You are the assignee for the bug. --1441813754.AFc423C0.24327 Date: Wed, 9 Sep 2015 15:49:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 91919 from
Forgot to mention that the system is gentoo linux and I am using
mesa-11.0.0_rc3.


You are receiving this mail because:
  • You are the assignee for the bug.
--1441813754.AFc423C0.24327-- --===============0820271336== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0820271336==-- 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: Thu, 10 Sep 2015 02:44:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0815168867==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 50C5A722D2 for ; Wed, 9 Sep 2015 19:44:13 -0700 (PDT) In-Reply-To: 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 --===============0815168867== Content-Type: multipart/alternative; boundary="1441853053.5eCf51.20492"; charset="UTF-8" --1441853053.5eCf51.20492 Date: Thu, 10 Sep 2015 02:44:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91919 --- Comment #4 from Michel D=C3=A4nzer --- > [ 7195.649] (II) LoadModule: "glamoregl" > [ 7195.649] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so > [ 7195.677] (II) Module glamoregl: vendor=3D"X.Org Foundation" > [ 7195.677] compiled for 1.17.2, module version =3D 0.6.0 You're using glamor from the old standalone tree. Does the problem also occ= ur with glamor from the xserver tree? --=20 You are receiving this mail because: You are the assignee for the bug. --1441853053.5eCf51.20492 Date: Thu, 10 Sep 2015 02:44:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 91919<= /a> from Michel D=C3=A4nzer
> [  7195.649] (II) LoadModule: "=
;glamoregl"
> [  7195.649] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
> [  7195.677] (II) Module glamoregl: vendor=3D"X.Org Foundation&qu=
ot;
> [  7195.677] 	compiled for 1.17.2, module version =3D 0.6.0

You're using glamor from the old standalone tree. Does the problem also occ=
ur
with glamor from the xserver tree?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1441853053.5eCf51.20492-- --===============0815168867== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0815168867==-- 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: Thu, 10 Sep 2015 13:36:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0067536288==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 351647A005 for ; Thu, 10 Sep 2015 06:36:26 -0700 (PDT) In-Reply-To: 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 --===============0067536288== Content-Type: multipart/alternative; boundary="1441892185.e6AeE00.8163"; charset="UTF-8" --1441892185.e6AeE00.8163 Date: Thu, 10 Sep 2015 13:36:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91919 Gary Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Gary Lin --- (In reply to Michel D=C3=A4nzer from comment #4) > > [ 7195.649] (II) LoadModule: "glamoregl" > > [ 7195.649] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so > > [ 7195.677] (II) Module glamoregl: vendor=3D"X.Org Foundation" > > [ 7195.677] compiled for 1.17.2, module version =3D 0.6.0 >=20 > You're using glamor from the old standalone tree. Does the problem also > occur with glamor from the xserver tree? Ah, right. I pulled in the old glamor to fix a dependency issue wrongly. Changing to glamor from xserver works for me. Now everything works as expec= ted. Sorry for the noise and thank you for all the wonderful work :) --=20 You are receiving this mail because: You are the assignee for the bug. --1441892185.e6AeE00.8163 Date: Thu, 10 Sep 2015 13:36:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Gary Lin changed bug 91919<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- INVALID

Comment= # 5 on bug 91919<= /a> from Gary Lin
(In reply to Michel D=C3=A4nzer from comment #4)
> > [  7195.649] (II) LoadModule: "glamore=
gl"
> > [  7195.649] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
> > [  7195.677] (II) Module glamoregl: vendor=3D"X.Org Foundati=
on"
> > [  7195.677] 	compiled for 1.17.2, module version =3D 0.6.0
>=20
> You're using glamor from the old standalone tree. Does the problem also
> occur with glamor from the xserver tree?

Ah, right. I pulled in the old glamor to fix a dependency issue wrongly.
Changing to glamor from xserver works for me. Now everything works as expec=
ted.

Sorry for the noise and thank you for all the wonderful work :)


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1441892185.e6AeE00.8163-- --===============0067536288== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0067536288==--