[Testing Update] 2023-01-04 - Kernels, Plasma 5.26., Deepin

Mh, it looks like something weird happened with these set of updates with VLC. I get a segfault when I try to read a video file in VLC. It’s fine on mpv though.

VLC didn’t get updated with this update set, so I guess we got a crappy version of one of its dependency (libva perhaps?).

    ~  vlc                                                                                                                                                         ✔ 
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b3d0f96550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055b3d1032b40] main playlist: playlist is empty
kf.kio.core: Invalid URL: QUrl("/home/frog")
kf.jobwidgets: Cannot register a job with KUiServerV2JobTracker without QGuiApplication::desktopFileName
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007f832c007a70] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f832c007a70] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
zsh: segmentation fault (core dumped)  vlc
    ~  vlc                                                                                                                                            SEGV ✘  14s  
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[00005574e5239550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005574e52d5b40] main playlist: playlist is empty
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007f95ec007a70] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f95ec007a70] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
zsh: segmentation fault (core dumped)  vlc  

To be investigated, it’s late for me. :slight_smile:

My inxi for people who are interested.

inxi -Fxxxnz                                                                                                                                                ✔ 
System:
  Kernel: 5.15.86-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: H170 PRO GAMING v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 0224
    date: 07/17/2015
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: quad core model: Intel Core i5-6400 bits: 64 type: MCP
    smt: <unsupported> arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 1088 high: 1600 min/max: 800/3300 cores: 1: 800 2: 800
    3: 1155 4: 1600 bogomips: 21607
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: ASUSTeK driver: nvidia
    v: 525.60.11 arch: Maxwell pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:13c2 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 92 s-size: 1060x301mm (41.73x11.85")
    s-diag: 1102mm (43.38")
  Monitor-1: DVI-D-0 pos: primary,right res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  Monitor-2: HDMI-0 pos: left res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.60.11 renderer: NVIDIA GeForce GTX
    970/PCIe/SSE2 direct render: Yes

EDIT: Well, it looks like I am not the only one getting the exact same error.

EDIT2: It think it might be caused by NVIDIA drivers actually. libva and many packages related to hardware acceleration got updated, but we got no update for nvidia utils which provides software for hardware acceleration for NVIDIA GPUs. I would try to rebuild nvidia-utils and the NVIDIA drivers and release it in repos to see if it fixes the issue.

EDIT3: Made some progress with this issue. It looks like VLC doesn’t like the new version of libva that we got. If I downgrade libva from 2.17.0 to 2.16.0, VLC works properly again. Weird.

EDIT4: VLC works properly with libva at version 2.17.0 if I set the Output option in Preferences > Video at VDPAU output instead of Automatic (the latter being the default setting).