|
【技术讨论】
自己编译的系统镜像和官网的镜像对比,eglinfo 差异很大,这是为什么
发表于 2022-3-9 16:24:44
浏览:4915
|
回复:1
打印
只看该作者
[复制链接]
楼主
本帖最后由 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 st ms vis cav bi renderable supported
id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32 0 8 8 8 8 0 0 0 0 0x34325241-- y y y win
0x02 32 0 8 8 8 8 16 0 0 0 0x34325241-- y y y win
0x03 32 0 8 8 8 8 24 0 0 0 0x34325241-- y y y win
0x04 32 0 8 8 8 8 24 8 0 0 0x34325241-- y y y win
0x05 32 0 8 8 8 8 32 0 0 0 0x34325241-- y y y win
0x06 24 0 8 8 8 0 0 0 0 0 0x34325258-- y y y win
0x07 24 0 8 8 8 0 16 0 0 0 0x34325258-- y y y win
0x08 24 0 8 8 8 0 24 0 0 0 0x34325258-- y y y win
0x09 24 0 8 8 8 0 24 8 0 0 0x34325258-- y y y win
0x0a 24 0 8 8 8 0 32 0 0 0 0x34325258-- y y y win
0x0b 16 0 5 6 5 0 0 0 0 0 0x36314752-- y y y win
0x0c 16 0 5 6 5 0 16 0 0 0 0x36314752-- y y y win
0x0d 16 0 5 6 5 0 24 0 0 0 0x36314752-- y y y win
0x0e 16 0 5 6 5 0 24 8 0 0 0x36314752-- y y y win
0x0f 16 0 5 6 5 0 32 0 0 0 0x36314752-- y y y 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 st ms vis cav bi renderable supported
id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32 0 8 8 8 8 0 0 0 0 0x21TC a y y y win,pb,pix
0x02 32 0 8 8 8 8 16 0 0 0 0x21TC a y y y win,pb,pix
0x03 32 0 8 8 8 8 24 0 0 0 0x21TC a y y y win,pb,pix
0x04 32 0 8 8 8 8 24 8 0 0 0x21TC a y y y win,pb,pix
0x05 32 0 8 8 8 8 32 0 0 0 0x21TC a y y y win,pb,pix
0x06 24 0 8 8 8 0 0 0 0 0 0x21TC y y y y win,pb,pix
0x07 24 0 8 8 8 0 16 0 0 0 0x21TC y y y y win,pb,pix
0x08 24 0 8 8 8 0 24 0 0 0 0x21TC y y y y win,pb,pix
0x09 24 0 8 8 8 0 24 8 0 0 0x21TC y y y y win,pb,pix
0x0a 24 0 8 8 8 0 32 0 0 0 0x21TC y y y y win,pb,pix
0x0b 32 0 8 8 8 8 0 0 0 0 0x22DC a y y y win,pb,pix
0x0c 32 0 8 8 8 8 16 0 0 0 0x22DC a y y y win,pb,pix
0x0d 32 0 8 8 8 8 24 0 0 0 0x22DC a y y y win,pb,pix
0x0e 32 0 8 8 8 8 24 8 0 0 0x22DC a y y y win,pb,pix
0x0f 32 0 8 8 8 8 32 0 0 0 0x22DC a y y y win,pb,pix
0x10 24 0 8 8 8 0 0 0 0 0 0x22DC y y y y win,pb,pix
0x11 24 0 8 8 8 0 16 0 0 0 0x22DC y y y y win,pb,pix
0x12 24 0 8 8 8 0 24 0 0 0 0x22DC y y y y win,pb,pix
0x13 24 0 8 8 8 0 24 8 0 0 0x22DC y y y y win,pb,pix
0x14 24 0 8 8 8 0 32 0 0 0 0x22DC y y y y 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 st ms vis cav bi renderable supported
id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x05 16 0 5 6 5 0 24 8 0 0 0x00SG y y y y pb,pix
0x03 16 0 5 6 5 0 24 8 4 1 0x00SG y y y y pb,pix
0x04 16 0 5 6 5 0 24 8 16 1 0x00SG y y y y pb,pix
0x13 16 0 5 5 5 1 24 8 0 0 0x00SG y a y y pb
0x12 16 0 5 5 5 1 24 8 4 1 0x00SG y a y y pb
0x14 16 0 5 5 5 1 24 8 16 1 0x00SG y a y y pb
0x15 16 0 4 4 4 4 24 8 0 0 0x00SG y a y y pb
0x16 16 0 4 4 4 4 24 8 4 1 0x00SG y a y y pb
0x17 16 0 4 4 4 4 24 8 16 1 0x00SG y a y y pb
0x09 32 0 8 8 8 8 24 8 0 0 0x63SG a y y win,pb,pix
0x26 24 0 8 8 8 0 24 8 0 0 0x21SG y a y y win,pb,pix
0x29 24 0 8 8 8 0 24 8 4 1 0x21SG y a y y win,pb,pix
0x2a 24 0 8 8 8 0 24 8 16 1 0x21SG y a y y win,pb,pix
0x0c 32 0 8 8 8 8 24 8 4 1 0x63SG a y y win,pb,pix
0x0f 32 0 8 8 8 8 24 8 16 1 0x63SG y a y y win,pb,pix
0x0d 8 0 0 0 0 0 0 0 0 0 0x00SG y pix
0x0e 16 0 0 0 0 8 0 0 0 0 0x00SG y pix
0x1c 16 0 5 6 5 0 0 0 1 0 0x00SG y
0x23 16 0 5 5 5 1 0 0 1 0 0x00SG y
0x22 32 0 8 8 8 8 0 0 1 0 0x63SG win
0x1b 32 0 8 8 8 8 0 0 1 0 0x63SG win
0x27 32 0 8 8 8 8 24 8 0 0 0x00SG a y y pix
查看 libmali,竟然是 3399 的 mali 库?
firefly@firefly:~$ dpkg -l | grep libmali
ii libmali-rk-dev:arm64 1.7-1 arm64 The mali library for Rockchip RK3288 RK3399.
ii libmali-rk-midgard-t86x-r14p0:arm64 1.7-1 arm64 The mali library for Rockchip RK3399.
我参考的编译教程是 https://wiki.t-firefly.com/zh_CN/ROC-RK3328-PC/linux_compile.html
|
|