自己编译的系统镜像和官网的镜像对比,eglinfo 差异很大,这是为什么
本帖最后由 mengo 于 2022-3-9 16:24 编辑官网镜像的 eglinfo:
EGL client extensions string:
EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query
EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland
EGL_EXT_platform_x11 EGL_MESA_platform_gbm
EGL_MESA_platform_surfaceless EGL_EXT_platform_device
GBM platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL extensions string:
EGL_ANDROID_blob_cache EGL_EXT_buffer_age
EGL_EXT_image_dma_buf_import EGL_KHR_cl_event2 EGL_KHR_config_attribs
EGL_KHR_create_context EGL_KHR_create_context_no_error
EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
Configurations:
bf lv colorbuffer dp stms vis cav birenderablesupported
id szlrgba th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 3208888000 0 0x34325241-- yyy win
0x02 3208888 1600 0 0x34325241-- yyy win
0x03 3208888 2400 0 0x34325241-- yyy win
0x04 3208888 2480 0 0x34325241-- yyy win
0x05 3208888 3200 0 0x34325241-- yyy win
0x06 2408880000 0 0x34325258-- yyy win
0x07 2408880 1600 0 0x34325258-- yyy win
0x08 2408880 2400 0 0x34325258-- yyy win
0x09 2408880 2480 0 0x34325258-- yyy win
0x0a 2408880 3200 0 0x34325258-- yyy win
0x0b 1605650000 0 0x36314752-- yyy win
0x0c 1605650 1600 0 0x36314752-- yyy win
0x0d 1605650 2400 0 0x36314752-- yyy win
0x0e 1605650 2480 0 0x36314752-- yyy win
0x0f 1605650 3200 0 0x36314752-- yyy win
Wayland platform:
eglinfo: eglInitialize failed
X11 platform:
libEGL warning: DRI2: failed to authenticate
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL extensions string:
EGL_KHR_cl_event2 EGL_KHR_config_attribs
EGL_KHR_context_flush_control EGL_KHR_create_context
EGL_KHR_create_context_no_error EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_query_driver
Configurations:
bf lv colorbuffer dp stms vis cav birenderablesupported
id szlrgba th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 3208888000 0 0x21TC ayyy win,pb,pix
0x02 3208888 1600 0 0x21TC ayyy win,pb,pix
0x03 3208888 2400 0 0x21TC ayyy win,pb,pix
0x04 3208888 2480 0 0x21TC ayyy win,pb,pix
0x05 3208888 3200 0 0x21TC ayyy win,pb,pix
0x06 2408880000 0 0x21TC yyyy win,pb,pix
0x07 2408880 1600 0 0x21TC yyyy win,pb,pix
0x08 2408880 2400 0 0x21TC yyyy win,pb,pix
0x09 2408880 2480 0 0x21TC yyyy win,pb,pix
0x0a 2408880 3200 0 0x21TC yyyy win,pb,pix
0x0b 3208888000 0 0x22DC ayyy win,pb,pix
0x0c 3208888 1600 0 0x22DC ayyy win,pb,pix
0x0d 3208888 2400 0 0x22DC ayyy win,pb,pix
0x0e 3208888 2480 0 0x22DC ayyy win,pb,pix
0x0f 3208888 3200 0 0x22DC ayyy win,pb,pix
0x10 2408880000 0 0x22DC yyyy win,pb,pix
0x11 2408880 1600 0 0x22DC yyyy win,pb,pix
0x12 2408880 2400 0 0x22DC yyyy win,pb,pix
0x13 2408880 2480 0 0x22DC yyyy win,pb,pix
0x14 2408880 3200 0 0x22DC yyyy win,pb,pix
Device platform:
eglinfo: eglInitialize failed
================================================================
我自己用 linux sdk 编译的镜像:
eglinfo:
EGL client extensions string:
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_platform_x11
EGL_KHR_platform_gbm
GBM platform:
eglinfo: eglInitialize failed
X11 platform:
arm_release_ver of this libMali is r7p0-00rel0, rk_so_ver is '1', built at '09:31:38', on 'Mar 16 2020'.
EGL API version: 1.4
EGL vendor string: ARM
EGL version string: 1.4 Linux-r7p0-00rel0
EGL client APIs: OpenGL_ES
EGL extensions string:
EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_EXT_image_dma_buf_import EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_reusable_sync EGL_KHR_fence_sync
EGL_KHR_swap_buffers_with_damage EGL_EXT_swap_buffers_with_damage
EGL_KHR_lock_surface EGL_KHR_lock_surface2
EGL_EXT_create_context_robustness EGL_ANDROID_blob_cache
EGL_KHR_create_context EGL_KHR_partial_update
EGL_KHR_create_context_no_error
Configurations:
bf lv colorbuffer dp stms vis cav birenderablesupported
id szlrgba th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x05 1605650 2480 0 0x00SG yy yy pb,pix
0x03 1605650 2484 1 0x00SG yy yy pb,pix
0x04 1605650 248 16 1 0x00SG yy yy pb,pix
0x13 1605551 2480 0 0x00SG ya yy pb
0x12 1605551 2484 1 0x00SG ya yy pb
0x14 1605551 248 16 1 0x00SG ya yy pb
0x15 1604444 2480 0 0x00SG ya yy pb
0x16 1604444 2484 1 0x00SG ya yy pb
0x17 1604444 248 16 1 0x00SG ya yy pb
0x09 3208888 2480 0 0x63SG a yy win,pb,pix
0x26 2408880 2480 0 0x21SG ya yy win,pb,pix
0x29 2408880 2484 1 0x21SG ya yy win,pb,pix
0x2a 2408880 248 16 1 0x21SG ya yy win,pb,pix
0x0c 3208888 2484 1 0x63SG a yy win,pb,pix
0x0f 3208888 248 16 1 0x63SG ya yy win,pb,pix
0x0d800000000 0 0x00SG y pix
0x0e 1600008000 0 0x00SG y pix
0x1c 1605650001 0 0x00SG y
0x23 1605551001 0 0x00SG y
0x22 3208888001 0 0x63SG win
0x1b 3208888001 0 0x63SG win
0x27 3208888 2480 0 0x00SG a yy pix
查看 libmali,竟然是 3399 的 mali 库?
firefly@firefly:~$ dpkg -l | grep libmali
iilibmali-rk-dev:arm64 1.7-1 arm64 The mali library for Rockchip RK3288 RK3399.
iilibmali-rk-midgard-t86x-r14p0:arm641.7-1 arm64 The mali library for Rockchip RK3399.
我参考的编译教程是 https://wiki.t-firefly.com/zh_CN/ROC-RK3328-PC/linux_compile.html
本帖最后由 mengo 于 2022-3-9 16:33 编辑
官网镜像信息:
【名称】
ROC-RK3328-PC-UBUNTU-18.04_DESKTOP-GPT-20211230-1007.img
【下载链接】
https://pan.baidu.com/share/init?surl=1OlZVPI-tC3ZNah7JP0llA
【kernel】
Linux version 4.4.194+ (jincheng@jincheng-PC) (local/new/internal-gitlab/rk3399/firefly: bcd190d4221dcefe664a1fe9aebe17819db54b22) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #17 SMP Wed Dec 29 17:34:41 CST 2021
【ffgo version】
OS: Ubuntu 18.04.6 LTS
MODEL: Firefly ROC-RK3328-PC
FIREFLY: v2.10-62-g087b2b2
DATE: 20211229-1711
KERNEL:Linux version 4.4.194+ (jincheng@jincheng-PC) (local/new/internal-gitlab/rk3399/firefly: bcd190d4221dcefe664a1fe9aebe17819db54b22) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #17 SMP Wed Dec 29 17:34:41 CST 2021
我自己编译的:
【名称】
ROC-RK3328-PC-UBUNTUUBUNTU-GPT-20220309-1545.img
【SDK 版本】
/opt/rk3328_linux_release_v2.5.1_20210301/.repo/manifests/rk3399_linux/rk3399_linux_release_v2.5.1_20220101.xml
(很奇怪,为什么是 rk3399_xxx.xml??)
【kernel】
Linux version 4.4.194+ (firefly@firefly-PC) (firefly: 2c8b0d223c45454b8f8c0dc5cfd6bf2816a0a606) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #1 SMP Wed Mar 9 15:43:27 CST 2022
【ffgo version】
OS: Ubuntu 18.04.4 LTS
MODEL: Firefly ROC-RK3328-PC
FIREFLY: v2.03-1-g2ed565c
DATE: 20200617-1042
KERNEL:Linux version 4.4.194+ (firefly@firefly-PC) (firefly: 2c8b0d223c45454b8f8c0dc5cfd6bf2816a0a606) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #1 SMP Wed Mar 9 15:43:27 CST 2022
页:
[1]