Ubuntu 下 VLC 启动崩溃(Segmentation fault)修复方案
适用环境:Intel Alder Lake-P / Iris Xe + Snap VLC
在 Ubuntu Desktop 上启动 VLC 时,报错信息如下:
Driver does not support the 0x46a6 PCI ID. libGL error: failed to create dri screen libGL error: failed to load driver: iris VLC media player 3.0.20 Vetinari (revision 3.0.20-1-g2617de71b6)[00006053694bda00] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Fontconfig warning: FcPattern object width does not accept value [75100) Segmentation fault (core dumped)
这大概率是踩中了 Intel Iris Xe + Snap VLC + 老版本 Mesa 的组合问题。
一、问题现象
通过 Ubuntu 自带的应用商店(官网也挂着商店链接)无论是点击图标还是终端执行 vlc,都会出现:
- 桌面点击 VLC 无反应或闪退
- 终端启动直接 Segmentation fault
- 日志中出现 Driver does not support the 0x46a6 PCI ID
二、运行环境(典型触发条件)
- Ubuntu Desktop:22.04 / 24.04 / 25.10 均可能
- CPU / GPU:
Intel Alder Lake-P GT2(Iris Xe Graphics)
PCI ID:
0x46a6 - VLC 版本:3.0.20(Ubuntu 默认)
确认显卡:
lspci |grep -i vga # 输出如下:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics](rev 0c)
三、错误信息解读:关键在这一句
Driver does not support the 0x46a6 PCI ID
这句话的含义非常明确:
- VLC 在初始化 OpenGL


