awen233333
V2EX  ›  Linux

求助, ubuntu 报错,缺少动态库,谷歌搜索不到

By awen233333 at 2021 年 11 月 23 日 · 4550 次点击
ubuntu@VM-8-7-ubuntu:~$ sudo startx


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux VM-8-7-ubuntu 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-77-generic root=UUID=b986dc3b-6b82-44d5-acb8-6cbad5e357d5 ro net.ifnames=0 biosdevname=0 console=ttyS0,115200 console=tty0 panic=5 intel_idle.max_cstate=1 intel_pstate=disable crashkernel=4G-:512M
Build Date: 06 July 2021 10:17:51AM
xorg-server 2:1.20.11-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Nov 23 17:15:27 2021
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 14: 1013:00b8, driver (null)
MESA-LOADER: failed to open cirrus: /usr/lib/dri/cirrus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: cirrus
(II) modeset(0): Initializing kms color map for depth 16, 6 bpc.
第 1 条附言  ·  2021 年 11 月 24 日
昨天回复里的都试了,还是没发现 cirrus_dri.so
12 条回复  •  2021-11-30 15:47:51 +08:00
awen233333
   1
awen233333  
OP
   2021 年 11 月 23 日 via Android
cirrus_dri.so 是干什么的,网上只看到有 ciccus_drv.so
Girls
   2
Girls  
   2021 年 11 月 23 日
cat /var/log/Xorg.1.log 看看有没有什么发现。
defunct9
   4
defunct9  
   2021 年 11 月 23 日
开 ssh ,让我上去看看
Girls
   5
Girls  
   2021 年 11 月 23 日
@awen233333 这是驱动吧。可能驱动有问题。看能不能重装下驱动。
kokutou
   6
kokutou  
   2021 年 11 月 23 日 via Android
显卡驱动
jim9606
   7
jim9606  
   2021 年 11 月 23 日
这个是 cirrus 的用户层驱动,虚拟机常用。
通常由 mesa3d 提供驱动,ubuntu 通常是 libgl1-mesa-dri 提供。
huangzxx
   8
huangzxx  
   2021 年 11 月 23 日
试试
apt-file find cirrus_dri.so
awen233333
   9
awen233333  
OP
   2021 年 11 月 24 日 via Android
@jim9606 装了,没找到这个动态库
awen233333
   10
awen233333  
OP
   2021 年 11 月 24 日 via Android
@Nangle 没有发现,找不到相关的东西
liuxu
   11
liuxu  
   2021 年 11 月 25 日
https://packages.debian.org/buster/xserver-xorg-video-cirrus

原则上你应该是需要根据官方文档重新安装 xorg
Oa
   12
Oa  
   2021 年 11 月 30 日
其实吧,你可以再装一台虚拟机,从这台新装的虚拟机上拷个动态库过去。一般 iso 镜像里面有初始的动态库,加载镜像选修复模式重新链接动态库就行了。当然,之后整的动态库就没法这么搞了。
Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
© 2026 V2EX · 39ms · 3.9.8.5