radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)
https://bugs.freedesktop.org/show_bug.cgi?id=110355
Bug ID: 110355
Summary: radeonsi: GTK elements become invisible in some
applications (GIMP, LibreOffice)
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
I am currently experiencing some issues with GTK elements (GtkMenuItem, GtkMenu) becoming invisible with GIMP and LibreOffice.
I am currently using radeonsi+glamor and I'm on Arch Linux (x86_64).
My hardware is a Ryzen 5 2400G APU with vega graphics.
The issue goes away if I start the application with this variable:
LIBGL_ALWAYS_SOFTWARE=1.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #1 from Diego Viola <[email protected]> --- I've bisected the issue, here is the bad commit:
[diego@archtest mesa]$ git bisect good 1b25d340b791ad8350bdfb27f1a91ac79fa17748 is the first bad commit commit 1b25d340b791ad8350bdfb27f1a91ac79fa17748
Author: Sonny Jiang <[email protected]> Date: Mon Dec 3 12:36:33 2018 -0500
radeonsi: use compute for resource_copy_region when possible
v2: marek: fix snorm8 blits
:040000 040000 2c64a549c6512a622312f0a5955cafc17c99ae917615411b88672f53247c0393d28898672d8f49e1 M src
[diego@archtest mesa]$
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #2 from Diego Viola <[email protected]> --- Created attachment 143894
--> https://bugs.freedesktop.org/attachment.cgi?id=143894&action=edit
bisect log
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #3 from Diego Viola <[email protected]> --- Mesa was installed to /usr/local.
/usr/local/lib was added to /etc/ld.so.conf.d/mesa.conf.
libgbm, libEGL is being loaded from /usr/local/lib and radeonsi_dri.so is being loaded from /usr/local/lib/dri.
LLVM 7.0.1 was used to compile mesa.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #4 from Diego Viola <[email protected]> --- Created attachment 143895
--> https://bugs.freedesktop.org/attachment.cgi?id=143895&action=edit
Screenshot showing the problem
Notice the lack of the "Help" menu item.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #5 from Diego Viola <[email protected]> --- Created attachment 143896
--> https://bugs.freedesktop.org/attachment.cgi?id=143896&action=edit
Screnshot without the issue
GIMP started with LIBGL_ALWAYS_SOFTWARE=1 so it doesn't present the issue.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #6 from Diego Viola <[email protected]> --- System details:
Arch Linux (x86_64)
mesa 19.0.1-2
xorg-server 1.20.4-1
llvm7 7.0.1-1
i3-wm 4.16.1-1
xorg-server-xephyr 1.20.4-1
- I've downgraded llvm8 to llvm7 before I bisected because mesa-18.3.5 required llvm7.
- Xephyr was used when I bisected (I ran GIMP inside Xephyr -glamor :1), the issue can also be reproduced with Xorg.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #7 from Michel Dänzer <[email protected]> --- (In reply to Diego Viola from comment #0)
Quoted 2 lines
The issue goes away if I start the application with this variable:
LIBGL_ALWAYS_SOFTWARE=1.
As discussed on IRC, presumably this would have to be set for the X server process, not the application.
Can you attach an apitrace of reproducing the problem in Xephyr?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #8 from Diego Viola <[email protected]> --- Created attachment 143899
--> https://bugs.freedesktop.org/attachment.cgi?id=143899&action=edit
Xephyr.trace
To reproduce it:
$ apitrace replay Xephyr.trace -w
I used apitrace 7.1-3.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #9 from Diego Viola <[email protected]> ---
I get the same problem with GNOME 3.32 on archlinux (Wayland and GNOME Xorg).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #10 from Marek Olšák <[email protected]> ---
The bug has nothing to do with compute. The compute blit removed gfx-based blits from the gfx pipeline, which uncovered a bug in the driver.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
--- Comment #11 from Diego Viola <[email protected]> --- (In reply to Marek Olšák from comment #10)
Quoted 2 lines
The bug has nothing to do with compute. The compute blit removed gfx-based blits from the gfx pipeline, which uncovered a bug in the driver.
Hi Marek,
I tested your patches from this series:
https://patchwork.freedesktop.org/patch/300465/?series=59674&rev=1
and my issue is fixed after applying your patches, thank you. :D
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=110355
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #12 from Marek Olšák <[email protected]> --- Fixed by 440135e5a0d178c537db3f96e6823bc8220a0f3f. Closing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel