Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933376 - kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125! in gentoo-sources 6.9.x and crashing of Wayland display
Summary: kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125! in ge...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://gitlab.freedesktop.org/drm/am...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-01 18:12 UTC by MrSnivvel
Modified: 2024-06-30 19:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MrSnivvel 2024-06-01 18:12:14 UTC
First off, this problem can be successfully triggered 100% of the time and the summary I'm using seems to be the first notice of the problem that I track down in dmesg and journalctl.

The problem is triggered in a specific spot in the game "Outer Worlds: Spacer's Edition" on Steam, that I have running in gamescope-3.14.18 (built using a copy of the 9999 ebuild and set to that commit tag) because I'm running Hyprland-0.40.0-r1, and have the optional flag of using MangoHud-0.7.1-r5 to get systems stats.  The game is using "Proton Experimental" to be ran in, so whatever version Steam has released for it.

In the game, I can trigger this trying to complete the quest "Fistful of Digits" where I have to speak to the constable about turning in the 3 fingers.  As soon as I press "E" to talk to her, *poof*, game locks up for seconds while everything is crashing, and I'm finally dropped to the TTY2 (I have it set to start Hyprland when I login on that TTY) login prompt.



Reproducible: Always

Steps to Reproduce:
1.  Run "Outer Worlds: Spacer's Edition" from Steam with Proton Experimental in gamescope with 'gamescope -W 1920 -H 1080 --mangoapp -b -f -- %command%' as the launch options.
2.  Play the quest "Fistful of Digits"
3.  Try to complete the quest by speaking with the constable for the reward.



Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r7, 6.9.3-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.9.3-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_PRO_3955WX_16-Cores-with-glibc2.39
KiB Mem:   395869600 total, 327573888 free
KiB Swap:   67108860 total,  66997456 free
Timestamp of repository gentoo: Sat, 01 Jun 2024 16:03:53 +0000
Head commit of repository gentoo: b89283e7e824e5c26838f38816b7a3ad235fb942

Timestamp of repository gamerlay: Mon, 20 May 2024 17:23:21 +0000
Head commit of repository gamerlay: eaf392cda8d8f6e20bd701d109167034159b468f

Head commit of repository gentoo-gpu: c45a514e92cb0bc279acec9eba10b2b98e8a1e88

Timestamp of repository gitlab: Mon, 27 May 2024 16:33:54 +0000
Head commit of repository gitlab: f29bba8e7434cb971524e1dbbe363b011ef54afe

Timestamp of repository guru: Fri, 31 May 2024 15:18:48 +0000
Head commit of repository guru: 1996569124791d0f391d60f140545afde3ef3840

Timestamp of repository inode64-overlay: Fri, 31 May 2024 15:03:54 +0000
Head commit of repository inode64-overlay: 6af530e9e6cad784fcf46b8194c9092914fbd310

Head commit of repository rocm-bleeding-edge: 7a7f6131f0d0659a9a5bdc21a1559189fc8a4410

Timestamp of repository sage-on-gentoo: Wed, 22 May 2024 01:48:40 +0000
Head commit of repository sage-on-gentoo: 38a6f437b440d1891b0fe61e4df429eb77777bba

Head commit of repository science: 2138bf2ba0bb67a5ab778846e2a1049ced637832

Head commit of repository torbrowser: 4aa88db890e5bf82d3ce0bc46444c7bbeec9dbea

Head commit of repository nitratesky: 78a81a38092019aadfce37f9aeebbbb76d1134a3

Head commit of repository steam-overlay: fc142da83eb4eb440c787e9f1befe5945b09f485

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r6::gentoo
dev-lang/python:           3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0_beta1_p3::gentoo
dev-lang/rust:             1.78.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::rocm-bleeding-edge, 17.0.6::rocm-bleeding-edge, 18.1.6::gentoo
sys-devel/gcc:             13.3.0::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::rocm-bleeding-edge, 18.1.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

gamerlay
    location: /var/db/repos/gamerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gamerlay.git
    masters: gentoo
    volatile: False

gentoo-gpu
    location: /var/db/repos/sjnewbury-gentoo-cpu
    sync-type: git
    sync-uri: https://github.com/sjnewbury/gentoo-gpu.git
    masters: gentoo
    volatile: False

gitlab
    location: /var/db/repos/gitlab
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gitlab.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
    masters: gentoo
    volatile: False

