V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jcto
V2EX  ›  程序员

contos7 startx error

  •  
  •   jcto · 2020-03-05 09:47:27 +08:00 · 3011 次点击
    这是一个创建于 1756 天前的主题,其中的信息可能已经有所发展或是发生改变。
    [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


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


    什么鬼?大侠请出手。。。
    5 条回复    2020-03-05 10:59:54 +08:00
    jcto
        1
    jcto  
    OP
       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
        2
    BrettD  
       2020-03-05 09:52:51 +08:00 via iPhone
    看起来像是驱动问题
    jcto
        3
    jcto  
    OP
       2020-03-05 09:54:18 +08:00
    @BrettD 谢谢,怎么把驱动搞正确呢?
    omph
        4
    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
        5
    omph  
       2020-03-05 10:59:54 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1509 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:07 · PVG 01:07 · LAX 09:07 · JFK 12:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.