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

2021-11-23 17:28:57 +08:00
 awen233333
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.
3402 次点击
所在节点    Linux
12 条回复
awen233333
2021-11-23 17:30:30 +08:00
cirrus_dri.so 是干什么的,网上只看到有 ciccus_drv.so
Nangle
2021-11-23 17:44:59 +08:00
cat /var/log/Xorg.1.log 看看有没有什么发现。
lc1450
2021-11-23 17:45:56 +08:00
defunct9
2021-11-23 17:47:12 +08:00
开 ssh ,让我上去看看
Nangle
2021-11-23 17:51:00 +08:00
@awen233333 这是驱动吧。可能驱动有问题。看能不能重装下驱动。
kokutou
2021-11-23 17:51:38 +08:00
显卡驱动
jim9606
2021-11-23 18:10:39 +08:00
这个是 cirrus 的用户层驱动,虚拟机常用。
通常由 mesa3d 提供驱动,ubuntu 通常是 libgl1-mesa-dri 提供。
huangzxx
2021-11-23 18:20:06 +08:00
试试
apt-file find cirrus_dri.so
awen233333
2021-11-24 09:27:31 +08:00
@jim9606 装了,没找到这个动态库
awen233333
2021-11-24 11:30:39 +08:00
@Nangle 没有发现,找不到相关的东西
liuxu
2021-11-25 09:59:41 +08:00
https://packages.debian.org/buster/xserver-xorg-video-cirrus

原则上你应该是需要根据官方文档重新安装 xorg
Oa
2021-11-30 15:47:51 +08:00
其实吧,你可以再装一台虚拟机,从这台新装的虚拟机上拷个动态库过去。一般 iso 镜像里面有初始的动态库,加载镜像选修复模式重新链接动态库就行了。当然,之后整的动态库就没法这么搞了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/817465

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX