惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
人人都是产品经理
人人都是产品经理
罗磊的独立博客
博客园 - 聂微东
雷峰网
雷峰网
量子位
美团技术团队
V
V2EX
The GitHub Blog
The GitHub Blog
大猫的无限游戏
大猫的无限游戏
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
IT之家
IT之家
The Cloudflare Blog
爱范儿
爱范儿
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
Jina AI
Jina AI

Victrid's Personal Site

斯普拉遁3打工模式联机网络过程分析 DHCP无类型静态路由──一个摆设 配置透明代理,实现无感上网 Generating Unlimited Grammar: A Messenger Perspective LaTeX插入其他PDF中的矢量图 光速不变原理和迈克尔孙──莫雷实验 交大葡萄演义 调试微信内置浏览器 欧悌甫戎篇 苏格拉底的申辩篇 LCA 最近公共祖先 弥罗斯人的辩论 埃斯库罗斯作品:波斯人、阿伽门农 电路理论资料 Coronavirus: A Humanitarian Crisis 雨夜 linux配置SSR 二叉堆的实现 懒政 Placement New Flipped: A Love Story 我宁可呆在这样的疯人院里 谈新发本地病例 勇敢与智慧 Powerful but Limited Drafted Ring-Fit新上手 政治艺术化与艺术政治化 动态规划——从分割等和子集入手 被背叛的革命 (1)
VLC Libva Error Troubleshooting
Victrid · 2020-03-03 · via Victrid's Personal Site

VLC player is well-designed and powerful, and I prefer this type of software designing. (Although UNIX's politically correct answer is Keep It Simple, Stupid, In the multimedia region I prefer a powerful and what-you-see-is-what-you-get interface, just the same design of those old cassette recorder.)

VLC is preinstalled with KDE, or some basic structures. I couldn't play video, but audio is OK since then.

Problem Description

Everytime I tried to play a video, e.g. MP4 with VLC, the interface just flashed and nothing displayed.

using journalctl I got

1
kernel: vlc[33836]: segfault at 168 ip 00007fb96213e11c sp 00007fb920207320 error 4 in libva.so.2.600.0[7fb96212d000+13000]

and I tried vlc -vvv to show the verbose messages, I got

1
2
3
4
5
6
7
8
9
10
11
[00007f82180017f0] egl_x11 gl debug: EGL version 1.4 by Mesa Project
[00007f82180017f0] egl_x11 gl debug: extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
[00007f82180017f0] main gl debug: using opengl module "egl_x11"
[00007f8218658f00] main generic debug: looking for glconv module matching "any": 4 candidates
[00007f82180017f0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007f82180017f0] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007f82180017f0] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007f8218658f00] main generic debug: using glconv module "glconv_vaapi_drm"
[00007f82180013b0] main vout display debug: using vout display module "gl"
[1] 32678 segmentation fault (core dumped) vlc -vvv

Way to Solution

microcode problem?

Though the Archwiki page VLC has some suggestions on segmentation fault, it indicates it as a microcode problem. That's something happens as missing VLC interface. I can play audio file with VLC, after trying the solution I think it's not the microcode problem.

VLC bug?

Some reports says it's a bug, that older VLC uses strlen() on a null pointer, but they were posted years ago and I believe it's not my problem. My VLC is fully updated.

libva error: Display drivers

When checking vaapi and libva error, I found it might be a problem with NVIDIA GPU. Some articles point out that Intel uses vaapi and Nvidia uses vaapu. After updated nvidia, libva, the problem still happens.

Checking VLC's optional dependencies, I found

1
2
libva-vdpau-driver: vdpau backend nvidia
libva-intel-driver: video backend intel

not installed. It could be essential if you have these GPUs. After installing these two (my laptop uses both intel and Nvidia to display) drivers, my problem finally solved.

Author: Victrid

Permanent Link: https://victrid.dev/2020/vlc-troubleshooting/

License: Copyright (c) 2025 victrid Terms of Use

Ads by Google

Read our privacy policy on how these personalized advertisements are delivered to you.

For your reading experience, we provide full-text RSS feeds. Although math formulas cannot be displayed well, the interface can be adjusted as you like and there are no ads.