rocm-bleeding-edge
    location: /var/db/repos/sjnewbury-rocm-bleeding-edge
    sync-type: git
    sync-uri: https://github.com/sjnewbury/rocm-bleeding-edge.git
    masters: gentoo
    volatile: False

sage-on-gentoo
    location: /var/db/repos/sage-on-gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: git://git.gentoo.org/proj/sci.git
    masters: gentoo
    volatile: False

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    volatile: False

nitratesky
    location: /var/db/repos/nitratesky
    sync-type: git
    sync-uri: https://github.com/VTimofeenko/nitratesky
    masters: gentoo
    priority: 50
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: False

local-grotto
    location: /var/db/repos/local-grotto
    masters: gentoo
    priority: 1000
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64

Installed sets: @ai, @bareboneswm, @db, @desktop, @devops, @fonts, @gfx, @gns3, @opencl, @privacy, @programming, @radio, @streaming, @tex, @utils
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
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/config /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/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 GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps 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="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j48"
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"
RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs"
SHELL="/bin/bash"
USE="X a52 aac aalib acl acpi aio alsa amd64 amf amr amrenc ao apache2 appindicator archive atasmart autotype avif awt base boot boto branding browser btpclient btrfs bzip2 cairo calendar caps cdda cddb cdr cet chromium clippy colord compositor connection-sharing context contrib crypt cups curl dav1d dbus development device-mapper dia down-root dracut dri drm drun dts dvd dvdr eap-tls eds egl elfutils encode epspdf evo exif extensions extra extraengine faad fdk ffmpeg ffmpge flac fpm freerdp games gcj gd gdata gdbm geckodriver gentoo-vm gif gimp git glamor gles gles1 gles2 gltf gmp gnome gnome-keyring gnome-shell gpg gpm graph graphics gstreamer gtk gtk3 gui hcitop hddtemp hdri heif http http3 humanities hwaccel iconv icu imagemagick introspection iproute2 iptables ipv6 jack javascript jemalloc jpeg jpeg2k jpegxl json kate kernel-install keyring lcms ldac libdrm libkms libnotify libtesseract libtirpc lm-sensors lm_sensors login lto lxc lz4 lzma mad matroska maxminddb mediaplayer mms mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib music mysql mysqli mysqlnd nautilus ncat ncurses network networkmanager nfs nfsv4 nfsv41 nftables nginx nls notification nping ocr odf offensive ofono ofx ogg omega openal opencl opencv openexr opengl openmp opus ozone pam pango pcre pda pdf pdfannotextractor pdfimport pdo pgo php pipewire png policykit postgres postproc postscript ppds printsupport profiling proton pstricks publishers pulseaudio python qemu qt5 rav1e raw raycast readline redis rrdcgi rubberband rust-analyzer rust-src rustfmt s3tc science sdl seccomp sendto sensord shaderc shout slib soap sockets sound speech speex spell spice sqlite srt sse sse2 sse3 sse4.1 sse4.2 ssh ssl ssse3 staging startup-notification svc svg svt-av1 syntax-check sysprof system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-sqlite systemd sysv-utils sysvipc terminal tesseract test-rust tex4ht texi2html tfshark theora threads thunar tiff tools tor-hardening tproxy tray trayicon truetype udev udisks uki ukify unicode update_drivedb upower usb usbredir user-session uuid uvm v4l vaapi vdpau vector-icons vim vim-syntax visio vkd3d vlc vnc vorbis vpx vte vulkan vulkan-overlay wayland webp widevine wireshark-plugins wxwidgets x264 x265 xattr xcb xcomposite xephyr xetex xface xft xinerama xml xmlwriter xpm xrandr xsl xslt xv xvfb xvid xvmc zip zlib zsh-completion zsh-completions zstd" ABI_X86="64" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx90a gfx906 gfx908 gfx1030 gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031 gfx902 gfx1100 gfx1101 gfx1102" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_fdpass proxy_fcgi proxy_http proxy_scgi proxy_wstunnel ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" 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" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LLVM_TARGETS="X86 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi gunzip gzip_static metrics mp4 naxsi security realip stub_status pcre-jit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="epson epson2 net" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 MrSnivvel 2024-06-01 18:12:54 UTC
journalctl:

