395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

X server调用hibmc驱动失败

已完成
任务
创建于  
2021-04-23 18:09

环境描述:

  1. TaiShan 200  aarch64  Kunpeng-920

  2. 内核版本
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 4.19.90 #3 SMP Fri Apr 23 12:13:21 CST 2021 aarch64             
    aarch64 aarch64 GNU/Linux

  3. 显卡型号
    [root@localhost ~]# lspci  | grep  -i  VGA
    06:00.0 VGA compatible controller: Huawei Technologies Co., Ltd. Hi1710 [iBMC         
    Intelligent Management system chip w/VGA support] (rev 01)

  4. 显卡驱动
    [root@localhost ~]# lsmod | grep hibmc
    hibmc_drm             262144  2
    ttm                   393216  1 hibmc_drm

问题描述:

   在通过如下命令启动服务时查看/var/log/message和dmesg报出错误信息

   systemctl    start    initial-setup 

/var/log/message 涉及错误信息:

Apr 22 17:23:14 localhost initial-setup[1040780]: Starting Initial Setup GUI
Apr 22 17:23:14 localhost run-initial-setup[1040777]: X.Org X Server 1.20.8
Apr 22 17:23:14 localhost run-initial-setup[1040777]: X Protocol Version 11, Revision 0
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Build Operating System: 4.19.90-2104.2.0.0065.up1.uel20.aarch64
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Current Operating System: Linux localhost.localdomain 4.19.90-2104.2.0.0065.up1.uel20.aarch64 #1 SMP Thu Apr 15 00:44:58 UTC 2021 aarch64
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.90-2104.2.0.0065.up1.uel20.aarch64 root=/dev/mapper/uos00-root ro rd.lvm.lv=uos00/root rd.lvm.lv=uos00/swap video=VGA-1:640x480-32@60me rhgb console=tty0 crashkernel=1024M,high smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Build Date: 15 April 2021 05:11:45AM
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Build ID: xorg-x11-server 1.20.8-4.up2.uel20
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Current version of pixman: 0.40.0
Apr 22 17:23:14 localhost run-initial-setup[1040777]: #011Before reporting problems, check http://wiki.x.org
Apr 22 17:23:14 localhost run-initial-setup[1040777]: #011to make sure that you have the latest version.
Apr 22 17:23:14 localhost run-initial-setup[1040777]: Markers: (--) probed, (**) from config file, (==) default setting,
Apr 22 17:23:14 localhost run-initial-setup[1040777]: #011(++) from command line, (!!) notice, (II) informational,
Apr 22 17:23:14 localhost run-initial-setup[1040777]: #011(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Apr 22 17:23:14 localhost run-initial-setup[1040777]: (==) Log file: "/var/log/Xorg.9.log", Time: Thu Apr 22 17:23:14 2021
Apr 22 17:23:14 localhost run-initial-setup[1040777]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Apr 22 17:23:14 localhost run-initial-setup[1040777]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Apr 22 17:23:14 localhost run-initial-setup[1040777]: pci id for fd 11: 19e5:1711, driver (null)
Apr 22 17:23:14 localhost run-initial-setup[1040777]: MESA-LOADER: failed to open hibmc (search paths /usr/lib64/dri)
Apr 22 17:23:14 localhost run-initial-setup[1040777]: failed to load driver: hibmc
Apr 22 17:23:14 localhost run-initial-setup[1040777]: (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
Apr 22 17:23:14 localhost initial-setup[1040964]: Running window manager (/usr/bin/kwin_x11)
Apr 22 17:23:14 localhost initial-setup[1040967]: Running (/usr/libexec/initial-setup/initial-setup-graphical)

内核dmesg涉及hibmc信息:

[ 10.772182] hibmc-drm 0000:06:00.0: fb0: hibmcdrmfb frame buffer device

[ 10.974752] [drm] Initialized hibmc 1.0.0 20160828 for 0000:06:00.0 on minor 0

现象描述

  1. 错误信息是主动查看/var/log/message时看到的。
  2. 其他一切正常,可以设置屏幕分辨率,刷新率通过BMC控制网页设置默认只有60赫兹选项。

问题:

 **1. 海思的hibmc i1710是否实现了x11的驱动呢??** 
 **2. 通过现象看没有走i1710的GPU硬件驱动,走的是软驱动么?此问题等待各位给出解决发方案。

**

工具结果

[root@localhost linux-4.19.90-2104.16.0.0080.up1.aarch64]# glxinfo  -B

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 10.0.1, 128 bits) (0xffffffff)
    Version: 20.1.4
    Accelerated: no
    Video memory: 129299MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
    OpenGL vendor string: VMware, Inc.
    OpenGL renderer string: llvmpipe (LLVM 10.0.1, 128 bits)
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.4
    OpenGL core profile shading language version string: 3.30
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    
    OpenGL version string: 3.1 Mesa 20.1.4
    OpenGL shading language version string: 1.40
    OpenGL context flags: (none)
    
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.4
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

评论 (4)

Hey solomon2020, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

mixiaochao 创建了任务
mixiaochao 关联仓库设置为openEuler/kernel
mixiaochao 修改了描述
sanglipeng 添加了
 
issue_needinfo
标签
sanglipeng 负责人设置为sanglipeng
sanglipeng 任务状态待办的 修改为进行中
sanglipeng 负责人sanglipeng 修改为未设置
展开全部操作日志

这问题解决没?

sanglipeng 关联分支设置为openEuler-20.09
sanglipeng 移除了
 
issue_needinfo
标签
sanglipeng 移除了
 
issue_needinfo
标签

@mixiaochao 您好,此任务还需继续执行吗? 如果不再需要,我们将在一周后关闭此issue。如果您还需要继续此任务,请创建新的issue。

sanglipeng 任务状态进行中 修改为已完成

@mixiaochao 请问这个问题后继如何 解决的?

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936 9218917 wonleing 1704791991 7789375 solomon2020 1594695182
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助