You are not logged in.

#1 2023-10-06 07:01:03

mrwsl
Member
Registered: 2019-10-16
Posts: 11

[SOLVED] mpv segfaults

EDIT: Solution: Downgrade mesa to 23.1.8-1

When I try to play a youtube-video with mpv, it segfaults. I have yt-dlp installed and I must have messed something up because this setup was working before.

  mpv "youtube url" 
 (+) Video --vid=1 (*) (vp9 3840x2160 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
File tags:
 Uploader: Wolfgang's Channel
 Channel_URL: https://www.youtube.com/channel/UCsnGwSIHyoYN0kiINAGUKxg
Using hardware decoding (vaapi).
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 3840x2160 vaapi[nv12]
[1]    36043 segmentation fault (core dumped)  mpv "youtube url" 

Here is the current boot's log: https://0x0.st/HWxy.txt
The coredumpctl info: https://0x0.st/HWxW.txt

and finally the backtrace:

(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007f17721a11cd in  () at /usr/lib/dri/iris_dri.so
#2  0x000055ab94c92aa0 in  ()
#3  0x000055ab94c32cd3 in  ()
#4  0x000055ab94c39a67 in  ()
#5  0x000055ab94c3f53a in  ()
#6  0x000055ab94c419c2 in  ()
#7  0x000055ab94c444b4 in  ()
#8  0x000055ab94c3b122 in  ()
#9  0x00007f17c04649eb in  () at /usr/lib/libc.so.6
#10 0x00007f17c04e87cc in  () at /usr/lib/libc.so.6

Last edited by mrwsl (2023-10-06 07:40:50)

Offline

#2 2023-10-06 07:15:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: [SOLVED] mpv segfaults

Did you recently update mesa?

Offline

#3 2023-10-06 07:19:37

mrwsl
Member
Registered: 2019-10-16
Posts: 11

Re: [SOLVED] mpv segfaults

It was updated on the 1st Oct.:

pacman -Qi mesa          
Name            : mesa
Version         : 1:23.2.1-1
Description     : An open-source implementation of the OpenGL specification
Architecture    : x86_64
URL             : [url]https://www.mesa3d.org/[/url]
Licenses        : custom
Groups          : None
Provides        : mesa-libgl  opengl-driver
Depends On      : libdrm  libelf  libglvnd  libunwind  libxdamage  libxshmfence
                  libxxf86vm  llvm-libs  lm_sensors  vulkan-icd-loader  wayland
                  zstd  libomxil-bellagio
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
Required By     : cogl  gst-plugins-base-libs  hyprland  kodi  lib32-mesa  libglvnd
                  mpv  obs-studio-browser  qemu-ui-opengl  qemu-vhost-user-gpu
                  qt5-base  qt6-base  virglrenderer  webex-bin  webkit2gtk
                  webkit2gtk-4.1  webkitgtk-6.0  wlroots  xf86-video-vmware
                  xorg-xwayland  zoom
Optional For    : None
Conflicts With  : mesa-libgl
Replaces        : mesa-libgl
Installed Size  : 92.98 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Fri 29 Sep 2023 01:42:18 AM CEST
Install Date    : Sun 01 Oct 2023 10:29:26 AM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature 

Offline

#4 2023-10-06 07:26:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: [SOLVED] mpv segfaults

Try to downgrade that to 23.1.8-1

Offline

#5 2023-10-06 07:39:53

mrwsl
Member
Registered: 2019-10-16
Posts: 11

Re: [SOLVED] mpv segfaults

Thank you! Downgrading resolved the issue. Should I report my problem to mesa?

Offline

#6 2023-10-06 13:19:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Offline

Board footer

Powered by FluxBB