Jun 01 12:20:12 threadripper kernel: [drm] Fence fallback timer expired on ring comp_1.0.0
Jun 01 12:20:22 threadripper kernel: [drm:amdgpu_job_timedout] *ERROR* ring gfx_0.0.0 timeout, signaled seq=8412938, emitted seq=8412940
Jun 01 12:20:22 threadripper kernel: [drm:amdgpu_job_timedout] *ERROR* Process information: process Indiana-Win64-S pid 768939 thread vkd3d_queue pid 769101
Jun 01 12:20:22 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: GPU reset begin!
Jun 01 12:20:22 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: BACO reset
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: GPU reset succeeded, trying to resume
Jun 01 12:20:24 threadripper kernel: [drm] PCIE GART of 512M enabled (table at 0x00000081FEE00000).
Jun 01 12:20:24 threadripper kernel: [drm] VRAM is lost due to GPU reset!
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: PSP is resuming...
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: reserve 0x900000 from 0x81fd000000 for PSP TMR
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: RAS: optional ras ta ucode is not available
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: RAP: optional rap ta ucode is not available
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: SMU is resuming...
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: use vbios provided pptable
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: smc_dpm_info table revision(format.content): 4.5
Jun 01 12:20:24 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: SMU is resumed successfully!
Jun 01 12:20:25 threadripper kernel: [drm] kiq ring mec 2 pipe 1 q 0
Jun 01 12:20:25 threadripper kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Jun 01 12:20:25 threadripper kernel: [drm] JPEG decode initialized successfully.
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 8
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 8
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 8
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: recover vram bo from shadow start
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: recover vram bo from shadow done
Jun 01 12:20:25 threadripper kernel: amdgpu 0000:63:00.0: amdgpu: GPU reset(42) succeeded!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper kernel: [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
Jun 01 12:20:25 threadripper systemd[1]: Started Process Core Dump (PID 769386/UID 0).
Comment 2 MrSnivvel 2024-06-01 18:20:55 UTC
[I] media-libs/mesa
     Available versions:  24.0.7^t (~)24.0.8^t (~)24.0.8-r1^t (~)24.1.0^t (~)24.1.0-r1^t **9999*l^t {+X d3d9 debug gles1 +gles2 +llvm lm-sensors opencl +opengl osmesa +proprietary-codecs selinux test unwind vaapi valgrind vdpau vulkan vulkan-overlay wayland xa zink +zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2" LLVM_SLOT="15 16 +17" VIDEO_CARDS="d3d12 freedreno intel lavapipe lima nouveau nvk panfrost r300 r600 radeon radeonsi v3d vc4 virgl vivante vmware"}
     Installed versions:  24.1.0-r1^t(17:41:34 05/29/24)(X llvm lm-sensors opengl proprietary-codecs vaapi vdpau vulkan vulkan-overlay wayland zstd -d3d9 -debug -opencl -osmesa -selinux -test -unwind -valgrind -xa -zink ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="radeonsi -d3d12 -freedreno -intel -lavapipe -lima -nouveau -nvk -panfrost -r300 -r600 -radeon -v3d -vc4 -virgl -vivante -vmware")

Since I'm loading firmware for the GPU:

[    2.692347] [drm] amdgpu kernel modesetting enabled.
[    2.692417] amdgpu: Virtual CRAT table created for CPU
[    2.692433] amdgpu: Topology: Add CPU node
[    2.692530] amdgpu 0000:63:00.0: enabling device (0006 -> 0007)
[    2.697693] amdgpu 0000:63:00.0: amdgpu: Fetched VBIOS from VFCT
[    2.697698] amdgpu: ATOM BIOS: 113-D3250500-101
[    2.697707] Loading firmware: amdgpu/navi14_sos.bin
[    2.697712] Loading firmware: amdgpu/navi14_asd.bin
[    2.697717] Loading firmware: amdgpu/navi14_ta.bin
[    2.697722] Loading firmware: amdgpu/navi14_smc.bin
[    2.697728] Loading firmware: amdgpu/navi14_pfp_wks.bin
[    2.697732] Loading firmware: amdgpu/navi14_me_wks.bin
[    2.697736] Loading firmware: amdgpu/navi14_ce_wks.bin
[    2.697740] Loading firmware: amdgpu/navi14_rlc.bin
[    2.697744] Loading firmware: amdgpu/navi14_mec_wks.bin
[    2.697749] Loading firmware: amdgpu/navi14_mec2_wks.bin
[    2.697753] Loading firmware: amdgpu/navi14_sdma.bin
[    2.697758] Loading firmware: amdgpu/navi14_sdma1.bin
[    2.697769] Loading firmware: amdgpu/navi14_vcn.bin
[    2.697778] amdgpu 0000:63:00.0: vgaarb: deactivate vga console
[    2.697783] amdgpu 0000:63:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[    2.697840] amdgpu 0000:63:00.0: BAR 2 [mem 0x14020000000-0x140201fffff 64bit pref]: releasing
[    2.697847] amdgpu 0000:63:00.0: BAR 0 [mem 0x14010000000-0x1401fffffff 64bit pref]: releasing
[    2.697915] amdgpu 0000:63:00.0: BAR 0 [mem 0x10200000000-0x103ffffffff 64bit pref]: assigned
[    2.697928] amdgpu 0000:63:00.0: BAR 2 [mem 0x10100000000-0x101001fffff 64bit pref]: assigned
[    2.698034] amdgpu 0000:63:00.0: amdgpu: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)
[    2.698041] amdgpu 0000:63:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[    2.698247] [drm] amdgpu: 8176M of VRAM memory ready
[    2.698251] [drm] amdgpu: 193292M of GTT memory ready.
[    2.699190] amdgpu 0000:63:00.0: amdgpu: Will use PSP to load VCN firmware
[    2.766066] amdgpu 0000:63:00.0: amdgpu: reserve 0x900000 from 0x81fd000000 for PSP TMR
[    2.836272] amdgpu 0000:63:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    2.847584] amdgpu 0000:63:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    2.847591] amdgpu 0000:63:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    2.847658] amdgpu 0000:63:00.0: amdgpu: use vbios provided pptable
[    2.847664] amdgpu 0000:63:00.0: amdgpu: smc_dpm_info table revision(format.content): 4.5
[    2.880287] amdgpu 0000:63:00.0: amdgpu: SMU is initialized successfully!
[    2.972712] amdgpu: HMM registered 8176MB device memory


