Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699904 - media-tv/kodi-18.4 with media-libs/mesa-19.3.0_rc2 - freezes at black screen
Summary: media-tv/kodi-18.4 with media-libs/mesa-19.3.0_rc2 - freezes at black screen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-12 00:52 UTC by Kenneth Miller
Modified: 2021-01-04 20:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kodi.log (kodi.log,57.82 KB, text/plain)
2019-11-12 00:54 UTC, Kenneth Miller
Details
Here is the Xorg log (Xorg.19.3.0_rc3.log,24.12 KB, text/x-log)
2019-11-22 02:46 UTC, Kenneth Miller
Details
As stated, there are two systems with the same results, this is the other Xorg log (rXorg.19.3.0_rc3.log,63.57 KB, text/x-log)
2019-11-22 02:47 UTC, Kenneth Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Miller 2019-11-12 00:52:55 UTC
kodi-18.4 freezes at black screen with mesa-19.3.0_rc2. Downgrade mesa to mesa-19.2.3 allows kodi to finction properly. This occurres on two different systems.

Reproducible: Always




emerge info 
Portage 2.3.79 (python 3.7.5-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.30-r2, 5.3.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.3.8-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.6
KiB Mem:     3066532 total,    518688 free
KiB Swap:    3145724 total,   3013668 free
Timestamp of repository gentoo: Mon, 11 Nov 2019 02:30:01 +0000
Head commit of repository gentoo: 0b332dbd6e674d71bb188312d2513036bac7e335
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.15.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r2::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
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="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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 acl amd64 berkdb bindist bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libressl libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr 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 sse3 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-libs/mesa-19.3.0_rc2::gentoo was built with the following:
USE="X classic dri3 egl gallium gbm gles1 gles2 llvm vdpau wayland xa xvmc -d3d9 -debug (-libglvnd) -lm-sensors -opencl -osmesa -pax_kernel (-selinux) -test -unwind -vaapi -valgrind -vulkan -vulkan-overlay" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="i965 intel nouveau radeon radeonsi (-freedreno) -i915 -iris (-lima) (-panfrost) -r100 -r200 -r300 -r600 (-vc4) -virgl (-vivante) -vmware"
FEATURES="binpkg-logs network-sandbox sfperms unknown-features-warn strict parallel-fetch config-protect-if-modified ebuild-locks assume-digests pid-sandbox userfetch distlocks unmerge-orphans binpkg-docompress usersandbox userpriv merge-sync unmerge-logs fixlafiles ipc-sandbox usersync binpkg-dostrip sandbox multilib-strict xattr preserve-libs news"
Comment 1 Kenneth Miller 2019-11-12 00:54:26 UTC
Created attachment 595828 [details]
kodi.log
Comment 2 Alexander Tsoy 2019-11-21 10:56:31 UTC
(In reply to Ken Miller from comment #1)
> Created attachment 595828 [details]
> kodi.log

For some reason it is using llvmpipe:

2019-11-11 16:40:43.470 T:139905333348480  NOTICE: VDPAU::CreateContext - creating decoder context
2019-11-11 16:40:43.512 T:139905333348480  NOTICE: vdp_device = 0x0e760130 vdp_st = 0x1
2019-11-11 16:40:43.512 T:139905333348480   ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1.  Falling back.
2019-11-11 16:40:43.515 T:139905333348480  NOTICE: GL_VENDOR = VMware, Inc.
2019-11-11 16:40:43.515 T:139905333348480  NOTICE: GL_RENDERER = llvmpipe (LLVM 9.0.0, 128 bits)

Please attach Xorg log.
Comment 3 Kenneth Miller 2019-11-22 02:46:41 UTC
Created attachment 597116 [details]
Here is the Xorg log
Comment 4 Kenneth Miller 2019-11-22 02:47:56 UTC
Created attachment 597118 [details]
As stated, there are two systems with the same results, this is the other Xorg log
Comment 5 Adam Carter 2019-12-09 03:01:13 UTC
Sorry if this is not relevant to this bug (no black screen or freeze, just instant failure for me) but kodi with mesa 19.3.0_rc6, and earlier rcs, causes this issue for me on multiple systems;

$ kodi
/usr/lib64/kodi/kodi-x11: symbol lookup error: /usr/lib64/kodi/kodi-x11: undefined symbol: _ZN3fmt2v68internal14sprintf_formatIeEEPcT_RNS1_6bufferIcEENS1_13sprintf_specsE
Comment 6 Adam Carter 2019-12-12 08:54:36 UTC
My issue was cured by masking libfmt back to 6.0.0. Sorry for the noise.
Comment 7 Craig Andrews gentoo-dev 2019-12-12 13:16:57 UTC
(In reply to Adam Carter from comment #5)
> Sorry if this is not relevant to this bug (no black screen or freeze, just
> instant failure for me) but kodi with mesa 19.3.0_rc6, and earlier rcs,
> causes this issue for me on multiple systems;
> 
> $ kodi
> /usr/lib64/kodi/kodi-x11: symbol lookup error: /usr/lib64/kodi/kodi-x11:
> undefined symbol:
> _ZN3fmt2v68internal14sprintf_formatIeEEPcT_RNS1_6bufferIcEENS1_13sprintf_spec
> sE

Either re-emerge Kodi 18.4 (I've updated the ebuild to be compatible with libfmt>=6.1.0, see bug 702104) or upgrade to limfmt 6.1.2 (which fixes backwards binary compatibility eliminating the need to recompile Kodi) to fix this issue.