You are not logged in.

#1 2022-12-03 13:05:11

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

VLC crashing on playback

Hi all

I have a problem with my setup.
When I try to start a video in VLC it crashes. I do not know why and need your help. As I do not watch videos from HDD that often, I can't say if it is connected with one of the updates I did.

vlc --reset-config --reset-plugins-cache -v
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055d9d5ae8550] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libkate_plugin.so' (libtiger.so.5: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)
[000055d9d5ae8550] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/stream_filter/libaribcam_plugin.so' (libaribb25.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)
[000055d9d5ae8550] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libgoom_plugin.so' (libgoom2.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)
[000055d9d5ae8550] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.3: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)
[000055d9d5ae8550] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[000055d9d5b0e1f0] main playlist: playlist is empty
[00007fb5b80186d0] mp4 demux warning: elst box found
[00007fb5b80186d0] mp4 demux warning: STTS table of 1 entries
[00007fb5b80186d0] mp4 demux warning: elst box found
[00007fb5b80186d0] mp4 demux warning: STTS table of 27468 entries
[00007fb5bb149b80] faad decoder warning: decoded zero sample
[00007fb5a8001800] gl gl: Initialized libplacebo v4.208.0 (API v208)
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread

Thank you in advance

Offline

#2 2022-12-03 14:28:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

Is that output supposed to be related to such crash or just from a re-caching run?

Do you have a coredump?
https://wiki.archlinux.org/title/Core_d … _core_dump

Edit: faulty hw decoder?
https://wiki.archlinux.org/title/VLC_me … ng_a_video

lspci; vdpauinfo; vainfo; glxinfo -B

Last edited by seth (2022-12-03 14:30:22)

Offline

#3 2022-12-03 14:32:23

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

seth wrote:

Is that output supposed to be related to such crash or just from a re-caching run?

it is a output of the VLC started via ZSH from start to the crash. I opend the file in VLC GUI.

It lists only a coredumps of firefox for today... but I had no problems with firefox.

Offline

#4 2022-12-03 14:47:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

VLC_VERBOSE=3 vlc --reset-config --reset-plugins-cache

and trigger the crash.

Offline

#5 2022-12-03 15:13:08

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

you can find the output at https://paste.3server.de/?bcf54cbfb962f … jBGyCh33A6
I hope a past bin is okay for the long log.

Offline

#6 2022-12-03 15:41:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

How does this crash? Does the vlc processs terminate or does only the video not play?

[00007fac8b065890] avcodec decoder debug: trying format vaapi_vld
…
[00007fac6c001800] egl_x11 gl debug: EGL version 1.5 by NVIDIA

See the edit in #2, link and please post the output of the three commands.
Also try to configure VLC to use vdpau, https://wiki.archlinux.org/title/VLC_me … celeration

Offline

#7 2022-12-03 15:52:38

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

seth wrote:

How does this crash? Does the vlc processs terminate or does only the video not play?

No audio starts... I get a very short black screen in the VLC window and after this it terminates.



seth wrote:

See the edit in #2, link and please post the output of the three commands.

this is the output: https://paste.3server.de/?d4cb0445fd891 … spjET9hgsv

seth wrote:

Also try to configure VLC to use vdpau, https://wiki.archlinux.org/title/VLC_me … celeration

It was set to auto... I changed it to vdpau for the test but same problem.

Offline

#8 2022-12-03 16:25:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

08:01.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)

Is that actually there?
Does it show up in your xorg log?

What if you "export VDPAU_DRIVER=nvidia; vlc video.mp4" (w/ vlc configured for vdpau)
And as a sanity check: download some h264/mp4 video from youtube (w/ yt-dlp) and try to play that (to make sure it's not the video)

Offline

#9 2022-12-03 16:48:46

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

seth wrote:
08:01.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)

Is that actually there?

I think it is the "GPU" of the motherboard and the remote management... it is a server board.

seth wrote:

Does it show up in your xorg log?

2 cards showing up in the logs... I'm not sure if this one but 2.

seth wrote:

What if you "export VDPAU_DRIVER=nvidia; vlc video.mp4" (w/ vlc configured for vdpau)

No change to the error sad

