You are not logged in.
Pages: 1
Hi,
Did a pacman -Syu and since then vlc segmentation faults trying to read a DVD. I'm really struggling to work out why. I have tried reinstalling libdvdread libdvdcss libdvdnav and vlc, and ffmpeg. No difference. Have tried removing vlc config - no difference. Have also tried dropping back a vlc version or too - no difference.
I can play the DVD using mplayer but I find the mplayer very difficult. But it suggests (to me) thet the libdvd* packages are working.
Would be very grateful for any assistance.
Here's the output from running vlc on a disc that worked on this DVD drive with vlc before.
vlc /dev/sr1
VLC media player 3.0.17.3 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000563e45f86660] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/run/media/jon/SOPRANOS_SEASON2_DISC1/) failed
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/run/media/jon/SOPRANOS_SEASON2_DISC1/) failed
[00007f2860001170] dvdnav demux: DVD Title: SOPRANOS_SEASON2_DISC1
[00007f2860001170] dvdnav demux: DVD Serial Number: 38748F55
[00007f2860001170] dvdnav demux: DVD Title (Alternative): SOPRANOS_SEASON2_DISC1
[00007f2860001170] dvdnav demux: DVD disk reports itself with Region mask 0x00fd0000. Regions: 02
[00007f2860001170] dvdnav demux: Attempting to retrieve all CSS keys
[00007f2860001170] dvdnav demux: This can take a _long_ time, please be patient
[00007f2860001170] dvdnav demux: Menu Languages available:
[00007f2860001170] dvdnav demux: Menu Languages available:
[00007f2860001170] dvdnav demux: Menu Languages available:
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2860001170] dvdnav demux: Menu Languages available: it
[00007f2850007960] gl gl: Initialized libplacebo v4.192.1 (API v192)
[00007f28600451e0] avcodec decoder: Using Mesa Gallium driver 21.3.7 for AMD RS780 (DRM 2.50.0 / 5.16.16-arch1-1, LLVM 13.0.1) for hardware decoding
Segmentation fault (core dumped)
Offline
Segmentation fault (core dumped)
https://wiki.archlinux.org/title/Core_d … _core_dump
Also please use code tags, https://bbs.archlinux.org/help.php#bbcode
Offline
Segmentation fault (core dumped)
https://wiki.archlinux.org/title/Core_d … _core_dump
Also please use code tags, https://bbs.archlinux.org/help.php#bbcode
Thanks that's very helpful. It leads me to this:
(gdb) bt
#0 0x00007ff47303159c in () at /usr/lib/dri/r600_dri.so
#1 0x00007ff473031b0b in () at /usr/lib/dri/r600_dri.so
#2 0x00007ff42f2f2d0b in () at /usr/lib/dri/r600_drv_video.so
#3 0x00007ff42f2f4b1e in () at /usr/lib/dri/r600_drv_video.so
#4 0x00007ff44c10f7d8 in vaRenderPicture () at /usr/lib/libva.so.2
#5 0x00007ff44c9c7948 in () at /usr/lib/libavcodec.so.58
#6 0x00007ff44c9dcfe2 in () at /usr/lib/libavcodec.so.58
#7 0x00007ff44c7f948e in () at /usr/lib/libavcodec.so.58
#8 0x00007ff44c7fa2f3 in () at /usr/lib/libavcodec.so.58
#9 0x00007ff44c541c8b in () at /usr/lib/libavcodec.so.58
#10 0x00007ff44c543150 in avcodec_send_packet () at /usr/lib/libavcodec.so.58
#11 0x00007ff47c06b671 in () at /usr/lib/vlc/plugins/codec/libavcodec_plugin.so
#12 0x00007ff4aadb40e8 in () at /usr/lib/libvlccore.so.9
#13 0x00007ff4aadb3caa in () at /usr/lib/libvlccore.so.9
#14 0x00007ff4aadb462c in () at /usr/lib/libvlccore.so.9
#15 0x00007ff4aaf015c2 in start_thread () at /usr/lib/libc.so.6
#16 0x00007ff4aaf86584 in clone () at /usr/lib/libc.so.6
That looks to me like the problem is in /usr/lib/dri/r600_dri.so which is part of mesa. I have tried going back to the previous version of mesa and mesa-vdpau but I get the same error. Should I be reporting this SIGSEGV to the mesa project? Again, I am very grateful for all assistance.
Thanks.
Offline
/usr/lib/libavcodec.so.58 - the current version is /usr/lib/libavcodec.so.59 in ffmpeg 2:5.0-5
Did you conduct a partial update or are you maybe using an ffmpeg version from the AUR?
Offline
I have now tried after turning OFF hardware acceleration, and the DVD plays, so I guess I have mis-configured something to do with hardware acceleration. But I hadn't changed anything other than running pacman -Syu before it SIGSEGV'd.
Offline
/usr/lib/libavcodec.so.58 - the current version is /usr/lib/libavcodec.so.59 in ffmpeg 2:5.0-5
Did you conduct a partial update or are you maybe using an ffmpeg version from the AUR?
Offline
/usr/lib/libavcodec.so.58 - the current version is /usr/lib/libavcodec.so.59 in ffmpeg 2:5.0-5
Did you conduct a partial update or are you maybe using an ffmpeg version from the AUR?
Thanks again. ffmpeg is
pacman -Q ffmpeg
ffmpeg 2:5.0-5
Got it from extra i.e. not from AUR.
Does the following give a clue? Not many entries below.
vainfo
vainfo: VA-API version: 1.13 (libva 2.14.0)
vainfo: Driver version: Mesa Gallium driver 21.3.7 for AMD RS780 (DRM 2.50.0 / 5.16.16-arch1-1, LLVM 13.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I'm confused between xf86-video-ati and xf86-video-amdgpu. I was using (since 2015) xf86-video-ati. When this problem started I tried xf86-video-amdgpu but that didn't work at all with my hardware which is according to lshw:
*-display
description: VGA compatible controller
product: RS780L [Radeon 3000]
Finally, although in theory I would like to have hardware acceleration, in fact when I used to work ok with VLC default acceleration, when playing a DVD I used to notice saw that my processors
*-cpu
description: CPU
product: AMD Athlon(tm) II X4 630 Processor
vendor: Advanced Micro Devices [AMD]
physical id: 4
tended to be about 50% utilised (all 4 of them), when I turned off hardware acceleration this evening and played a DVD, the processors were running at about 10 - 15 %.
Which is to say, I would like to have hardware acceleration with genuine reduction in CPU utilisation, but meanwhile I can play DVD's in vlc, and performance is actually better than it used to be.
Offline
/usr/lib/libavcodec.so.58 - the current version is /usr/lib/libavcodec.so.59 in ffmpeg 2:5.0-5
Did you conduct a partial update or are you maybe using an ffmpeg version from the AUR?
VLC is built against ffmpeg4.4 in Extra. It's loading the correct library.
Offline
I'm confused between xf86-video-ati and xf86-video-amdgpu. I was using (since 2015) xf86-video-ati. When this problem started I tried xf86-video-amdgpu but that didn't work at all with my hardware which is according to lshw:
Radeon 3000 isn't supported by the amdgpu drivers, I'd try to remove both (all) xf86-video-* packages and use the modesetting driver (on top of the radeon kernel module) - there's a good chance that this will also "fix" the segfault.
Offline
Pages: 1