VLC crashes when tryng to play Video

VLC crashes with a core dump when trying to play a Video

[jakob@Jakobs-PC]$ vlc "video.mp4" 
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000564b94b8c550] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[00007f0a68007860] gl gl: Initialized libplacebo v5.229.0 (API v229)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f0a68007860] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
Speicherzugriffsfehler (Speicherabzug geschrieben)
[jakob@Jakobs-PC]$

Hardware:

jakob@Jakobs-PC]$ inxi -F
System:
  Host: Jakobs-PC Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.26.5 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH MAX (MS-7A38) v: 8.0
    serial: <superuser required> UEFI: American Megatrends v: B.70
    date: 06/10/2020
CPU:
  Info: 6-core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 2005 min/max: 1550/3400 cores: 1: 1550 2: 3900 3: 3181
    4: 1378 5: 1550 6: 1499 7: 2654 8: 1535 9: 2171 10: 1550 11: 1550 12: 1550
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nvidia v: 525.89.02
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8 driver: X:
    loaded: nvidia gpu: nvidia resolution: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce RTX 2060
    SUPER/PCIe/SSE2
Audio:
  Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.1.12-1-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: yes
  Sound Server-2: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp37s0 state: down mac: 2c:f0:5d:81:80:8b
  Device-2: AVM GmbH FRITZ!WLAN AC 860 type: USB driver: mt76x2u
  IF: wlp3s0f0u10 state: up mac: dc:39:6f:98:23:c0
Drives:
  Local Storage: total: 2.27 TiB used: 1.87 TiB (82.2%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M8500G size: 465.76 GiB
  ID-2: /dev/sda vendor: Toshiba model: HDWD110 size: 931.51 GiB
  ID-3: /dev/sdb type: USB vendor: Seagate model: Expansion size: 931.51 GiB
Partition:
  ID-1: / size: 457.09 GiB used: 401.86 GiB (87.9%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 45.1 C mobo: N/A gpu: nvidia temp: 52 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 374 Uptime: 8h 36m Memory: 15.57 GiB used: 10.72 GiB (68.8%)
  Shell: Bash inxi: 3.3.25
[jakob@Jakobs-PC]$ 

I already tried to delete all files of VLC and disabling Hardware Acceleration (looks like a error caused by the NVIDIA Drivers), but with no luck

Try VDPAU

On a side note, it looks like you do not have a swap file or swap partition. It would be a good idea to have one or the other. A swap file is very simple to implement.

https://wiki.archlinux.org/title/swap

Also you have 2 sound servers running. Choose one:

pamac install manjaro-pipewire

NVidia Only Fixes

Either do this:

Or if you need a proper fix that also fixes OBS and Fire Fox, Etc then do this:

https://forum.manjaro.org/t/still-no-fix-to-obs/134168/3?u=thereaperuk

Try VDPAU

Thanks, but unfortunately this doesn’t help.

On a side note, it looks like you do not have a swap file or swap partition.

I know, but I currently don’t see a value in it. I have 16GB RAM and I didn’t need to swap.

Also you have 2 sound servers running. Choose one:

Thanks. I didn’t know that. I prefer using PulseAudio at the Moment. It looks like Pipewire was installed as a depency and I can’t remove it.

[jakob@Jakobs-PC ~]$ sudo pacman -R manjaro-pipewire
error: target not found: manjaro-pipewire
[jakob@Jakobs-PC ~]$ sudo pacman -S manjaro-pipewire
resolving dependencies...
looking for conflicting packages...
:: manjaro-pipewire and manjaro-pulse are in conflict. Remove manjaro-pulse? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: manjaro-pipewire and manjaro-pulse are in conflict
[jakob@Jakobs-PC ~]$ sudo pacman -R pipewire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pipewire breaks dependency 'libpipewire-0.3.so=0-64' required by fluidsynth
:: removing pipewire breaks dependency 'libpipewire-0.3.so=0-64' required by gamescope
:: removing pipewire breaks dependency 'pipewire' required by kpipewire
:: removing pipewire breaks dependency 'pipewire' required by lib32-pipewire
:: removing pipewire breaks dependency 'pipewire' required by mpd
:: removing pipewire breaks dependency 'libpipewire-0.3.so=0-64' required by mpd
:: removing pipewire breaks dependency 'pipewire' required by mpv
:: removing pipewire breaks dependency 'pipewire' required by obs-studio
:: removing pipewire breaks dependency 'pipewire>=0.3.39' required by pipewire-media-session
:: removing pipewire breaks dependency 'libpipewire-0.3.so=0-64' required by pipewire-media-session
:: removing pipewire breaks dependency 'pipewire' required by xdg-desktop-portal
[jakob@Jakobs-PC ~]$ 

https://forum.manjaro.org/t/still-no-fix-to-obs/134168/3?u=thereaperuk

This Link doesn’t work.

Strange Link works fine for me, I’ll cut and paste it here:

If your using Nvidia Graphics then this worked for me.

removing the “libva-vdpau-driver” and installing the “libva-nvidia-driver” from AUR.

This fixed OBS segfault, It also fixed VLC player from crashing when playing a video, it also fixed Firefox crashing when performance settings and hardware acceleration where enabled.

1 Like

This solves the Problem. Many thanks!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.