[Bisected] [Regression] Some display corruption issues on AMD Caicos (r600 driver)
This issue is similar to #4657 (closed), but seems to be caused by something different. With Gnome, using the Wayland session or the Xorg session leads to different behaviour, it seems using the Xorg session makes it worse somehow. When I install a 'broken' build (using a graphical terminal), the issues only occurs after restarting the session.
I noticed several issues:
- Only the first four letters of text in some windows are visible, the rest is blank; I noticed it first with Caja (file manager from MATE desktop environment). Gnome Terminal and Libreoffice are only affected in the Xorg session.
- Nemo (file manager from Cinnamon desktop environment) works normally in the Wayland session, but behaves like Caja above and shows black boxes/areas around directory icons (with default settings/icon view) in the Xorg session.
- The issue with the missing letters also affects the panel (and menus) of the MATE desktop environment. I didn't look for further issues with this environment.
This wasn't fixed for me by reverting acdf1a12, but by reverting 00a15215. To be sure, I did a proper bisection, and the first bad commit is really 00a15215:
commit 00a1521529ccb4f7527c6d55a471ef18d1b000d1
Author: Gert Wollny <gert.wollny@collabora.com>
Date: Sat Mar 27 19:17:07 2021 +0100
r600: Don't advertise support for scaled int16 vertex formats
They are not supported by the hardware.
Fixes:
dEQP-GLES2.functional.vertex_arrays.single_attribute.strides.buffer_0_32_short3_vec4_dynamic_draw_quads_1
dEQP-GLES2.functional.vertex_arrays.single_attribute.strides.buffer_0_32_short3_vec4_dynamic_draw_quads_256
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9877>
src/gallium/drivers/r600/r600_formats.h | 9 +++++++++
1 file changed, 9 insertions(+)
System information:
OS: Arch Linux
GPU:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos PRO [Radeon HD 7450] [1002:677b]
Kernel version: 5.11.15-arch1-2
Mesa version: 21.1.0-rc1 (self-compiled, see below)
Xserver version: 1.20.11-1
XWayland: 21.1.1-1
Mesa was compiled using meson with the following options (based on mesa-git PKGBUILD from Arch User Repository):
-D b_ndebug=true \
-D b_lto=false \
-D buildtype=plain \
--wrap-mode=nofallback \
-D prefix=/usr \
-D sysconfdir=/etc \
-D platforms=x11,wayland \
-D dri-drivers= \
-D gallium-drivers=r600,swrast \
-D vulkan-drivers= \
-D dri3=enabled \
-D egl=enabled \
-D gallium-extra-hud=false \
-D gallium-nine=false \
-D gallium-omx=disabled \
-D gallium-va=enabled \
-D gallium-vdpau=enabled \
-D gallium-xa=disabled \
-D gallium-xvmc=disabled \
-D gbm=enabled \
-D gles1=disabled \
-D gles2=enabled \
-D glvnd=true \
-D glx=dri \
-D libunwind=enabled \
-D llvm=enabled \
-D lmsensors=disabled \
-D osmesa=false \
-D shared-glapi=enabled \
-D gallium-opencl=disabled \
-D valgrind=disabled \
-D vulkan-layers= \
-D tools=[] \
-D zstd=enabled \
-D microsoft-clc=disabled
LLVM version: 11.1.0-1
libdrm version: 2.4.105-1
GCC version: 10.2.0-6
glxinfo (using Mesa 21.1.0-rc1 with 00a15215 reverted): glxinfo