[I] sys-kernel/linux-firmware
     Available versions:  20240312^bstd 20240410^bstd 20240513^bstd **99999999*l^bstd {bindist compress-xz compress-zstd deduplicate dist-kernel +initramfs +redistributable savedconfig unknown-license}
     Installed versions:  20240513^bstd(15:07:48 05/20/24)(initramfs redistributable savedconfig -bindist -compress-xz -compress-zstd -deduplicate -dist-kernel -unknown-license)

CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam17h.bin amd/amd_sev_fam17h_model0xh.sbin amd/amd_sev_fam17h_model3xh.sbin amd-ucode/microcode_amd_fam19h.bin amd/amd_sev_fam19h_model0xh.sbin amdgpu/navi14_asd.bin amdgpu/navi14_ce.bin amdgpu/navi14_ce_wks.bin amdgpu/navi14_gpu_info.bin amdgpu/navi14_me.bin amdgpu/navi14_mec2.bin amdgpu/navi14_mec2_wks.bin amdgpu/navi14_mec.bin amdgpu/navi14_mec_wks.bin amdgpu/navi14_me_wks.bin amdgpu/navi14_pfp.bin amdgpu/navi14_pfp_wks.bin amdgpu/navi14_rlc.bin amdgpu/navi14_sdma1.bin amdgpu/navi14_sdma.bin amdgpu/navi14_smc.bin amdgpu/navi14_sos.bin amdgpu/navi14_ta.bin amdgpu/navi14_vcn.bin"

[I] sys-kernel/gentoo-sources (6.9.1(6.9.1)@05/20/24 6.9.2(6.9.2)@05/26/24 6.9.3(6.9.3)@05/31/24): 

The larger dmesg output:

