Shawn111 发表于 2025-7-30 16:14:43

rk3588下eglinfo识别不了mali-G610驱动

内核日志显示驱动已经加载:
zlsota@Station-M3:~$ dmesg | grep -i mali
[    6.323875] mali fb000000.gpu: Kernel DDK version g15p0-01eac0
[    6.324656] mali fb000000.gpu: bin=0
[    6.324837] mali fb000000.gpu: leakage=12
[    6.324879] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
[    6.326261] mali fb000000.gpu: pvtm=835
[    6.335445] mali fb000000.gpu: pvtm-volt-sel=1
[    6.336071] mali fb000000.gpu: avs=0
[    6.336664] W : : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; : 136; : kbase_platform_rk_init(); power-off-delay-ms not available.
[    6.348356] mali fb000000.gpu: GPU hardware issue table may need updating:
[    6.348381] mali fb000000.gpu: GPU identified as 0x7 arch 10.8.6 r0p0 status 0
[    6.348449] mali fb000000.gpu: No priority control manager is configured
[    6.348620] mali fb000000.gpu: No memory group manager is configured
[    6.348647] mali fb000000.gpu: Protected memory allocator not available
[    6.348958] mali fb000000.gpu: Capping CSF_FIRMWARE_TIMEOUT to CSF_FIRMWARE_PING_TIMEOUT
[    6.349743] mali fb000000.gpu: Couldn't find power_model DT node matching 'arm,mali-simple-power-model'
[    6.349754] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.static-coefficient = 1*
[    6.349862] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.dynamic-coefficient = 1*
[    6.349965] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.ts = 4*
[    6.350075] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.thermal-zone = ''
[    6.351630] mali fb000000.gpu: Using configured power model mali-lodx-power-model, and fallback mali-simple-power-model
[    6.351743] mali fb000000.gpu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
[    6.365076] mali fb000000.gpu: Probed as mali0
[    9.206530] I : : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; : 405; : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '15:40:25', on 'Apr6 2023'.
[    9.206868] Mali:
[    9.206871] Mali device driver loaded
[   15.756114] mali fb000000.gpu: Loading Mali firmware 0x1010000
[   15.757708] mali fb000000.gpu: Mali firmware git_sha: 9b8db9aa05a7b4f3066fd75dbdff695262f891fe


运行eglinfo出现egl初始化, 应该是驱动的问题:
zlsota@Station-M3:~$ eglinfo

EGL client extensions string:
    EGL_EXT_client_extensions EGL_EXT_platform_base
    EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_x11
    EGL_EXT_platform_x11 EGL_KHR_platform_gbm EGL_KHR_platform_wayland
    EGL_EXT_platform_wayland

GBM platform:
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '7'.
eglinfo: eglInitialize failed

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
eglinfo: eglInitialize failed

但是openCL又正常:
zlsota@Station-M3:~$ clinfo --list
Platform #0: ARM Platform
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '7'.
`-- Device #0: Mali-LODX r0p0



Jakey.Chen 发表于 2025-8-27 09:20:31

问题解决了嘛?怎么解决的?
页: [1]
查看完整版本: rk3588下eglinfo识别不了mali-G610驱动