I can emerge =games-action/supertuxkart-1.3 successfully, but can't start it: [verbose ] main: Error messages and other text output will be logged to /home/user/.config/supertuxkart/config-0.10/stdout.log. [info ] [FileManager]: Data files will be fetched from: '/usr/share/supertuxkart/data/' [info ] [FileManager]: User directory is '/home/user/.config/supertuxkart/config-0.10/'. [info ] [FileManager]: Addons files will be stored in '/home/user/.local/share/supertuxkart/addons/'. [info ] [FileManager]: Screenshots will be stored in '/home/user/.local/share/supertuxkart/screenshots/'. [info ] [FileManager]: User-defined grand prix will be stored in '/home/user/.local/share/supertuxkart/grandprix/'. [info ] [FileManager]: Asset 0 will be loaded from '/usr/share/supertuxkart/data/challenges/'. [info ] [FileManager]: Asset 1 will be loaded from '/usr/share/supertuxkart/data/gfx/'. [info ] [FileManager]: Asset 2 will be loaded from '/usr/share/supertuxkart/data/grandprix/'. [info ] [FileManager]: Asset 3 will be loaded from '/usr/share/supertuxkart/data/gui/icons/'. [info ] [FileManager]: Asset 4 will be loaded from '/usr/share/supertuxkart/data/gui/screens/'. [info ] [FileManager]: Asset 5 will be loaded from '/usr/share/supertuxkart/data/gui/dialogs/'. [info ] [FileManager]: Asset 6 will be loaded from '/usr/share/supertuxkart/data/replay/'. [info ] [FileManager]: Asset 7 will be loaded from '/usr/share/supertuxkart/data/shaders/'. [info ] [FileManager]: Asset 8 will be loaded from '/usr/share/supertuxkart/data/skins/'. [info ] [FileManager]: Asset 9 will be loaded from '/usr/share/supertuxkart/data/ttf/'. [info ] [FileManager]: Asset 10 will be loaded from '/usr/share/supertuxkart/data/po/'. [info ] [FileManager]: Asset 11 will be loaded from '/usr/share/supertuxkart/data/library/'. [info ] [FileManager]: Asset 12 will be loaded from '/usr/share/supertuxkart/data/models/'. [info ] [FileManager]: Asset 13 will be loaded from '/usr/share/supertuxkart/data/music/'. [info ] [FileManager]: Asset 14 will be loaded from '/usr/share/supertuxkart/data/sfx/'. [info ] [FileManager]: Asset 15 will be loaded from '/usr/share/supertuxkart/data/textures/'. [info ] [FileManager]: Asset 16 will be loaded from '/usr/share/supertuxkart/data/tracks/'. [verbose ] translation: Env var LANGUAGE = 'en_US.utf8'. [verbose ] translation: Language 'English (United States)'. ..:: Antarctica Rendering Engine 2.0 ::.. [info ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::.. [info ] [IrrDriver Logger]: Could not initialize display! [info ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::.. [info ] [IrrDriver Logger]: Could not initialize display! [info ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::.. [info ] [IrrDriver Logger]: Could not initialize display! [info ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::.. [info ] [IrrDriver Logger]: Could not initialize display! [fatal ] irr_driver: Couldn't initialise irrlicht device. Quitting. I use integrated Intel Graphics with i915 driver and X11.
That is not nearly enough information. Please include "emerge --info" and state exactly what model your CPU is. i915 covers a huge range, some of which is very old and may struggle to run SuperTuxKart. It has fairly advanced graphics these days, although I gather there's still a fallback renderer.
(In reply to James Le Cuirot from comment #1) > That is not nearly enough information. Please include "emerge --info" and > state exactly what model your CPU is. i915 covers a huge range, some of > which is very old and may struggle to run SuperTuxKart. It has fairly > advanced graphics these days, although I gather there's still a fallback > renderer. My CPU: Intel Core i7-10610U Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-11.2.1, glibc-2.34-r10, 5.18.0-rc1-x86_64-EXPERIMENTAL x86_64) ================================================================= System uname: Linux-5.18.0-rc1-x86_64-EXPERIMENTAL-x86_64-Intel-R-_Core-TM-_i7-10610U_CPU_@_1.80GHz-with-glibc2.34 KiB Mem: 15996704 total, 7422720 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 09 Apr 2022 12:00:01 +0000 Head commit of repository gentoo: 035fe04cb6f6f041330ab7561bdd1dc7687343de Head commit of repository librewolf: 8c6938835d55a12f754408109bfca9f71cf0bd6c sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 2.7.18_p14::gentoo, 3.8.13::gentoo, 3.9.9-r1::gentoo dev-lang/rust: 1.58.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sec-policy/selinux-base: 2.20220106-r1::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 9.4.0::gentoo, 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r10::gentoo sys-libs/libselinux: 3.3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: librewolf location: /var/db/repos/librewolf sync-type: git sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git masters: gentoo crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 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/easy-rsa /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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="" 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" SHELL="/bin/bash" USE="X acl amd64 apache audit bluetooth bzip2 caps crypt cups curl dbus elogind ffmpeg hardened iconv ipv6 libglvnd libinput libtirpc lm-sensors multilib ncurses networkmanager nls nptl openmp pam pcre pie pulseaudio readline seccomp selinux smartcard split-usr ssl ssp synaptics threads unicode wifi xattr xinerama xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" QEMU_SOFTMMU_TARGETS="x86_64 arm riscv32 riscv64 avr nios2 i386 mips mips64 aarch64 mips64el avr" QEMU_USER_TARGETS="x86_64 arm riscv32 riscv64 nios2 i386 mips mips64 aarch64 mips64el" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="pixma genesys" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Okay, so not old then. Nothing obvious there. I'd like to know what desktop you're using and what your libsdl2 USE flags are. Do other games work? I note you're on a hardened profile with SELinux. Probably not the issue, but that can cause all sorts of fun.
(In reply to James Le Cuirot from comment #3) > Okay, so not old then. Nothing obvious there. I'd like to know what desktop > you're using and what your libsdl2 USE flags are. Do other games work? I > note you're on a hardened profile with SELinux. Probably not the issue, but > that can cause all sorts of fun. Okay, thank you for having a look at it. I use dwm. emerge -pv libsdl2 gives media-libs/libsdl2-2.0.20-r1::gentoo USE="X dbus joystick pulseaudio sound threads video xinerama -alsa (-aqua) (-custom-cflags) -doc -fcitx4 -gles1 -gles2 -haptic -ibus -jack -kms -libsamplerate -nas -opengl -oss -pipewire -sndio -static-libs -udev -vulkan -wayland -xscreensaver" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx sse sse2 -3dnow" VIDEO_CARDS="(-vc4)" 0 KiB I don't have any other games installed currently. SELinux is in permissive mode, so I hope (?) it should not interfere.
(In reply to lolock from comment #4) > media-libs/libsdl2-2.0.20-r1::gentoo USE="X dbus joystick pulseaudio sound > threads video xinerama -alsa (-aqua) (-custom-cflags) -doc -fcitx4 -gles1 > -gles2 -haptic -ibus -jack -kms -libsamplerate -nas -opengl -oss -pipewire > -sndio -static-libs -udev -vulkan -wayland -xscreensaver" ABI_X86="(64) -32 > (-x32)" CPU_FLAGS_X86="mmx sse sse2 -3dnow" VIDEO_CARDS="(-vc4)" 0 KiB Try to enable USE=opengl on libsdl2 (globally wouldn't hurt too, it's default on desktop profiles). Probably missing dependency, seems to fail for me with same error if I disable it.
(In reply to Ionen Wolkens from comment #5) > (In reply to lolock from comment #4) > > media-libs/libsdl2-2.0.20-r1::gentoo USE="X dbus joystick pulseaudio sound > > threads video xinerama -alsa (-aqua) (-custom-cflags) -doc -fcitx4 -gles1 > > -gles2 -haptic -ibus -jack -kms -libsamplerate -nas -opengl -oss -pipewire > > -sndio -static-libs -udev -vulkan -wayland -xscreensaver" ABI_X86="(64) -32 > > (-x32)" CPU_FLAGS_X86="mmx sse sse2 -3dnow" VIDEO_CARDS="(-vc4)" 0 KiB > Try to enable USE=opengl on libsdl2 (globally wouldn't hurt too, it's > default on desktop profiles). > > Probably missing dependency, seems to fail for me with same error if I > disable it. Thank you, that fixed it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7961a36c766ea4efa34e742fb5aea6b6c7b31d35 commit 7961a36c766ea4efa34e742fb5aea6b6c7b31d35 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2022-04-10 10:57:59 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2022-04-10 10:57:59 +0000 games-action/supertuxkart: Depend on libsdl2[opengl,video] USE flags Closes: https://bugs.gentoo.org/837185 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-action/supertuxkart/supertuxkart-1.2.ebuild | 2 +- games-action/supertuxkart/supertuxkart-1.3.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)