我正在尝试让英特尔集成 GPU 与我的 Parabola(Arch 变体)台式电脑配合使用。根据lspci
,GPU 是:
00:02.0 Display controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
我已重新配置我的 xorg.conf 文件以指向它;但是,当我运行时startx
,我在 Xorg 日志文件中收到以下错误:
[ 1611.090] (II) Initializing extension GLX
[ 1611.101] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 1611.101] (EE) AIGLX error: unable to load driver i965
所以,似乎无法找到GPU的i965驱动程序。查看/usr/lib/dri
确认驱动程序文件不存在:
# ls /usr/lib/dri
crocus_dri.so iris_dri.so nouveau_dri.so r600_dri.so swrast_dri.so vmwgfx_dri.so
d3d12_dri.so kms_swrast_dri.so r300_dri.so radeonsi_dri.so virtio_gpu_dri.so zink_dri.so
然而,如果我检查已安装的 mesa 软件包的文件列表,它会显示应该安装该文件:
# pacman -Fl mesa | grep dri
mesa usr/include/GL/internal/dri_interface.h
mesa usr/lib/dri/
mesa usr/lib/dri/i915_dri.so
mesa usr/lib/dri/i965_dri.so
mesa usr/lib/dri/iris_dri.so
mesa usr/lib/dri/kms_swrast_dri.so
mesa usr/lib/dri/nouveau_dri.so
mesa usr/lib/dri/nouveau_vieux_dri.so
mesa usr/lib/dri/r200_dri.so
mesa usr/lib/dri/r300_dri.so
mesa usr/lib/dri/r600_dri.so
mesa usr/lib/dri/radeon_dri.so
mesa usr/lib/dri/radeonsi_dri.so
mesa usr/lib/dri/swrast_dri.so
mesa usr/lib/dri/virtio_gpu_dri.so
mesa usr/lib/dri/vmwgfx_dri.so
mesa usr/lib/pkgconfig/dri.pc
mesa usr/share/drirc.d/
mesa usr/share/drirc.d/00-mesa-defaults.conf
然而,如果我检查 mesa 包 tar 存档,该驱动程序文件显然不存在:
# tar -tf mesa-22.2.1-1-x86_64.pkg.tar.zst | grep dri
usr/include/GL/internal/dri_interface.h
usr/lib/dri/
usr/lib/dri/crocus_dri.so
usr/lib/dri/d3d12_dri.so
usr/lib/dri/iris_dri.so
usr/lib/dri/kms_swrast_dri.so
usr/lib/dri/nouveau_dri.so
usr/lib/dri/r300_dri.so
usr/lib/dri/r600_dri.so
usr/lib/dri/radeonsi_dri.so
usr/lib/dri/swrast_dri.so
usr/lib/dri/virtio_gpu_dri.so
usr/lib/dri/vmwgfx_dri.so
usr/lib/dri/zink_dri.so
usr/lib/pkgconfig/dri.pc
usr/share/drirc.d/
usr/share/drirc.d/00-mesa-defaults.conf
那么,这是怎么回事呢? “i965_dri.so”应该随台面一起提供,还是我应该从其他地方获取它?如果它应该在那里,我可能应该提交一份问题报告?
答案1
运行sudo pacman -Fy
以刷新您的包文件数据库。包装i965_dri.so
内有mesa-amber
:
↪ pacman -F i965_dri.so
multilib/lib32-mesa-amber 21.3.9-2
usr/lib32/dri/i965_dri.so
extra/mesa-amber 21.3.9-2
usr/lib/dri/i965_dri.so