Mailing List Archive

GTK Graphical Problems
Hi,

At the weekend I updated my system and after reboot some of my apps
have lots of black black squares/rectangles all over the place, covering
all of the app window and making email difficult to write.

Initially I thought this was a Wayland problem as using Wayfire but
switched to X11 desktop and still had same issue.

Trying all my apps this looks to be a GTK related issues as happening
with claws-mail (worst), gkrellm, gcolor2, Bluefish etc. QT/EFL apps
seem to be fine (qtfm, keepass). Firefox-bin works just fine, oddly.

Anyone else seen this. I see a thread talking about GTK slots but not
sure if this is related.

I've rebuilt all gtk related packages which has not helped.

John
Re: GTK Graphical Problems [ In reply to ]
On Wed, 2 Jun 2021 11:14:40 +0100
jdm <jdm@jdm.myzen.co.uk> wrote:

> Hi,
>
> At the weekend I updated my system and after reboot some of my apps
> have lots of black black squares/rectangles all over the place,
> covering all of the app window and making email difficult to write.
>
> Initially I thought this was a Wayland problem as using Wayfire but
> switched to X11 desktop and still had same issue.
>
> Trying all my apps this looks to be a GTK related issues as happening
> with claws-mail (worst), gkrellm, gcolor2, Bluefish etc. QT/EFL apps
> seem to be fine (qtfm, keepass). Firefox-bin works just fine, oddly.
>
> Anyone else seen this. I see a thread talking about GTK slots but not
> sure if this is related.
>
> I've rebuilt all gtk related packages which has not helped.
>
> John
>

Noticed a minor oddity with sddm where text not rendering correctly so
decided not a gtk problem but strange that qt apps where hardly
affected.

Updated mesa to latest version (currently masked) and issue
has gone away.

John
Re: GTK Graphical Problems [ In reply to ]
On Thu, Jun 03, 2021 at 10:01:43AM +0100, jdm wrote:
> On Wed, 2 Jun 2021 11:14:40 +0100
> jdm <jdm@jdm.myzen.co.uk> wrote:
>
> > Hi,
> >
> > At the weekend I updated my system and after reboot some of my apps
> > have lots of black black squares/rectangles all over the place,
> > covering all of the app window and making email difficult to write.
> >
> > Initially I thought this was a Wayland problem as using Wayfire but
> > switched to X11 desktop and still had same issue.
> >
> > Trying all my apps this looks to be a GTK related issues as happening
> > with claws-mail (worst), gkrellm, gcolor2, Bluefish etc. QT/EFL apps
> > seem to be fine (qtfm, keepass). Firefox-bin works just fine, oddly.
> >
> > Anyone else seen this. I see a thread talking about GTK slots but not
> > sure if this is related.
> >
> > I've rebuilt all gtk related packages which has not helped.
> >
> > John
> >
>
> Noticed a minor oddity with sddm where text not rendering correctly so
> decided not a gtk problem but strange that qt apps where hardly
> affected.
>
> Updated mesa to latest version (currently masked) and issue
> has gone away.
>
> John
>

What version of mesa was causing the problem, what version did you
upgrade to, and what are your useflags? I've been having similar issues,
but I'm on the current (21.1.1) version of mesa.

Did you upgrade drivers anywhere?
Re: GTK Graphical Problems [ In reply to ]
On Thu, 3 Jun 2021 22:03:21 +0000
zcml@posteo.us wrote:

