问题描述:
使用Manjaro,vlc 版本:3.0.
18-12
Vlc 在播放视频时会直接闪退,报错代码:
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
[00007fec9c006820] gl gl: Initialized libplacebo v5.229.2 (API v229)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007fec9c006820] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
zsh: segmentation fault (core dumped) vlc
可以播放音乐,但是视频不行
解决办法
在这里找到了解决办法,是因为软件不兼容导致的:
https://bbs.archlinux.org/viewtopic.php?id=282638
我们只需要把 libva的e版本退回2.16.0-1就可以了(出问题是2.17.0-1
pacman -U https://archive.archlinux.org/repos/2023/01/02/extra/os/x86_64/libva-2.16.0-1-x86_64.pkg.tar.zst https://archive.archlinux.org/repos/2023/01/02/community/os/x86_64/libva-utils-2.16.0-1-x86_64.pkg.tar.zst