Skip to main content
Topic: mpv crashes (segfault) when run with DRI_PRIME=1 (mesa bug) (Read 1126 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

mpv crashes (segfault) when run with DRI_PRIME=1 (mesa bug)

I am on a Dell Latitude E6540 with hybrid graphics (Intel and AMD Radeon HD 8790M). I have been running running mpv with DRI_PRIME=1 on this laptop, as I get semi-frequent stutters without it (I'm sure there's another way to deal with this, but I haven't found it yet). After a recent update, running mpv with this variable causes it to segfault after playing approximately 1 second of video. This segfault also screws up my terminal (can't see characters I type, cursor, or history on up arrow).

Edit:
I should also note that this occurs regardless of which hwdec I use, though it goes about 4 seconds when I use vaapi.
I am suspecting a driver issue since it's only affecting the dGPU.
Here are my recently updated packages. Perhaps someone can help identify potential culprits.
Code: [Select]
[2024-02-25T17:41:19-0600] [ALPM] upgraded amd-ucode (20240115.9b6d0b08-2 -> 20240220.97b693d2-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded botan (3.2.0-1 -> 3.3.0-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded libgpg-error (1.47-1 -> 1.48-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded btrfs-progs (6.7-1 -> 6.7.1-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded libffi (3.4.4-1 -> 3.4.6-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded ca-certificates-mozilla (3.97-1 -> 3.98-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded dav1d (1.3.0-1 -> 1.4.0-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded libnghttp3 (1.1.0-2 -> 1.2.0-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded exiv2 (0.28.1-1 -> 0.28.2-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded fftw (3.3.10-5 -> 3.3.10-6)
[2024-02-25T17:41:19-0600] [ALPM] upgraded git (2.43.1-1 -> 2.43.2-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded spirv-tools (2023.5-1 -> 2023.6-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded glslang (13.1.1-3 -> 14.0.0-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded openssh (9.6p1-1 -> 9.6p1-3)
[2024-02-25T17:41:19-0600] [ALPM] upgraded libsecret (0.21.3-1 -> 0.21.4-1)
[2024-02-25T17:41:19-0600] [ALPM] upgraded mesa (1:23.3.5-1 -> 1:24.0.1-1)
[2024-02-25T17:41:20-0600] [ALPM] upgraded nvidia-utils (545.29.06-3 -> 545.29.06-4)
[2024-02-25T17:41:20-0600] [ALPM] upgraded gnome-keyring (1:42.1-3 -> 1:46.1-1)
[2024-02-25T17:41:20-0600] [ALPM] upgraded grpc (1.60.1-1 -> 1.62.0-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded qt5-base (5.15.12+kde+r150-1 -> 5.15.12+kde+r151-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded keepassxc (2.7.6-2.1 -> 2.7.6-3)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libaio (0.3.113-2 -> 0.3.113-3)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libnvme (1.7.1-1 -> 1.8-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded nss (3.97-1 -> 3.98-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded npth (1.6-4 -> 1.7-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libblockdev (3.0.4-1 -> 3.0.4-2)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libgtop (2.41.2-1 -> 2.41.3-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libluv (1.47.0_0-1 -> 1.48.0_0-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded shaderc (2023.7-2 -> 2023.8-1)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libplacebo (6.338.2-1 -> 6.338.2-2)
[2024-02-25T17:41:21-0600] [ALPM] upgraded libva-mesa-driver (1:23.3.5-1 -> 1:24.0.1-1)
[2024-02-25T17:41:22-0600] [ALPM] upgraded linux (6.7.4.artix1-1 -> 6.7.5.artix1-1)
[2024-02-25T17:41:22-0600] [ALPM] upgraded linux-firmware-whence (20240115.9b6d0b08-2 -> 20240220.97b693d2-1)
[2024-02-25T17:41:22-0600] [ALPM] upgraded linux-firmware (20240115.9b6d0b08-2 -> 20240220.97b693d2-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded linux-headers (6.7.4.artix1-1 -> 6.7.5.artix1-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded mesa-vdpau (1:23.3.5-1 -> 1:24.0.1-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded mpg123 (1.32.4-1 -> 1.32.5-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded nvidia (545.29.06-18 -> 545.29.06-19)
[2024-02-25T17:41:24-0600] [ALPM] upgraded prrte (3.0.4-1 -> 3.0.4-3)
[2024-02-25T17:41:24-0600] [ALPM] upgraded openmpi (5.0.2-2 -> 5.0.2-3)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-cairo (1.25.1-1 -> 1.26.0-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-pydantic-core (1:2.16.2-1 -> 1:2.16.3-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-pydantic (2.6.1-1 -> 2.6.2-2)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-inflect (7.0.0-2 -> 7.0.0-3)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-installer (0.7.0-3 -> 0.7.0-4)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-mako (1.3.0-1 -> 1.3.2-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-markdown (3.5.1-1 -> 3.5.2-1)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-setuptools (1:69.0.3-1 -> 1:69.0.3-4)
[2024-02-25T17:41:24-0600] [ALPM] upgraded python-wheel (0.42.0-1 -> 0.42.0-2)
[2024-02-25T17:41:24-0600] [ALPM] upgraded qca-qt5 (2.3.8-1 -> 2.3.8-2)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-translations (6.6.1-1.2 -> 6.6.2-1)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-base (6.6.1-3 -> 6.6.2-4)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-5compat (6.6.1-2 -> 6.6.2-1)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-declarative (6.6.1-1.2 -> 6.6.2-1)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-charts (6.6.1-1.1 -> 6.6.2-1)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-imageformats (6.6.1-1.1 -> 6.6.2-1)
[2024-02-25T17:41:25-0600] [ALPM] upgraded qt6-svg (6.6.1-1.1 -> 6.6.2-1)
[2024-02-25T17:41:25-0600] [ALPM] upgraded scdoc (1.11.2-5 -> 1.11.3-1)
[2024-02-25T17:41:26-0600] [ALPM] upgraded ungoogled-chromium (121.0.6167.184-1 -> 122.0.6261.69-1)
[2024-02-25T17:41:26-0600] [ALPM] upgraded vulkan-intel (1:23.3.5-1 -> 1:24.0.1-1)
[2024-02-25T17:41:26-0600] [ALPM] upgraded vulkan-radeon (1:23.3.5-1 -> 1:24.0.1-1)
[2024-02-25T17:41:26-0600] [ALPM] upgraded vulkan-swrast (1:23.3.5-1 -> 1:24.0.1-1)
[2024-02-25T17:41:26-0600] [ALPM] upgraded xerces-c (3.2.4-4 -> 3.2.5-1)
[2024-02-25T17:42:34-0600] [ALPM] upgraded chirp-next (20240216-1 -> 20240224-1)
[2024-02-25T17:42:55-0600] [ALPM] upgraded cty (3405-1 -> 3406-1)
[2024-02-26T19:36:21-0600] [ALPM] upgraded libpng (1.6.42-1 -> 1.6.43-1)
[2024-02-26T19:36:21-0600] [ALPM] upgraded xz (5.4.6-1 -> 5.6.0-1)
[2024-02-26T19:36:21-0600] [ALPM] upgraded appstream (1.0.1-2 -> 1.0.2-1)
[2024-02-26T19:36:21-0600] [ALPM] upgraded libjxl (0.9.2-1 -> 0.10.0-1)
[2024-02-26T19:36:21-0600] [ALPM] upgraded ffmpeg (2:6.1.1-5 -> 2:6.1.1-6)
[2024-02-26T19:36:22-0600] [ALPM] upgraded gdal (3.8.3-2 -> 3.8.4-1)
[2024-02-26T19:36:22-0600] [ALPM] upgraded libksba (1.6.5-1 -> 1.6.6-1)
[2024-02-26T19:36:22-0600] [ALPM] upgraded gimp (2.10.36-4 -> 2.10.36-5)
[2024-02-26T19:36:22-0600] [ALPM] upgraded git (2.43.2-1 -> 2.44.0-1)
[2024-02-26T19:36:22-0600] [ALPM] upgraded graphicsmagick (1.3.42-2 -> 1.3.42-3)
[2024-02-26T19:36:22-0600] [ALPM] upgraded imagemagick (7.1.1.28-1 -> 7.1.1.29-2)
[2024-02-26T19:36:22-0600] [ALPM] upgraded libblockdev (3.0.4-2 -> 3.1.0-1)
[2024-02-26T19:36:22-0600] [ALPM] upgraded thin-provisioning-tools (1.0.11-1 -> 1.0.12-1)
[2024-02-26T19:36:22-0600] [ALPM] upgraded udisks2 (2.10.1-2 -> 2.10.1-3)
[2024-02-26T19:36:23-0600] [ALPM] upgraded webkit2gtk (2.42.5-1 -> 2.42.5-2)

And some additional info in case it helps:
Code: [Select]
lake@E6540:~$ inxi -G
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
    v: kernel
  Device-2: AMD Mars XTX [Radeon HD 8790M] driver: radeon v: kernel
  Device-3: Microdia Laptop_Integrated_Webcam_HD driver: uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.11 driver: X: loaded: intel,radeon
    unloaded: fbdev,modesetting,vesa dri: i965,radeonsi gpu: i915
    resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: crocus,radeonsi,swrast
    platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.1-arch1.1
    renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
  API: Vulkan v: 1.3.276 drivers: intel,llvmpipe surfaces: xcb,xlib

I didn't see anything of note here, but perhaps someone else will:
Code: [Select]
lake@E6540:~$ DRI_PRIME=1 mpv -v Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/Bocchi.the.Rock.S01E01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA.mkv 
[cplayer] Command line options: '-v' 'Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/Bocchi.the.Rock.S01E01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA.mkv'
[cplayer] mpv v0.37.0-dirty Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb  6 2024 16:13:32
[cplayer] libplacebo version: v6.338.2
[cplayer] FFmpeg version: n6.1.1
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       58.29.100
[cplayer]    libavcodec      60.31.102
[cplayer]    libavformat     60.16.100
[cplayer]    libswscale      7.5.100
[cplayer]    libavfilter     9.12.100
[cplayer]    libswresample   4.12.100
[cplayer]
[cplayer] Configuration: -Db_lto=true -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dcaca=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa av-channel-layout avif-muxer build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-helpers egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lavu-uuid lcms2 libarchive libass libavdevice libbluray libdl libm libplacebo librt linux-fstatfs luajit manpage-build memfd-create noexecstack openal pipewire posix posix-shm ppoll pulse rubberband rubberband-3 shaderc sixel threads uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vector vk-khr-display vt.h vulkan vulkan-interop wayland wayland-protocols-1-27 wayland-protocols-1-31 wayland-protocols-1-32 x11 xv zimg zimg-st428 zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /etc/mpv/encoding-profiles.conf
[bdmv/bluray] Opening /etc/mpv/encoding-profiles.conf
[file] Opening /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /home/lake/.config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/lake/.config/mpv/mpv.conf
[bdmv/bluray] Opening /home/lake/.config/mpv/mpv.conf
[file] Opening /home/lake/.config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'script-opts' = 'ytdl_hook-ytdl_path=/usr/bin/yt-dlp' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Waiting for scripts...
[youtube_quality] Opened config file script-opts/youtube-quality.conf.
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"b":0,"l":0,"r":0} -> 1
[cplayer] Done loading scripts.
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/Bocchi.the.Rock.S01E01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA.mkv
[cplayer] Set property: user-data/osc/margins={"t":0,"b":0,"l":0,"r":0} -> 1
[bdmv/bluray] Opening Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/Bocchi.the.Rock.S01E01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA.mkv
[file] Opening Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/Bocchi.the.Rock.S01E01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA.mkv
[demux] Trying demuxers for level=normal.
[cplayer] Set property: user-data/osc/margins={"t":0,"b":0,"l":0,"r":0} -> 1
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[mkv] New edition 0
[mkv] Seeking to 669602234 to read header element 0x1c53bb6b.
[file] stream level seek from 2321750 to 669602234
[mkv] Parsing cues...
[mkv] Seeking to 669673571 to read header element 0x1254c367.
[file] stream level seek from 669674586 to 2191038
[mkv] All headers are parsed!
[demux] Detected file format: Matroska
[cplayer] Opening done: Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/Bocchi.the.Rock.S01E01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA.mkv
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[find_files] Loading external files in Videos/Bocchi.the.Rock.S01.1080p.BluRay.10-Bit.FLAC2.0.x265-YURASUKA/
[cplayer] Running hook: ytdl_hook/on_preloaded
[mkv] select track 0
[mkv] select track 1
[mkv] select track 2
[cplayer]  (+) Video --vid=1 (*) 'YURASUKA 1080p x265' (hevc 1920x1080 23.976fps)
[cplayer]  (+) Audio --aid=1 --alang=jpn (*) 'Japanese FLAC 2.0' (flac 2ch 48000Hz)
[cplayer]  (+) Subs  --sid=1 --slang=eng (*) 'Full Subtitles [DB+neoHEVC]' (ass)
[display-tags] File tags:
[display-tags]  Title: Bocchi the Rock! - S01E01 - YURASUKA
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display: :0.0
[vo/gpu/x11] Display 0 (eDP1): [0, 0, 1920, 1080] @ 60.060060 FPS
[vo/gpu/x11] Current display FPS: 60.060060
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0x11, visual ID 0x20
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent enabled.
[vo/gpu/opengl] GL_VERSION='4.5 (Core Profile) Mesa 24.0.1-arch1.1'
[vo/gpu/opengl] Detected desktop OpenGL 4.5.
[vo/gpu/opengl] GL_VENDOR='AMD'
[vo/gpu/opengl] GL_RENDERER='OLAND (radeonsi, , LLVM 16.0.6, DRM 2.50, 6.7.5-artix1-1)'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.50'
[vo/gpu/opengl] Loaded extension GL_NV_vdpau_interop.
[vo/gpu/opengl] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] Assuming 60.060060 FPS for display sync.
[vd] Container reported FPS: 23.976024
[vd] Codec list:
[vd]     hevc - HEVC (High Efficiency Video Coding)
[vd]     hevc_qsv (hevc) - HEVC video (Intel Quick Sync Video acceleration)
[vd]     hevc_v4l2m2m (hevc) - V4L2 mem2mem HEVC decoder wrapper
[vd]     hevc_cuvid (hevc) - Nvidia CUVID HEVC decoder
[vd] Opening decoder hevc
[vd] No hardware decoding requested.
[vd] Using software decoding.
[vd] Detected 8 logical cores.
[vd] Requesting 9 threads for decoding.
[vd] Selected codec: HEVC (High Efficiency Video Coding)
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     flac - FLAC (Free Lossless Audio Codec)
[ad] Opening decoder flac
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: FLAC (Free Lossless Audio Codec)
[af] User filter list:
[af]   (empty)
[sub/ass] libass API version: 0x1701000
[sub/ass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[sub/ass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[sub/ass] Setting up fonts...
[sub/ass] Using font provider fontconfig
[sub/ass] Done.
[cplayer] Starting playback...
[af] [in] 48000Hz stereo 2ch s16
[af] [userspeed] 48000Hz stereo 2ch s16
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch s16
[vd] Using software decoding.
[vd] Decoder format: 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1080+0+0
[vd] Using container aspect ratio.
[vf] [in] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
[vf] [userdeint] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
[vf] [userdeint] (disabled)
[vf] [autorotate] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
[vf] [autorotate] (disabled)
[vf] [convert] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
[vf] [convert] (disabled)
[vf] [out] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, s16
[ao/pipewire] Headers version: 1.0.3
[ao/pipewire] Library version: 1.0.3
[ao/pipewire] Core user: lake
[ao/pipewire] Core host: E6540
[ao/pipewire] Core version: 1.0.3
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch s16
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch s16
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] VO: [gpu] 1920x1080 yuv420p10
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0
[vo/gpu] Resize: 1920x1027
[vo/gpu] Window size: 1920x1027 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (47, 0) 1825x1027
[vo/gpu] Video scale: 0.950521/0.950926
[vo/gpu] OSD borders: l=47 t=0 r=48 b=0
[vo/gpu] Video borders: l=47 t=0 r=48 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 1920x1080
[vo/gpu] Texture for plane 1: 960x540
[vo/gpu] Texture for plane 2: 960x540
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] DR enabled: yes
[vo/gpu] Dither to 8.
[cplayer] first video frame after restart shown
[vo/gpu] Resize: 1920x1027
[vo/gpu] Window size: 1920x1027 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (47, 0) 1825x1027
[vo/gpu] Video scale: 0.950521/0.950926
[vo/gpu] OSD borders: l=47 t=0 r=48 b=0
[vo/gpu] Video borders: l=47 t=0 r=48 b=0
[vo/gpu] Reported display depth: 8
[cplayer] audio ready
[cplayer] delaying audio start 0.000000 vs. 0.000000, diff=0.000000
[cplayer] playback restart complete @ 0.000000, audio=ready, video=playing
[cplayer] starting audio playback
[vo/gpu/x11] Disabling screensaver.
[cplayer] Set property: user-data/osc/margins={"t":0,"b":0,"l":0,"r":0} -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"b":0,"l":0,"r":0} -> 1
[sub/ass] fontselect: (Lato, 700, 0) -> Lato-Bold, 0, Lato-Bold
[vo/gpu] Reallocating OSD texture to 1024x512.
[statusline] AV: 00:00:00 / 00:23:41 (0%) A-V:  0.005Segmentation fault

 

Re: mpv crashes (segfault) when run with DRI_PRIME=1

Reply #1
Okay, so I downgraded mesa (1:24.0.1-1 -> 1:23.3.5-1) and now it works.