seth wrote:

And as a sanity check: download some h264/mp4 video from youtube (w/ yt-dlp) and try to play that (to make sure it's not the video)

I checked old files that have worked in the past and that new file (downloaded by yt-dlp) which I noticed the error with.

At this point, thank you again for going through this with me.

Offline

#10 2022-12-03 17:19:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

Sanity check: disable the HW acceleration. Does the video play?
Does the video play in mpv?

Offline

#11 2022-12-03 17:24:56

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

seth wrote:

disable the HW acceleration. Does the video play?

No, it does not play it

seth wrote:

Does the video play in mpv?

yes mpv does play it

also firefox can play the video (HW acceleration is on in firefox)

Offline

#12 2022-12-03 17:43:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

[00007fb5bb149b80] faad decoder warning: decoded zero sample

What if you disable audio playback?

Offline

#13 2022-12-03 17:49:49

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

seth wrote:

What if you disable audio playback?

No change to the problem

Offline

#14 2022-12-03 20:02:55

Nocifer
Member
Registered: 2019-05-23
Posts: 14

Re: VLC crashing on playback

If you're on Nvidia, try downgrading the drivers e.g. to the previous 520.56.06 version. I had the exact same issue and downgrading solved it; I guess it's some new quirk of the latest drivers that VLC is incompatible with.

Offline

#15 2022-12-03 20:21:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

The OP is - did you get some more informative coredump for this crash?

Offline

#16 2022-12-04 15:06:21

Nocifer
Member
Registered: 2019-05-23
Posts: 14

Re: VLC crashing on playback

Here's a tracelog: https://paste.apexnode.dev/?e0ea7c89978 … Ro5eDjfZhc

I can't really make heads or tails of it, but at least I can confirm that downgrading to the previous Nvidia drivers "fixes" the issue. Also, as in OP's case, I can play video just fine with mpv, ffmpeg and Firefox, so I still think it's probably an incompatibility with either VLC's libplacebo or maybe Qt itself.

Offline

#17 2022-12-04 16:23:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

#0  0x00007fd2d5aeaecf in QThreadStorageData::get() const (this=0x0) at thread/qthreadstorage.cpp:122
#1  0x00007fd2d5ace7d8 in QThreadStorage<QUnifiedTimer*>::hasLocalData() const (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:141
#2  QUnifiedTimer::instance(bool) (create=<optimized out>) at animation/qabstractanimation.cpp:234
#3  0x00007fd2d5acee33 in QAnimationDriver::advanceAnimation(long long) (this=<optimized out>, timeStep=-1) at animation/qabstractanimation.cpp:820

nullptr object access. (QThreadStorage::hasLocalData() isn't a static function)

Everything else is sleeping except

#0  __GI___ioctl (fd=24, request=3222292009) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1  0x00007fd2aed45d09 in  () at /usr/lib/libnvidia-glcore.so.525.60.11
#2  0x00007fd2aed473c0 in  () at /usr/lib/libnvidia-glcore.so.525.60.11
#3  0x00007fd2aed48071 in  () at /usr/lib/libnvidia-glcore.so.525.60.11
#4  0x00007fd2ae8551dd in  () at /usr/lib/libnvidia-glcore.so.525.60.11
#5  0x00007fd2ae856f25 in  () at /usr/lib/libnvidia-glcore.so.525.60.11
#6  0x00007fd2ae857a61 in  () at /usr/lib/libnvidia-glcore.so.525.60.11
#7  0x00007fd2cdb947ef in  () at /usr/lib/libGLX_nvidia.so.0
#8  0x00007fd2cdb46850 in  () at /usr/lib/libGLX_nvidia.so.0
#9  0x00007fd2cdb46f3f in  () at /usr/lib/libGLX_nvidia.so.0
#10 0x00007fd2dffef000 in _rtld_global () at /lib64/ld-linux-x86-64.so.2
#11 0x0000000000000000 in  ()

Why and how the glx code triggers a (likely) threading bug in VLC, idk. - though maybe it's just a follow-up bug (the video fails and triggers an unpredicted race in the VLC GUI code where it relies on some playback activitiy for the GUI animation)

Can you play the video w/

vlc -I ncurses

?

Offline

#18 2022-12-04 20:40:26

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

Hi

I found a 2nd app with problems

% gitkraken 
[PERFORMANCE] tried to end event with no start time: waiting for app ready 
ldd: warning: you do not have execution permission for `/opt/gitkraken/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release/nodegit-ubuntu-18.node'
(node:4079) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `gitkraken --trace-deprecation ...` to show where the warning was created)
[4079:1204/213730.141009:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=256
(node:4079) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
[4079:1204/213730.615652:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=256
state:  unavailable
[4079:1204/213731.039121:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=256
[4079:1204/213731.441253:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=256
[4079:1204/213731.783502:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=256
[4079:1204/213732.093420:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=256
[4365:1204/213732.106498:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is disabled, ANGLE is 
vlc -I ncurses

does not work

I haven't yet dared to do the driver downgrade due to lack of experience.

Last edited by BollerwagenPicard (2022-12-04 20:42:44)

Offline

#19 2022-12-04 21:22:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: VLC crashing on playback

gitkraken is gtk3, so it's probably not a Qt issue.

I haven't yet dared to do the driver downgrade

https://wiki.archlinux.org/title/Arch_Linux_Archive
As long as you're still on linux 6.0.10.arch2-1, you can downgrade to 520.56.06-12
Edit: nvidia and nvidia-utils together.

Last edited by seth (2022-12-04 21:22:31)

Offline

#20 2022-12-05 09:49:17

Nocifer
Member
Registered: 2019-05-23
Posts: 14

Re: VLC crashing on playback

OK, I found the culprit, at least in my case. I noticed a bunch of Firefox coredumps from within the past few days that point to issues with libva, and I remembered that I've been using libva-nvidia-driver for a while now in order to get Firefox's HW acceleration to work with Nvidia via VA-API. I disabled that (i.e. uninstalled it, because for some reason VLC will still crash when it's installed even with HW acceleration explicitly disabled or set to VDPAU) and sure enough, VLC is working again.

I also checked upstream's github, and found this: Issue after upgrading to 525 series drivers. It seems it has been a kind-of-known issue since the 525 beta (kind of, because there are no libplacebo crashes reported, in fact there is even mention of using that as a testbed).

OP, could you be using this third-party driver as well? I'd guess you do, seeing as you've mentioned that you have Firefox on Nvidia with working HW acceleration. And I just noticed that you also mentioned seeing a bunch of Firefox coredumps... smile

Offline

#21 2022-12-06 10:54:16

BollerwagenPicard
Member
From: Grimma | Germany
Registered: 2021-07-30
Posts: 47

Re: VLC crashing on playback

seth wrote:

gitkraken is gtk3, so it's probably not a Qt issue.

I haven't yet dared to do the driver downgrade

https://wiki.archlinux.org/title/Arch_Linux_Archive
As long as you're still on linux 6.0.10.arch2-1, you can downgrade to 520.56.06-12
Edit: nvidia and nvidia-utils together.

I'm on 6.0.11-arch1-1 sad

Nocifer wrote:

OK, I found the culprit, at least in my case. I noticed a bunch of Firefox coredumps from within the past few days that point to issues with libva, and I remembered that I've been using libva-nvidia-driver for a while now in order to get Firefox's HW acceleration to work with Nvidia via VA-API. I disabled that (i.e. uninstalled it, because for some reason VLC will still crash when it's installed even with HW acceleration explicitly disabled or set to VDPAU) and sure enough, VLC is working again.

I also checked upstream's github, and found this: Issue after upgrading to 525 series drivers. It seems it has been a kind-of-known issue since the 525 beta (kind of, because there are no libplacebo crashes reported, in fact there is even mention of using that as a testbed).

OP, could you be using this third-party driver as well? I'd guess you do, seeing as you've mentioned that you have Firefox on Nvidia with working HW acceleration. And I just noticed that you also mentioned seeing a bunch of Firefox coredumps... smile


Fixed it for me with a change to libva-vdpau-driver

Last edited by BollerwagenPicard (2022-12-06 11:57:20)

Offline

Board footer

Powered by FluxBB