Control: tag -1 - moreinfo unreproducible
>I need some hint how to reproduce this.
OK, let’s try this.
I have a cowbuilder chroot with Debian sid/amd64 in it, just upgraded
to latest sid. The following packages are installed in the chroot:
(pbuild31684-sid)root@tglase-nb:/# dpkg-query -W
adduser 3.118
apt 2.1.7
base-files 11
base-passwd 3.5.47
bash 5.0-6
binutils 2.34.90.20200706-1
binutils-common:amd64 2.34.90.20200706-1
binutils-x86-64-linux-gnu 2.34.90.20200706-1
bsdutils 1:2.35.2-7
build-essential 12.8
bzip2 1.0.8-4
coreutils 8.32-3
cowdancer 0.88
cpp 4:9.2.1-3.1
cpp-9 9.3.0-15
dash 0.5.10.2-7
debconf 1.5.74
debian-archive-keyring 2019.1
debianutils 4.11
diffutils 1:3.7-3
dirmngr 2.2.20-1
dpkg 1.20.5
dpkg-dev 1.20.5
e2fslibs:amd64 1.45.6-1
e2fsprogs 1.45.6-1
eatmydata 105-9
fakeroot 1.24-1
findutils 4.7.0-1
g++ 4:9.2.1-3.1
g++-9 9.3.0-15
gcc 4:9.2.1-3.1
gcc-10-base:amd64 10.1.0-6
gcc-9 9.3.0-15
gcc-9-base:amd64 9.3.0-15
gnupg 2.2.20-1
gnupg-l10n 2.2.20-1
gnupg-utils 2.2.20-1
gpg 2.2.20-1
gpg-agent 2.2.20-1
gpg-wks-client 2.2.20-1
gpg-wks-server 2.2.20-1
gpgconf 2.2.20-1
gpgsm 2.2.20-1
gpgv 2.2.20-1
grep 3.4-1
gzip 1.10-2
hostname 3.23
init 1.58
init-system-helpers 1.58
initscripts 2.96-3
insserv 1.21.0-1
libacl1:amd64 2.2.53-8
libapt-pkg6.0:amd64 2.1.7
libasan5:amd64 9.3.0-15
libassuan0:amd64 2.5.3-7.1
libatomic1:amd64 10.1.0-6
libattr1:amd64 1:2.4.48-5
libaudit-common 1:2.8.5-3
libaudit1:amd64 1:2.8.5-3+b1
libbinutils:amd64 2.34.90.20200706-1
libblkid1:amd64 2.35.2-7
libbz2-1.0:amd64 1.0.8-4
libc-bin 2.31-1
libc-dev-bin 2.31-1
libc6:amd64 2.31-1
libc6-dev:amd64 2.31-1
libcap-ng0:amd64 0.7.9-2.2
libcc1-0:amd64 10.1.0-6
libcom-err2:amd64 1.45.6-1
libcrypt-dev:amd64 1:4.4.16-1
libcrypt1:amd64 1:4.4.16-1
libctf-nobfd0:amd64 2.34.90.20200706-1
libctf0:amd64 2.34.90.20200706-1
libdb5.3:amd64 5.3.28+dfsg1-0.6
libdebconfclient0:amd64 0.253
libdpkg-perl 1.20.5
libeatmydata1:amd64 105-9
libext2fs2:amd64 1.45.6-1
libfakeroot:amd64 1.24-1
libffi7:amd64 3.3-4
libgcc-9-dev:amd64 9.3.0-15
libgcc-s1:amd64 10.1.0-6
libgcrypt20:amd64 1.8.6-2
libgdbm-compat4:amd64 1.18.1-5
libgdbm6:amd64 1.18.1-5
libgmp10:amd64 2:6.2.0+dfsg-6
libgnutls30:amd64 3.6.14-2+b1
libgomp1:amd64 10.1.0-6
libgpg-error0:amd64 1.38-2
libhogweed6:amd64 3.6-2
libidn2-0:amd64 2.3.0-1
libisl22:amd64 0.22.1-1
libitm1:amd64 10.1.0-6
libksba8:amd64 1.4.0-2
libldap-2.4-2:amd64 2.4.50+dfsg-1+b1
libldap-common 2.4.50+dfsg-1
liblsan0:amd64 10.1.0-6
liblz4-1:amd64 1.9.2-2
liblzma5:amd64 5.2.4-1+b1
libmount1:amd64 2.35.2-7
libmpc3:amd64 1.1.0-1
libmpfr6:amd64 4.1.0-3
libncurses6:amd64 6.2-1
libncursesw6:amd64 6.2-1
libnettle8:amd64 3.6-2
libnpth0:amd64 1.6-2
libp11-kit0:amd64 0.23.20-1
libpam-modules:amd64 1.3.1-5
libpam-modules-bin 1.3.1-5
libpam-runtime 1.3.1-5
libpam0g:amd64 1.3.1-5
libpcre2-8-0:amd64 10.34-7
libpcre3:amd64 2:8.39-13
libperl5.30:amd64 5.30.3-4
libquadmath0:amd64 10.1.0-6
libreadline8:amd64 8.0-4
libsasl2-2:amd64 2.1.27+dfsg-2
libsasl2-modules-db:amd64 2.1.27+dfsg-2
libseccomp2:amd64 2.4.3-1+b1
libselinux1:amd64 3.1-2
libsemanage-common 3.1-1
libsemanage1:amd64 3.1-1
libsepol1:amd64 3.1-1
libsmartcols1:amd64 2.35.2-7
libsqlite3-0:amd64 3.32.3-1
libss2:amd64 1.45.6-1
libstdc++-9-dev:amd64 9.3.0-15
libstdc++6:amd64 10.1.0-6
libsystemd0:amd64 245.6-3
libtasn1-6:amd64 4.16.0-2
libtinfo6:amd64 6.2-1
libtsan0:amd64 10.1.0-6
libubsan1:amd64 10.1.0-6
libudev1:amd64 245.6-3
libunistring2:amd64 0.9.10-4
libuuid1:amd64 2.35.2-7
libzstd1:amd64 1.4.5+dfsg-3
linux-libc-dev:amd64 5.7.6-1
login 1:4.8.1-1
logsave 1.45.6-1
lsb-base 11.1.0
make 4.3-4
mawk 1.3.4.20200120-2
mount 2.35.2-7
ncurses-base 6.2-1
ncurses-bin 6.2-1
passwd 1:4.8.1-1
patch 2.7.6-6
perl 5.30.3-4
perl-base 5.30.3-4
perl-modules-5.30 5.30.3-4
pinentry-curses 1.1.0-4
readline-common 8.0-4
sed 4.7-1
sensible-utils 0.0.12+nmu1
startpar 0.64-3
sysv-rc 2.96-3
sysvinit-core 2.96-3
sysvinit-utils 2.96-3
tar 1.30+dfsg-7
tzdata 2020a-1
util-linux 2.35.2-7
xz-utils 5.2.4-1+b1
zlib1g:amd64 1:1.2.11.dfsg-2
I’m installing the necessary packages:
(pbuild31684-sid)root@tglase-nb:/# apt-get install --no-install-recommends
qemu-system-x86 qemu-system-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
adwaita-icon-theme dbus dbus-user-session dconf-gsettings-backend
dconf-service dmsetup fontconfig
fontconfig-config fonts-dejavu-core glib-networking glib-networking-common
glib-networking-services
gsettings-desktop-schemas gtk-update-icon-cache hicolor-icon-theme ipxe-qemu
iso-codes libaio1 libapparmor1
libargon2-1 libasound2 libasound2-data libasyncns0 libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data
libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3
libbrlapi0.7 libbrotli1 libbsd0
libcacard0 libcairo-gobject2 libcairo2 libcap2 libcap2-bin libcapstone3
libcolord2 libcryptsetup12 libcups2
libdatrie1 libdaxctl1 libdbus-1-3 libdconf1 libdevmapper1.02.1 libdrm-common
libdrm2 libepoxy0 libexpat1
libfdt1 libflac8 libfontconfig1 libfreetype6 libfribidi0 libgbm1
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
libglib2.0-0 libgraphite2-3 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0
libgstreamer1.0-0 libgtk-3-0
libgtk-3-common libharfbuzz0b libibverbs1 libicu67 libip4tc2 libjbig0
libjpeg62-turbo libjson-c4
libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkeyutils1 libkmod2
libkrb5-3 libkrb5support0
liblcms2-2 libndctl6 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libnuma1
libogg0 libopus0 liborc-0.4-0
libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
libpcsclite1 libpixman-1-0 libpmem1
libpng16-16 libproxy1v5 libpsl5 libpulse0 librdmacm1 librest-0.7-0 libslirp0
libsndfile1 libsoup-gnome2.4-1
libsoup2.4-1 libspice-server1 libssl1.1 libthai-data libthai0 libtiff5
liburing1 libusb-1.0-0
libusbredirparser1 libvdeplug2 libvirglrenderer1 libvorbis0a libvorbisenc2
libvte-2.91-0 libvte-2.91-common
libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0
libwebp6 libwrap0 libx11-6
libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxcomposite1
libxcursor1 libxdamage1 libxdmcp6
libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1
libxengnttab1 libxenmisc4.11 libxenstore3.0
libxentoolcore1 libxentoollog1 libxext6 libxfixes3 libxi6 libxinerama1
libxkbcommon0 libxml2 libxrandr2
libxrender1 libyajl2 qemu-system-common qemu-system-data seabios
shared-mime-info systemd systemd-sysv
systemd-timesyncd ucf xkb-data
Suggested packages:
isoquery libasound2-plugins alsa-utils colord cups-common krb5-doc krb5-user
libvisual-0.4-plugins
gstreamer1.0-tools gvfs librsvg2-common liblcms2-utils opus-tools pcscd
pulseaudio gstreamer1.0-plugins-ugly
samba vde2 qemu-block-extra systemd-container policykit-1
Recommended packages:
librsvg2-common alsa-ucm-conf alsa-topology-conf at-spi2-core libpam-cap
libgdk-pixbuf2.0-bin libglib2.0-data
xdg-user-dirs gstreamer1.0-plugins-base libgtk-3-bin ibverbs-providers
krb5-locales publicsuffix
gstreamer1.0-libav gstreamer1.0-plugins-good qemu-utils ovmf libnss-systemd
The following packages will be REMOVED:
sysvinit-core
The following NEW packages will be installed:
adwaita-icon-theme dbus dbus-user-session dconf-gsettings-backend
dconf-service dmsetup fontconfig
fontconfig-config fonts-dejavu-core glib-networking glib-networking-common
glib-networking-services
gsettings-desktop-schemas gtk-update-icon-cache hicolor-icon-theme ipxe-qemu
iso-codes libaio1 libapparmor1
libargon2-1 libasound2 libasound2-data libasyncns0 libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data
libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3
libbrlapi0.7 libbrotli1 libbsd0
libcacard0 libcairo-gobject2 libcairo2 libcap2 libcap2-bin libcapstone3
libcolord2 libcryptsetup12 libcups2
libdatrie1 libdaxctl1 libdbus-1-3 libdconf1 libdevmapper1.02.1 libdrm-common
libdrm2 libepoxy0 libexpat1
libfdt1 libflac8 libfontconfig1 libfreetype6 libfribidi0 libgbm1
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
libglib2.0-0 libgraphite2-3 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0
libgstreamer1.0-0 libgtk-3-0
libgtk-3-common libharfbuzz0b libibverbs1 libicu67 libip4tc2 libjbig0
libjpeg62-turbo libjson-c4
libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkeyutils1 libkmod2
libkrb5-3 libkrb5support0
liblcms2-2 libndctl6 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libnuma1
libogg0 libopus0 liborc-0.4-0
libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
libpcsclite1 libpixman-1-0 libpmem1
libpng16-16 libproxy1v5 libpsl5 libpulse0 librdmacm1 librest-0.7-0 libslirp0
libsndfile1 libsoup-gnome2.4-1
libsoup2.4-1 libspice-server1 libssl1.1 libthai-data libthai0 libtiff5
liburing1 libusb-1.0-0
libusbredirparser1 libvdeplug2 libvirglrenderer1 libvorbis0a libvorbisenc2
libvte-2.91-0 libvte-2.91-common
libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0
libwebp6 libwrap0 libx11-6
libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxcomposite1
libxcursor1 libxdamage1 libxdmcp6
libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1
libxengnttab1 libxenmisc4.11 libxenstore3.0
libxentoolcore1 libxentoollog1 libxext6 libxfixes3 libxi6 libxinerama1
libxkbcommon0 libxml2 libxrandr2
libxrender1 libyajl2 qemu-system-common qemu-system-data qemu-system-gui
qemu-system-x86 seabios
shared-mime-info systemd systemd-sysv systemd-timesyncd ucf xkb-data
0 upgraded, 166 newly installed, 1 to remove and 0 not upgraded.
Need to get 51.6 MB/75.3 MB of archives.
After this operation, 281 MB of additional disk space will be used.
(I even know why this wants to remove sysvinit-core, it’s
dconf-gsettings-backend;
if I pre-installed gconf-gsettings-backend it wouldn’t do that, but let’s not
care about that, it shouldn’t influence this.)
Then I run this outside of the chroot to temporarily allow X11:
tglase@tglase-nb:~ $ sudo mount --bind /tmp
/var/cache/pbuilder/build/cow.31670/tmp
tglase@tglase-nb:~ $ cp $XAUTHORITY /var/cache/pbuilder/build/cow.31670/tmp/
Then I can do this:
(pbuild31684-sid)root@tglase-nb:/# XAUTHORITY=/tmp/.Xauthority DISPLAY=:0
qemu-system-i386
Then I go to View → compatmonitor0… and see text õÕ
Good, we know it’s something in the configuration.
I’ve tried copying my .config/fontconfig/fonts.conf and
~/.local/share/fonts/ over and did this:
(pbuild31684-sid)root@tglase-nb:~# cd /etc/fonts/conf.d
(pbuild31684-sid)root@tglase-nb:/etc/fonts/conf.d# rm 70-no-bitmaps.conf
(pbuild31684-sid)root@tglase-nb:/etc/fonts/conf.d# ln -s
/usr/share/fontconfig/conf.avail/70-force-bitmaps.conf
.(pbuild31684-sid)root@tglase-nb:/etc/fonts/conf.d# ln -s
/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf .
(pbuild31684-sid)root@tglase-nb:/etc/fonts/conf.d# rm 10-scale-bitmap-fonts.conf
(pbuild31684-sid)root@tglase-nb:/etc/fonts/conf.d# ln -s
/usr/share/fontconfig/conf.avail/10-autohint.conf .
(pbuild31684-sid)root@tglase-nb:/etc/fonts/conf.d# ln -s
/usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf .
Still no success.
Then, on a hunch, I did this *outside* the chroot:
tglase@tglase-nb:~ $ env -i PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY
qemu-system-i386
And, shockingly, text!
Quick check:
tglase@tglase-nb:~ $ qemu-system-i386
… still broken. Huh, so… environment variables…
… no, after trying them all, that wasn’t it. HOME?
tglase@:~ $ HOME=/ qemu-system-i386
… yes, HOME. So, something in my home…
(ages of debugging later) so it _is_ my .config/fontconfig/fonts.conf file.
After installing xfonts-base in the chroot and putting the
following into the chroot’s fonts.conf file…
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Fixed</family>
</prefer>
</alias>
</fontconfig>
… I can reproduce this in the chroot. It seems like the window
has problems matching characters to glyphs with a BDF/PCF font
(although the squares’ content IS rendered in the BDF/PCF font).
Remember this is with the above conf.d changes still intact, as
otherwise it would not have used the bitmap font.
bye,
//mirabilos
--
15:39⎜«mika:#grml» mira|AO: "mit XFree86® wär’ das nicht passiert" - muhaha
15:48⎜<thkoehler:#grml> also warum machen die xorg Jungs eigentlich alles
kaputt? :) 15:49⎜<novoid:#grml> thkoehler: weil sie als Kinder nie den
gebauten Turm selber umschmeissen durften? -- ~/.Xmodmap wonders…