mesa3d 编译进来后,panfrost能够正常挂载,has_afbc = false已经设置,但是系统画面卡在logo,没有开机动画,也不能进待机。

panfrost 挂载log,看起来正常:

[    2.303216] panfrost 60000000.gpu: clock rate = 128000000
[    2.308831] panfrost 60000000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[    2.317580] panfrost 60000000.gpu: [drm:panfrost_devfreq_init] Failed to register cooling device
[    2.326333] panfrost 60000000.gpu: mali-t820 id 0x820 major 0x1 minor 0x0 status 0x0
[    2.333980] panfrost 60000000.gpu: features: 00000000,101e76ff, issues: 00000000,24040400
[    2.342102] panfrost 60000000.gpu: Features: L2:0x06100206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[    2.353878] panfrost 60000000.gpu: shader_present=0x1 l2_present=0x1
[    2.361007] [drm] Initialized panfrost 1.1.0 20180908 for 60000000.gpu on minor 0
 

 

开启hilog后发现有这个log,load几个so不成功,然后 kmsdevice 是要用的吗?

01-01 19:03:36.173   536   536 W C01400/DISP: [Init@drm_connector.cpp:97] can not get the brightness prop, can not set the brightness
01-01 19:03:36.173   536   536 E C01400/DISP: [GetCrtcProp@drm_plane.cpp:58] plane 31 crtc_x 0 crtc_y 0 crtc_w 0 crtc_h 0
01-01 19:03:36.174   610   610 I C01800/SAFWK: LocalAbilityManager::InitSystemAbilityProfiles [PerformanceTest] SAFWK parse process:pasteboard_service system ability profiles finished, spend:0 ms
01-01 19:03:36.174   536   536 E C01400/DISP: [GetSrcProp@drm_plane.cpp:90] plane 31 src_x 0 src_y 0 src_w 0 src_h 0
01-01 19:03:36.176   536   536 E C01400/DISP: [GetCrtcProp@drm_plane.cpp:58] plane 44 crtc_x 0 crtc_y 0 crtc_w 0 crtc_h 0
01-01 19:03:36.177   536   536 E C01400/DISP: [GetSrcProp@drm_plane.cpp:90] plane 44 src_x 0 src_y 0 src_w 0 src_h 0
01-01 19:03:36.179   536   536 E C01400/DISP: [GetCrtcProp@drm_plane.cpp:58] plane 57 crtc_x 0 crtc_y 0 crtc_w 0 crtc_h 0
01-01 19:03:36.180   536   536 E C01400/DISP: [GetSrcProp@drm_plane.cpp:90] plane 57 src_x 0 src_y 0 src_w 0 src_h 0
01-01 19:03:36.182   536   536 E C01400/DISP: [GetCrtcProp@drm_plane.cpp:58] plane 70 crtc_x 0 crtc_y 0 crtc_w 0 crtc_h 0
01-01 19:03:36.183   536   536 E C01400/DISP: [GetSrcProp@drm_plane.cpp:90] plane 70 src_x 0 src_y 0 src_w 0 src_h 0
01-01 19:03:36.183   616   616 I C01120/BundleMgrService: [installd_service.cpp(InitDir):65] Path already exists
01-01 19:03:36.183   616   616 I C01120/BundleMgrService: [installd_service.cpp(Init):57] HAP_COPY_PATH is already exists
01-01 19:03:36.184   242   242 I C01800/SAMGR: SystemAbilityManagerStub::OnReceived, code = 3, callerPid = 616, flags= 0
01-01 19:03:36.184   536   536 W C01400/DISP: [TryPickEncoder@drm_connector.cpp:184] can not find encoder for id : 0
01-01 19:03:36.184   536   536 W C01400/DISP: [PickIdleCrtcId@drm_encoder.cpp:35] can not find crtc for id 0
01-01 19:03:36.184   242   242 I C01800/SAMGR: insert 511. size : 18
01-01 19:03:36.184   242   259 I C01800/SAMGR: FindSystemAbilityNotify called:systemAbilityId = 511, code = 3
01-01 19:03:36.184   616   616 I C01120/BundleMgrService: [installd_service.cpp(Start):100] installd service start successfully
01-01 19:03:36.184   536   536 I C01400/DISP: [GfxModuleInit@hdi_gfx_composition.cpp:50] Loading module 'libdisplay_gfx.z.so'
01-01 19:03:36.185   536   536 E C01400/DISP: [GfxModuleInit@hdi_gfx_composition.cpp:53] Failed to load module: (null)
01-01 19:03:36.185   536   536 E C01400/DISP: [Init@hdi_gfx_composition.cpp:30] GfxModuleInit failed will use client composition always
01-01 19:03:36.185   536   536 I C01400/DISP: [VideoModuleInit@hdi_video_composition.cpp:31] Loading module 'libdisplay_layer_video.z.so'
01-01 19:03:36.187   536   536 E C01400/DISP:  [VideoModuleInit@hdi_video_composition.cpp:34] Failed to load module: Error loading shared library libhdi_video_layer_client.z.so: No such file or directory (needed by /vendor/lib/libdisplay_layer_video.z.so)
01-01 19:03:36.187   536   536 E C01400/DISP: [Init@hdi_video_composition.cpp:79] can not init the video module
01-01 19:03:36.187   536   536 E C01400/DISP: [IsDrmKmsDevice@display_utils.c:31] can not get drm mode resources
01-01 19:03:36.188   536   536 I C01400/DISP: [OpenDrmKmsDevice@display_utils.c:61] the drm device /dev/dri/card0 is not kms
01-01 19:03:36.188   536   536 I C01400/DISP: [OpenDrmKmsDevice@display_utils.c:58] use the drm device /dev/dri/card1

 

请帮忙看看,谢谢。
 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