Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mesa-21.0.3 causes graphics artifacts - AMD Navi 10
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
csteeves
n00b
n00b


Joined: 20 Aug 2007
Posts: 61

PostPosted: Tue Jun 08, 2021 4:39 pm    Post subject: [SOLVED] mesa-21.0.3 causes graphics artifacts - AMD Navi 10 Reply with quote

Following an upgrade to Gnome 40, most of the windows on my desktop are experiencing significant graphic damage. This consists of small squares or rectangles of misplaced graphics, transparency or erroneous color. If I scroll the window the graphics damage tends to accumulate, making most of the window unreadable. If I resize the window and it gets redrawn, it generally is repaired. Screenshots appear correct, otherwise I would show some examples of this. [EDIT 2: Here is a photo I took of the screen: https://www.dropbox.com/s/d8ak7i93yvp5b9c/IMG_0475.JPG?dl=0] This continues through shutdown / power up. My configuration worked fine before this Gnome upgrade, and nothing else has changed. I use X11 as the window system.

lspci of my graphics card is:
Code:
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev ca) (prog-if 00 [VGA controller])

The kernel driver is amdgpu with the appropriate firmware compiled into the kernel.

My emerge --info is:
Code:
Portage 3.0.18 (python 3.9.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.3.0, glibc-2.33, 5.10.27-gentoo x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-AMD_Ryzen_5_3600X_6-Core_Processor-with-glibc2.33
KiB Mem:    16397728 total,  10095508 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Tue, 08 Jun 2021 11:30:01 +0000
Head commit of repository gentoo: 86e3002cf860802ab365985cbd3738699ecd012c
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 aspell berkdb branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds emboss encode evo exif ffmpeg flac fortran gdbm gif gimp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu imagemagick introspection ipv6 jpeg lapack latex lcms libglvnd libnotify libsecret libtirpc mad matroska mng mp3 mp4 mpeg mplayer multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio python qt5 raw readline sdl seccomp sound spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff tracker truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en_CA en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


eix of gnome-base/gnome is:
Code:
[I] gnome-base/gnome
     Available versions:  (2.0) 40.0
       {accessibility +bluetooth +classic cups +extras}
     Installed versions:  40.0(2.0)(05:38:12 PM 2021-06-03)(classic cups extras -accessibility -bluetooth)
     Homepage:            https://www.gnome.org/
     Description:         Meta package for GNOME 3, merge this package to install

Everything Gnome-related is from the stable tree.

I cannot find anything obvious in dmesg. In journalctl there are several error sets like this:
Code:
Jun 08 09:02:55 dalmore org.gnome.Shell.desktop[20711]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3400014 specified for 0x34000d0.
Jun 08 09:02:55 dalmore gnome-shell[20711]: Can't update stage views actor MetaWindowGroup is on because it needs an allocation.
Jun 08 09:02:55 dalmore gnome-shell[20711]: Can't update stage views actor MetaWindowActorX11 is on because it needs an allocation.
Jun 08 09:02:55 dalmore gnome-shell[20711]: Can't update stage views actor MetaSurfaceActorX11 is on because it needs an allocation.

but not nearly enough to accompany every instance of graphics breakage (which is constant and inevitable). Mozilla Firefox, however, works without graphics damage, if this offers any clues. [EDIT 1: I can make Firefox experience the same graphics breakage by zooming in and out of Google Maps.]

I am blaming this on the Gnome 40 upgrade, but there may be an alternate explanation, as there were other upgrades processed in that emerge @world. I have tried to emerge @world every day for the last week or so, hoping that there would be a fix in the stable tree, but to no avail. There don't seem to be others reporting this either, so it must be something peculiar to my setup. If you have any suggestions, I would greatly appreciate them. If there is any additional information that would provide more insight, I will get it.

Craig


Last edited by csteeves on Thu Jun 17, 2021 2:06 am; edited 1 time in total
Back to top
View user's profile Send private message
csteeves
n00b
n00b


Joined: 20 Aug 2007
Posts: 61

PostPosted: Thu Jun 17, 2021 2:04 am    Post subject: Reply with quote

An upgrade from the stable mesa-21.0.3 to unstable 21.1.2 solved this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum