contos7 startx error

2020-03-05 09:47:27 +08:00
 jcto
[root@iZwz9ifbf86lb9bakeur65Z ~]# startx
xauth: file /root/.serverauth.9250 does not exist


X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-957.1.3.el7.x86_64
Current Operating System: Linux iZwz9ifbf86lb9bakeur65Z 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-1062.12.1.el7.x86_64 root=UUID=b98386f1-e6a8-44e3-9ce1-a50e59d9a170 ro crashkernel=auto noibrs idle=halt net.ifnames=0 console=tty0 console=ttyS0,115200n8 LANG=en_US.UTF-8
Build Date: 09 August 2019 03:27:09AM
Build ID: xorg-x11-server 1.20.4-7.el7
Current version of pixman: 0.34.0
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.5.log", Time: Thu Mar 5 09:44:02 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 15: 1013:00b8, driver (null)
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/kms_swrast_dri.so: undefined symbol: amdgpu_query_sw_info
failed to load driver: kms_swrast
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/swrast_dri.so: undefined symbol: amdgpu_query_sw_info
failed to load swrast driver
couldn't get display device
(II) modeset(0): Initializing kms color map for depth 16, 6 bpc.
/usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/drivers/modesetting_drv.so: undefined symbol: drmModeListLessees
xinit: giving up
xinit: unable to connect to X server: No route to host


---------------------


什么鬼?大侠请出手。。。
2860 次点击
所在节点    程序员
5 条回复
jcto
2020-03-05 09:48:06 +08:00
[root@iZwz9ifbf86lb9bakeur65Z ~]# startx
xauth: file /root/.serverauth.9250 does not exist


X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-957.1.3.el7.x86_64
Current Operating System: Linux iZwz9ifbf86lb9bakeur65Z 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-1062.12.1.el7.x86_64 root=UUID=b98386f1-e6a8-44e3-9ce1-a50e59d9a170 ro crashkernel=auto noibrs idle=halt net.ifnames=0 console=tty0 console=ttyS0,115200n8 LANG=en_US.UTF-8
Build Date: 09 August 2019 03:27:09AM
Build ID: xorg-x11-server 1.20.4-7.el7
Current version of pixman: 0.34.0
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.5.log", Time: Thu Mar 5 09:44:02 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 15: 1013:00b8, driver (null)
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/kms_swrast_dri.so: undefined symbol: amdgpu_query_sw_info
failed to load driver: kms_swrast
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/swrast_dri.so: undefined symbol: amdgpu_query_sw_info
failed to load swrast driver
couldn't get display device
(II) modeset(0): Initializing kms color map for depth 16, 6 bpc.
/usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/drivers/modesetting_drv.so: undefined symbol: drmModeListLessees
xinit: giving up
xinit: unable to connect to X server: No route to host
BrettD
2020-03-05 09:52:51 +08:00
看起来像是驱动问题
jcto
2020-03-05 09:54:18 +08:00
@BrettD 谢谢,怎么把驱动搞正确呢?
omph
2020-03-05 10:59:06 +08:00
重装 amd 显卡驱动吧
[[SOLVED] after update, failed to load driver swrast - CentOS]( https://forums.centos.org/viewtopic.php?t=56273)
omph
2020-03-05 10:59:54 +08:00

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

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

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

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

© 2021 V2EX