> On Thu, Jun 03, 2021 at 10:01:43AM +0100, jdm wrote:
> > On Wed, 2 Jun 2021 11:14:40 +0100
> > jdm <jdm@jdm.myzen.co.uk> wrote:
> >
> > > Hi,
> > >
> > > At the weekend I updated my system and after reboot some of my
> > > apps have lots of black black squares/rectangles all over the
> > > place, covering all of the app window and making email difficult
> > > to write.
> > >
> > > Initially I thought this was a Wayland problem as using Wayfire
> > > but switched to X11 desktop and still had same issue.
> > >
> > > Trying all my apps this looks to be a GTK related issues as
> > > happening with claws-mail (worst), gkrellm, gcolor2, Bluefish
> > > etc. QT/EFL apps seem to be fine (qtfm, keepass). Firefox-bin
> > > works just fine, oddly.
> > >
> > > Anyone else seen this. I see a thread talking about GTK slots but
> > > not sure if this is related.
> > >
> > > I've rebuilt all gtk related packages which has not helped.
> > >
> > > John
> > >
> >
> > Noticed a minor oddity with sddm where text not rendering correctly
> > so decided not a gtk problem but strange that qt apps where hardly
> > affected.
> >
> > Updated mesa to latest version (currently masked) and issue
> > has gone away.
> >
> > John
> >
>
> What version of mesa was causing the problem, what version did you
> upgrade to, and what are your useflags? I've been having similar
> issues, but I'm on the current (21.1.1) version of mesa.
>
> Did you upgrade drivers anywhere?
>

I was using media-libs/mesa-20.3.5 and upgraded to 21.1.2 (which
stopped issue)

I did not upgrade any drivers previously but have now upgraded libdrm
2.4.105 to 2.4.106 but this did not help.

Was using stable kernel 5.10.27 but upgraded to 5.11.22 but this did
not resolve issue.

Currently using a Radeon 5600 XT graphics card with latest
linux-firmware-20210518 but was using this before problem.

in make.conf I have following use flags
USE="X egl dbus udev alsa opengl symlink lock bash-completion ffmpeg
pulseaudio mtp virgl elogind wayland -cups -gnome -bluetooth -systemd
-networkmanager"

in package.accept_keywords
gui-wm/wayfire ~amd64
gui-libs/gtk-layer-shell ~amd64
gui-libs/wf-config ~amd64
gui-apps/wf-shell ~amd64
gui-apps/wcm ~amd64
gui-apps/wf-recorder ~amd64
x11-terms/alacritty ~amd64
gui-apps/wayland-logout ~amd64
gui-libs/wayfire-plugins-extra ~amd64
x11-themes/kvantum ~amd64

x11-libs/libdrm ~amd64
media-libs/mesa ~amd64

# kernel
sys-kernel/gentoo-sources ~amd64

After upgrading kernel I was too lazy to switch back to stable version


emerge --info
Portage 3.0.18 (python 3.9.4-final-0, default/linux/amd64/17.1/desktop,
gcc-10.3.0, glibc-2.33, 5.11.22-gentoo x86_64)
=================================================================
System uname:
Linux-5.11.22-gentoo-x86_64-AMD_Ryzen_7_5800X_8-Core_Processor-with-glibc2.33
KiB Mem: 16403904 total, 13208816 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of repository gentoo: Thu, 03 Jun 2021 12:00:01 +0000
Head commit of repository gentoo:
d3b754271c5044865980daa94fcc0046c21d7ce8
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash: 5.1_p8::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.32.1::gentoo
dev-lang/python: 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/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.23::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-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24

crossdev
location: /var/db/repos/portage-crossdev
masters: gentoo
priority: 10

wayland-desktop
location: /var/lib/layman/wayland-desktop
sync-type: laymansync
sync-uri: https://github.com/bsd-ac/wayland-desktop.git
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
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="ftp://mirror.bytemark.co.uk/gentoo/
https://mirror.bytemark.co.uk/gentoo/
http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirrors.evowise.com/gentoo/ https://mirrors.evowise.com/gentoo/ https://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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="/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding
bzip2 cairo cdda cdr cli crypt dbus dri dts dvd dvdr egl elogind emboss
encode exif ffmpeg flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc lock mad mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg symlink tcpd tiff truetype udev udisks unicode upower usb virgl vorbis wayland 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="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" QEMU_USER_TARGETS="x86_64 arm" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

John


?