[124435.999822] [drm] Fence fallback timer expired on ring comp_1.0.0
[124445.954727] [drm:amdgpu_job_timedout] *ERROR* ring gfx_0.0.0 timeout, signaled seq=8412938, emitted seq=8412940
[124445.954749] [drm:amdgpu_job_timedout] *ERROR* Process information: process Indiana-Win64-S pid 768939 thread vkd3d_queue pid 769101
[124445.954756] amdgpu 0000:63:00.0: amdgpu: GPU reset begin!
[124446.064638] amdgpu 0000:63:00.0: amdgpu: BACO reset
[124447.988188] amdgpu 0000:63:00.0: amdgpu: GPU reset succeeded, trying to resume
[124447.988684] [drm] PCIE GART of 512M enabled (table at 0x00000081FEE00000).
[124447.988709] [drm] VRAM is lost due to GPU reset!
[124447.988711] amdgpu 0000:63:00.0: amdgpu: PSP is resuming...
[124448.047723] amdgpu 0000:63:00.0: amdgpu: reserve 0x900000 from 0x81fd000000 for PSP TMR
[124448.118446] amdgpu 0000:63:00.0: amdgpu: RAS: optional ras ta ucode is not available
[124448.129547] amdgpu 0000:63:00.0: amdgpu: RAP: optional rap ta ucode is not available
[124448.129550] amdgpu 0000:63:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[124448.129554] amdgpu 0000:63:00.0: amdgpu: SMU is resuming...
[124448.129596] amdgpu 0000:63:00.0: amdgpu: use vbios provided pptable
[124448.129599] amdgpu 0000:63:00.0: amdgpu: smc_dpm_info table revision(format.content): 4.5
[124448.132441] amdgpu 0000:63:00.0: amdgpu: SMU is resumed successfully!
[124448.309903] [drm] kiq ring mec 2 pipe 1 q 0
[124448.311410] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[124448.311559] [drm] JPEG decode initialized successfully.
[124448.311575] amdgpu 0000:63:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[124448.311578] amdgpu 0000:63:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[124448.311581] amdgpu 0000:63:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[124448.311584] amdgpu 0000:63:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[124448.311586] amdgpu 0000:63:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[124448.311589] amdgpu 0000:63:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[124448.311591] amdgpu 0000:63:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[124448.311594] amdgpu 0000:63:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[124448.311596] amdgpu 0000:63:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[124448.311599] amdgpu 0000:63:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[124448.311601] amdgpu 0000:63:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[124448.311604] amdgpu 0000:63:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[124448.311606] amdgpu 0000:63:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 8
[124448.311609] amdgpu 0000:63:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 8
[124448.311611] amdgpu 0000:63:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 8
[124448.311614] amdgpu 0000:63:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[124448.314681] amdgpu 0000:63:00.0: amdgpu: recover vram bo from shadow start
[124448.332245] amdgpu 0000:63:00.0: amdgpu: recover vram bo from shadow done
[124448.332267] amdgpu 0000:63:00.0: amdgpu: GPU reset(42) succeeded!
[124448.334006] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.334279] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.334780] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.335240] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.335369] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.335932] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.335986] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.336165] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.336330] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124448.347158] [drm:amdgpu_cs_ioctl] *ERROR* Failed to initialize parser -125!
[124449.409531] xdg-desktop-por[380645]: segfault at 108 ip 00007f6990ded271 sp 00007fff6b16db78 error 4 in libsdbus-c++.so.1.4.0[7f6990de3000+24000] likely on CPU 24 (core 8, socket 0)
[124449.409555] Code: 48 8b 36 48 8b 78 08 48 8b 07 ff a0 08 01 00 00 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 07 48 8b 36 48 8b 78 08 48 8b 07 <ff> a0 08 01 00 00 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 07
Comment 3 MrSnivvel 2024-06-01 18:23:49 UTC
I see other core dumps in journalctl but those are all after the kernel error.
Comment 4 Mike Pagano gentoo-dev 2024-06-01 22:32:22 UTC
Can you add your output to the upstream bug ?
https://gitlab.freedesktop.org/drm/amd/-/issues/3096
Comment 5 MrSnivvel 2024-06-01 23:36:20 UTC
Added with a link back to this one.
Comment 6 Mike Pagano gentoo-dev 2024-06-02 18:32:18 UTC
(In reply to MrSnivvel from comment #5)
> Added with a link back to this one.

"... using AMDGPU under kernel 6.8.1 while..."  oops
Comment 7 MrSnivvel 2024-06-02 19:09:15 UTC
(In reply to Mike Pagano from comment #6)

> "... using AMDGPU under kernel 6.8.1 while..."  oops

Since the original poster said it magically stopped happening I'm doubtful it was looked into deeply.  Whereas I have triggered this problem several times by the procedure I outlined 100% of the time, even if it is a very convoluted means of triggering it.

When 6.9.4 is released, I expect I'll be posting a comment to that same report saying it's still happening.

During this waiting time, is there anything I can do to increase the debugging output on this so it's more than just a single line error or help this in other ways?
Comment 8 Mike Pagano gentoo-dev 2024-06-30 19:51:35 UTC
We'll follow the upstream bug and backport any fixes identified.