Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

fbturbo on Bananapi M2-Ultra (Allwinner R40 + Mali 400MP2)

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
DeIM
Guru
Guru
User avatar
Posts: 465
Joined: Tue Apr 11, 2006 7:03 pm

fbturbo on Bananapi M2-Ultra (Allwinner R40 + Mali 400MP2)

  • Quote

Post by DeIM » Fri Dec 09, 2022 6:20 am

I'm trying to run some decent video rendering on Bananapi M2-Ultra (Allwinner R40 + Mali 400MP2)
I installed xorg-server + slim + fbturbo driver and getting:

Code: Select all

mpv --audio=no video.mkv
 (+) Video --vid=1 (*) (mpeg4 1920x1080 25.000fps)
libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
VO: [gpu] 1920x1080 yuv420p
V: 00:00:06 / 00:03:00 (4%) Dropped: 105

Exiting... (Quit)
I've tried:

Code: Select all

$ 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_device
    EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb
    EGL_MESA_platform_gbm EGL_KHR_platform_gbm
    EGL_MESA_platform_surfaceless

GBM platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
EGL driver name: lima
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers 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 EGL_KHR_image_base
    EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_partial_update
    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_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 24  0  0 0 0x34325241--         y  y  y     win
0x03 32  0  8  8  8  8 24  8  0 0 0x34325241--         y  y  y     win
0x04 32  0  8  8  8  8  0  0  4 1 0x34325241--         y  y  y     win
0x05 32  0  8  8  8  8 24  0  4 1 0x34325241--         y  y  y     win
0x06 32  0  8  8  8  8 24  8  4 1 0x34325241--         y  y  y     win
0x07 24  0  8  8  8  0  0  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  0  0  4 1 0x34325258--         y  y  y     win
0x0b 24  0  8  8  8  0 24  0  4 1 0x34325258--         y  y  y     win
0x0c 24  0  8  8  8  0 24  8  4 1 0x34325258--         y  y  y     win
0x0d 16  0  5  6  5  0  0  0  0 0 0x36314752--         y  y  y     win
0x0e 16  0  5  6  5  0 16  0  0 0 0x36314752--         y  y  y     win
0x0f 16  0  5  6  5  0  0  0  4 1 0x36314752--         y  y  y     win
0x10 16  0  5  6  5  0 16  0  4 1 0x36314752--         y  y  y     win
0x11 64  0 16 16 16 16  0  0  0 0 0x48344241--         y  y  y     win
0x12 64  0 16 16 16 16 24  0  0 0 0x48344241--         y  y  y     win
0x13 64  0 16 16 16 16 24  8  0 0 0x48344241--         y  y  y     win

X11 platform:
ibEGL warning: DRI2: failed to authenticate
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL driver name: swrast
EGL extensions string:
    EGL_EXT_create_context_robustness 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 32  0  8  8  8  8  0  0  4 1 0x21TC      a  y  y  y     win,pb,pix
0x07 32  0  8  8  8  8 16  0  4 1 0x21TC      a  y  y  y     win,pb,pix
0x08 32  0  8  8  8  8 24  0  4 1 0x21TC      a  y  y  y     win,pb,pix
0x09 32  0  8  8  8  8 24  8  4 1 0x21TC      a  y  y  y     win,pb,pix
0x0a 32  0  8  8  8  8 32  0  4 1 0x21TC      a  y  y  y     win,pb,pix
0x0b 24  0  8  8  8  0  0  0  0 0 0x21TC      y  y  y  y     win,pb,pix
0x0c 24  0  8  8  8  0 16  0  0 0 0x21TC      y  y  y  y     win,pb,pix
0x0d 24  0  8  8  8  0 24  0  0 0 0x21TC      y  y  y  y     win,pb,pix
0x0e 24  0  8  8  8  0 24  8  0 0 0x21TC      y  y  y  y     win,pb,pix
0x0f 24  0  8  8  8  0 32  0  0 0 0x21TC      y  y  y  y     win,pb,pix
0x10 24  0  8  8  8  0  0  0  4 1 0x21TC      y  y  y  y     win,pb,pix
0x11 24  0  8  8  8  0 16  0  4 1 0x21TC      y  y  y  y     win,pb,pix
0x12 24  0  8  8  8  0 24  0  4 1 0x21TC      y  y  y  y     win,pb,pix
0x13 24  0  8  8  8  0 24  8  4 1 0x21TC      y  y  y  y     win,pb,pix
0x14 24  0  8  8  8  0 32  0  4 1 0x21TC      y  y  y  y     win,pb,pix
0x15 32  0  8  8  8  8  0  0  0 0 0x43cDC      a  y  y  y     win,pb,pix
0x16 32  0  8  8  8  8 16  0  0 0 0x43cDC      a  y  y  y     win,pb,pix
0x17 32  0  8  8  8  8 24  0  0 0 0x43cDC      a  y  y  y     win,pb,pix
0x18 32  0  8  8  8  8 24  8  0 0 0x43cDC      a  y  y  y     win,pb,pix
0x19 32  0  8  8  8  8 32  0  0 0 0x43cDC      a  y  y  y     win,pb,pix
0x1a 32  0  8  8  8  8  0  0  4 1 0x43cDC      a  y  y  y     win,pb,pix
0x1b 32  0  8  8  8  8 16  0  4 1 0x43cDC      a  y  y  y     win,pb,pix
0x1c 32  0  8  8  8  8 24  0  4 1 0x43cDC      a  y  y  y     win,pb,pix
0x1d 32  0  8  8  8  8 24  8  4 1 0x43cDC      a  y  y  y     win,pb,pix
0x1e 32  0  8  8  8  8 32  0  4 1 0x43cDC      a  y  y  y     win,pb,pix
0x1f 24  0  8  8  8  0  0  0  0 0 0x43cDC      y  y  y  y     win,pb,pix
0x20 24  0  8  8  8  0 16  0  0 0 0x43cDC      y  y  y  y     win,pb,pix
0x21 24  0  8  8  8  0 24  0  0 0 0x43cDC      y  y  y  y     win,pb,pix
0x22 24  0  8  8  8  0 24  8  0 0 0x43cDC      y  y  y  y     win,pb,pix
0x23 24  0  8  8  8  0 32  0  0 0 0x43cDC      y  y  y  y     win,pb,pix
0x24 24  0  8  8  8  0  0  0  4 1 0x43cDC      y  y  y  y     win,pb,pix
0x25 24  0  8  8  8  0 16  0  4 1 0x43cDC      y  y  y  y     win,pb,pix
0x26 24  0  8  8  8  0 24  0  4 1 0x43cDC      y  y  y  y     win,pb,pix
0x27 24  0  8  8  8  0 24  8  4 1 0x43cDC      y  y  y  y     win,pb,pix
0x28 24  0  8  8  8  0 32  0  4 1 0x43cDC      y  y  y  y     win,pb,pix

Surfaceless platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
EGL driver name: lima
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    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_partial_update
    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_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 0x00--      a  y  y  y     pb
0x02 32  0  8  8  8  8 24  0  0 0 0x00--      a  y  y  y     pb
0x03 32  0  8  8  8  8 24  8  0 0 0x00--      a  y  y  y     pb
0x04 32  0  8  8  8  8  0  0  4 1 0x00--      a  y  y  y     pb
0x05 32  0  8  8  8  8 24  0  4 1 0x00--      a  y  y  y     pb
0x06 32  0  8  8  8  8 24  8  4 1 0x00--      a  y  y  y     pb
0x07 24  0  8  8  8  0  0  0  0 0 0x00--      y  y  y  y     pb
0x08 24  0  8  8  8  0 24  0  0 0 0x00--      y  y  y  y     pb
0x09 24  0  8  8  8  0 24  8  0 0 0x00--      y  y  y  y     pb
0x0a 24  0  8  8  8  0  0  0  4 1 0x00--      y  y  y  y     pb
0x0b 24  0  8  8  8  0 24  0  4 1 0x00--      y  y  y  y     pb
0x0c 24  0  8  8  8  0 24  8  4 1 0x00--      y  y  y  y     pb
0x0d 16  0  5  6  5  0  0  0  0 0 0x00--      y  y  y  y     pb
0x0e 16  0  5  6  5  0 16  0  0 0 0x00--      y  y  y  y     pb
0x0f 16  0  5  6  5  0  0  0  4 1 0x00--      y  y  y  y     pb
0x10 16  0  5  6  5  0 16  0  4 1 0x00--      y  y  y  y     pb
0x11 64  0 16 16 16 16  0  0  0 0 0x00--      a  y  y  y     pb
0x12 64  0 16 16 16 16 24  0  0 0 0x00--      a  y  y  y     pb
0x13 64  0 16 16 16 16 24  8  0 0 0x00--      a  y  y  y     pb

Device platform:
Device #0:

EGL device extensions string:
    EGL_EXT_device_drm EGL_EXT_device_drm_render_node
Platform Device:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
EGL driver name: lima
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    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_partial_update
    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_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 0x00--      a  y  y  y     pb
0x02 32  0  8  8  8  8 24  0  0 0 0x00--      a  y  y  y     pb
0x03 32  0  8  8  8  8 24  8  0 0 0x00--      a  y  y  y     pb
0x04 32  0  8  8  8  8  0  0  4 1 0x00--      a  y  y  y     pb
0x05 32  0  8  8  8  8 24  0  4 1 0x00--      a  y  y  y     pb
0x06 32  0  8  8  8  8 24  8  4 1 0x00--      a  y  y  y     pb
0x07 24  0  8  8  8  0  0  0  0 0 0x00--      y  y  y  y     pb
0x08 24  0  8  8  8  0 24  0  0 0 0x00--      y  y  y  y     pb
0x09 24  0  8  8  8  0 24  8  0 0 0x00--      y  y  y  y     pb
0x0a 24  0  8  8  8  0  0  0  4 1 0x00--      y  y  y  y     pb
0x0b 24  0  8  8  8  0 24  0  4 1 0x00--      y  y  y  y     pb
0x0c 24  0  8  8  8  0 24  8  4 1 0x00--      y  y  y  y     pb
0x0d 16  0  5  6  5  0  0  0  0 0 0x00--      y  y  y  y     pb
0x0e 16  0  5  6  5  0 16  0  0 0 0x00--      y  y  y  y     pb
0x0f 16  0  5  6  5  0  0  0  4 1 0x00--      y  y  y  y     pb
0x10 16  0  5  6  5  0 16  0  4 1 0x00--      y  y  y  y     pb
0x11 64  0 16 16 16 16  0  0  0 0 0x00--      a  y  y  y     pb
0x12 64  0 16 16 16 16 24  0  0 0 0x00--      a  y  y  y     pb
0x13 64  0 16 16 16 16 24  8  0 0 0x00--      a  y  y  y     pb

Device #1:

EGL device extensions string:
    EGL_MESA_device_software EGL_EXT_device_drm_render_node
Platform Device:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL driver name: swrast
EGL extensions string:
    EGL_EXT_create_context_robustness 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 10 10 10  2  0  0  0 0 0x00--      a  y  y  y     pb
0x02 32  0 10 10 10  2 16  0  0 0 0x00--      a  y  y  y     pb
0x03 32  0 10 10 10  2 24  0  0 0 0x00--      a  y  y  y     pb
0x04 32  0 10 10 10  2 24  8  0 0 0x00--      a  y  y  y     pb
0x05 32  0 10 10 10  2 32  0  0 0 0x00--      a  y  y  y     pb
0x06 32  0 10 10 10  2  0  0  4 1 0x00--      a  y  y  y     pb
0x07 32  0 10 10 10  2 16  0  4 1 0x00--      a  y  y  y     pb
0x08 32  0 10 10 10  2 24  0  4 1 0x00--      a  y  y  y     pb
0x09 32  0 10 10 10  2 24  8  4 1 0x00--      a  y  y  y     pb
0x0a 32  0 10 10 10  2 32  0  4 1 0x00--      a  y  y  y     pb
0x0b 30  0 10 10 10  0  0  0  0 0 0x00--      y  y  y  y     pb
0x0c 30  0 10 10 10  0 16  0  0 0 0x00--      y  y  y  y     pb
0x0d 30  0 10 10 10  0 24  0  0 0 0x00--      y  y  y  y     pb
0x0e 30  0 10 10 10  0 24  8  0 0 0x00--      y  y  y  y     pb
0x0f 30  0 10 10 10  0 32  0  0 0 0x00--      y  y  y  y     pb
0x10 30  0 10 10 10  0  0  0  4 1 0x00--      y  y  y  y     pb
0x11 30  0 10 10 10  0 16  0  4 1 0x00--      y  y  y  y     pb
0x12 30  0 10 10 10  0 24  0  4 1 0x00--      y  y  y  y     pb
0x13 30  0 10 10 10  0 24  8  4 1 0x00--      y  y  y  y     pb
0x14 30  0 10 10 10  0 32  0  4 1 0x00--      y  y  y  y     pb
0x15 32  0  8  8  8  8  0  0  0 0 0x00--      a  y  y  y     pb
0x16 32  0  8  8  8  8 16  0  0 0 0x00--      a  y  y  y     pb
0x17 32  0  8  8  8  8 24  0  0 0 0x00--      a  y  y  y     pb
0x18 32  0  8  8  8  8 24  8  0 0 0x00--      a  y  y  y     pb
0x19 32  0  8  8  8  8 32  0  0 0 0x00--      a  y  y  y     pb
0x1a 32  0  8  8  8  8  0  0  4 1 0x00--      a  y  y  y     pb
0x1b 32  0  8  8  8  8 16  0  4 1 0x00--      a  y  y  y     pb
0x1c 32  0  8  8  8  8 24  0  4 1 0x00--      a  y  y  y     pb
0x1d 32  0  8  8  8  8 24  8  4 1 0x00--      a  y  y  y     pb
0x1e 32  0  8  8  8  8 32  0  4 1 0x00--      a  y  y  y     pb
0x1f 24  0  8  8  8  0  0  0  0 0 0x00--      y  y  y  y     pb
0x20 24  0  8  8  8  0 16  0  0 0 0x00--      y  y  y  y     pb
0x21 24  0  8  8  8  0 24  0  0 0 0x00--      y  y  y  y     pb
0x22 24  0  8  8  8  0 24  8  0 0 0x00--      y  y  y  y     pb
0x23 24  0  8  8  8  0 32  0  0 0 0x00--      y  y  y  y     pb
0x24 24  0  8  8  8  0  0  0  4 1 0x00--      y  y  y  y     pb
0x25 24  0  8  8  8  0 16  0  4 1 0x00--      y  y  y  y     pb
0x26 24  0  8  8  8  0 24  0  4 1 0x00--      y  y  y  y     pb
0x27 24  0  8  8  8  0 24  8  4 1 0x00--      y  y  y  y     pb
0x28 24  0  8  8  8  0 32  0  4 1 0x00--      y  y  y  y     pb
0x29 16  0  5  6  5  0  0  0  0 0 0x00--      y  y  y  y     pb
0x2a 16  0  5  6  5  0 16  0  0 0 0x00--      y  y  y  y     pb
0x2b 16  0  5  6  5  0 24  0  0 0 0x00--      y  y  y  y     pb
0x2c 16  0  5  6  5  0 24  8  0 0 0x00--      y  y  y  y     pb
0x2d 16  0  5  6  5  0 32  0  0 0 0x00--      y  y  y  y     pb
0x2e 16  0  5  6  5  0  0  0  4 1 0x00--      y  y  y  y     pb
0x2f 16  0  5  6  5  0 16  0  4 1 0x00--      y  y  y  y     pb
0x30 16  0  5  6  5  0 24  0  4 1 0x00--      y  y  y  y     pb
0x31 16  0  5  6  5  0 24  8  4 1 0x00--      y  y  y  y     pb
0x32 16  0  5  6  5  0 32  0  4 1 0x00--      y  y  y  y     pb

Code: Select all

# cat /var/log/Xorg.0.log
[ 68494.555] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[ 68494.556] Current Operating System: Linux banana 6.0.10-gentoo #4 SMP Thu Dec 1 11:57:35 CET 2022 armv7l
[ 68494.556] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 cma=256M
[ 68494.556]  
[ 68494.556] Current version of pixman: 0.42.2
[ 68494.556]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 68494.556] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 68494.557] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  9 06:39:13 2022
[ 68494.559] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 68494.559] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 68494.561] (==) No Layout section.  Using the first Screen section.
[ 68494.561] (**) |-->Screen "My Screen" (0)
[ 68494.561] (**) |   |-->Monitor "My Monitor"
[ 68494.562] (**) |   |-->Device "fbturbo device"
[ 68494.563] (==) Automatically adding devices
[ 68494.563] (==) Automatically enabling devices
[ 68494.563] (==) Automatically adding GPU devices
[ 68494.563] (==) Automatically binding GPU devices
[ 68494.563] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 68494.563] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 68494.563]    Entry deleted from font path.
[ 68494.564] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 68494.564]    Entry deleted from font path.
[ 68494.564] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 68494.564]    Entry deleted from font path.
[ 68494.564] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 68494.564]    Entry deleted from font path.
[ 68494.564] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 68494.564]    Entry deleted from font path.
[ 68494.564] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 68494.564]    Entry deleted from font path.
[ 68494.564] (==) FontPath set to:

[ 68494.565] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 68494.565] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 68494.565] (II) Module ABI versions:
[ 68494.565]    X.Org ANSI C Emulation: 0.4
[ 68494.565]    X.Org Video Driver: 25.2
[ 68494.565]    X.Org XInput driver : 24.4
[ 68494.565]    X.Org Server Extension : 10.0
[ 68494.570] (++) using VT number 7

[ 68494.570] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 68494.576] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 68494.576] (II) Platform probe for /sys/devices/platform/display-engine/drm/card1
[ 68494.585] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 68494.585] (II) Platform probe for /sys/devices/platform/soc/1c40000.gpu/drm/card0
[ 68494.586] (II) no primary bus or device found
[ 68494.587]    falling back to /sys/devices/platform/display-engine/drm/card1
[ 68494.587] (II) LoadModule: "glx"
[ 68494.588] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 68494.614] (II) Module glx: vendor="X.Org Foundation"
[ 68494.614]    compiled for 1.21.1.4, module version = 1.0.0
[ 68494.615]    ABI class: X.Org Server Extension, version 10.0
[ 68494.615] (II) LoadModule: "fbturbo"
[ 68494.615] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[ 68494.617] (II) Module fbturbo: vendor="X.Org Foundation"
[ 68494.617]    compiled for 1.21.1.4, module version = 0.5.1
[ 68494.617]    Module class: X.Org Video Driver
[ 68494.617]    ABI class: X.Org Video Driver, version 25.2
[ 68494.617] (II) FBTURBO: driver for framebuffer: fbturbo
[ 68494.662] (WW) Falling back to old probe method for fbturbo
[ 68494.663] (II) Loading sub module "fbdevhw"
[ 68494.665] (II) LoadModule: "fbdevhw"
[ 68494.666] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 68494.670] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 68494.670]    compiled for 1.21.1.4, module version = 0.0.2
[ 68494.670]    ABI class: X.Org Video Driver, version 25.2
[ 68494.671] (II) FBTURBO(0): using /dev/fb0
[ 68494.671] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 68494.671] (II) FBTURBO(0): Creating default Display subsection in Screen section
        "My Screen" for depth/fbbpp 24/32
[ 68494.671] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
[ 68494.671] (==) FBTURBO(0): RGB weight 888
[ 68494.671] (==) FBTURBO(0): Default visual is TrueColor
[ 68494.672] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[ 68494.672] (II) FBTURBO(0): hardware: sun4i-drmdrmfb (video memory: 6890kB)
[ 68494.672] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 68494.672] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
[ 68494.672] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[ 68494.673] (II) FBTURBO(0): processor: ARM Cortex-A7
[ 68494.673] (II) FBTURBO(0): checking modes against framebuffer device...
[ 68494.673] (II) FBTURBO(0): checking modes against monitor...
[ 68494.673] (II) FBTURBO(0): Virtual size is 1680x1050 (pitch 1680)
[ 68494.673] (**) FBTURBO(0):  Built-in mode "current"
[ 68494.673] (==) FBTURBO(0): DPI set to (96, 96)
[ 68494.673] (II) Loading sub module "fb"
[ 68494.673] (II) LoadModule: "fb"
[ 68494.673] (II) Module "fb" already built-in
[ 68494.925] (II) FBTURBO(0): using backing store heuristics
[ 68494.994] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[ 68494.995] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[ 68494.995] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[ 68494.995] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[ 68494.995] (II) FBTURBO(0): enabled VFP/NEON optimizations
[ 68494.995] (==) FBTURBO(0): Backing store enabled
[ 68494.995] (EE) FBTURBO(0): FBIOPUTCMAP: Invalid argument

[ 68495.017] (II) FBTURBO(0): failed to enable hardware cursor
[ 68495.040] (II) FBTURBO(0): can't load 'mali' kernel module
[ 68495.056] (II) FBTURBO(0): can't load 'mali_drm' kernel module
[ 68495.067] (II) FBTURBO(0): can't load 'sunxi_cedar_mod' kernel module
[ 68495.068] (II) Loading sub module "dri2"
[ 68495.068] (II) LoadModule: "dri2"
[ 68495.068] (II) Module "dri2" already built-in
[ 68495.078] SunxiMaliDRI2_Init: drmOpen failed!
[ 68495.078] (II) FBTURBO(0): failed to enable DRI2 integration for Mali GPU
[ 68495.078] (II) Initializing extension Generic Event Extension
[ 68495.078] (II) Initializing extension SHAPE
[ 68495.078] (II) Initializing extension MIT-SHM
[ 68495.078] (II) Initializing extension XInputExtension
[ 68495.079] (II) Initializing extension XTEST
[ 68495.079] (II) Initializing extension BIG-REQUESTS
[ 68495.079] (II) Initializing extension SYNC
[ 68495.079] (II) Initializing extension XKEYBOARD
[ 68495.079] (II) Initializing extension XC-MISC
[ 68495.080] (II) Initializing extension XFIXES
[ 68495.080] (II) Initializing extension RENDER
[ 68495.080] (II) Initializing extension RANDR
[ 68495.080] (II) Initializing extension COMPOSITE
[ 68495.080] (II) Initializing extension DAMAGE
[ 68495.080] (II) Initializing extension MIT-SCREEN-SAVER
[ 68495.080] (II) Initializing extension DOUBLE-BUFFER
[ 68495.080] (II) Initializing extension RECORD
[ 68495.080] (II) Initializing extension DPMS
[ 68495.081] (II) Initializing extension Present
[ 68495.081] (II) Initializing extension DRI3
[ 68495.081] (II) Initializing extension X-Resource
[ 68495.081] (II) Initializing extension XVideo
[ 68495.081] (II) Initializing extension XVideo-MotionCompensation
[ 68495.081] (II) Initializing extension GLX
[ 68495.081] (II) AIGLX: Screen 0 is not DRI2 capable
[ 68495.263] (II) IGLX: Loaded and initialized swrast
[ 68495.264] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 68495.264] (II) Initializing extension XFree86-VidModeExtension
[ 68495.264] (II) Initializing extension XFree86-DGA
[ 68495.264] (II) Initializing extension XFree86-DRI
[ 68495.264] (II) Initializing extension DRI2
[ 68495.723] (II) config/udev: Adding input device sunxi-ir (/dev/input/event1)
[ 68495.723] (**) sunxi-ir: Applying InputClass "libinput keyboard catchall"
[ 68495.723] (**) sunxi-ir: Applying InputClass "keyboard-all"
[ 68495.724] (II) LoadModule: "libinput"
[ 68495.724] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 68495.739] (II) Module libinput: vendor="X.Org Foundation"
[ 68495.739]    compiled for 1.21.1.4, module version = 1.2.1
[ 68495.739]    Module class: X.Org XInput Driver
[ 68495.740]    ABI class: X.Org XInput driver, version 24.4
[ 68495.740] (II) Using input driver 'libinput' for 'sunxi-ir'
[ 68495.740] (**) sunxi-ir: always reports core events
[ 68495.740] (**) Option "Device" "/dev/input/event1"
[ 68495.763] (II) event1  - sunxi-ir: is tagged by udev as: Keyboard Pointingstick
[ 68495.765] (II) event1  - sunxi-ir: device is a pointer
[ 68495.765] (II) event1  - sunxi-ir: device is a keyboard
[ 68495.765] (II) event1  - sunxi-ir: device removed
[ 68495.870] (II) libinput: sunxi-ir: needs a virtual subdevice
[ 68495.871] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c21800.ir/rc/rc0/input1/event1"
[ 68495.871] (II) XINPUT: Adding extended input device "sunxi-ir" (type: MOUSE, id 6)
[ 68495.872] (**) Option "AccelerationScheme" "none"
[ 68495.872] (**) sunxi-ir: (accel) selected scheme none/0
[ 68495.872] (**) sunxi-ir: (accel) acceleration factor: 2.000
[ 68495.872] (**) sunxi-ir: (accel) acceleration threshold: 4
[ 68495.879] (II) event1  - sunxi-ir: is tagged by udev as: Keyboard Pointingstick
[ 68495.886] (II) event1  - sunxi-ir: device is a pointer
[ 68495.886] (II) event1  - sunxi-ir: device is a keyboard
[ 68495.892] (II) config/udev: Adding input device axp20x-pek (/dev/input/event0)
[ 68495.892] (**) axp20x-pek: Applying InputClass "libinput keyboard catchall"
[ 68495.892] (**) axp20x-pek: Applying InputClass "keyboard-all"
[ 68495.892] (II) Using input driver 'libinput' for 'axp20x-pek'
[ 68495.892] (**) axp20x-pek: always reports core events
[ 68495.892] (**) Option "Device" "/dev/input/event0"
[ 68495.899] (II) event0  - axp20x-pek: is tagged by udev as: Keyboard
[ 68495.900] (II) event0  - axp20x-pek: device is a keyboard
[ 68495.902] (II) event0  - axp20x-pek: device removed
[ 68495.950] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c2ac00.i2c/i2c-1/1-0034/axp221-pek/input/input0/event0"
[ 68495.950] (II) XINPUT: Adding extended input device "axp20x-pek" (type: KEYBOARD, id 7)
[ 68495.950] (**) Option "xkb_layout" "cz,us"
[ 68495.950] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
[ 68496.138] (II) event0  - axp20x-pek: is tagged by udev as: Keyboard
[ 68496.139] (II) event0  - axp20x-pek: device is a keyboard
[ 68496.362] (**) sunxi-ir: Applying InputClass "libinput keyboard catchall"
[ 68496.363] (**) sunxi-ir: Applying InputClass "keyboard-all"
[ 68496.363] (II) Using input driver 'libinput' for 'sunxi-ir'
[ 68496.363] (**) sunxi-ir: always reports core events
[ 68496.363] (**) Option "Device" "/dev/input/event1"
[ 68496.363] (II) libinput: sunxi-ir: is a virtual subdevice
[ 68496.363] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c21800.ir/rc/rc0/input1/event1"
[ 68496.363] (II) XINPUT: Adding extended input device "sunxi-ir" (type: KEYBOARD, id 8)
[ 68496.363] (**) Option "xkb_layout" "cz,us"
[ 68496.364] (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
[ 68656.529] (EE) FBTURBO(0): FBIOPUTCMAP: Invalid argument
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Fri Dec 09, 2022 11:48 am

I don't own Bananapi M2-Ultra so I don't know all the detail.

However from your xorg log, something stand out

Code: Select all

[ 68494.994] (II) FBTURBO(0): can't load 'g2d_23' kernel module <- missing for 2D accelation

[ 68495.040] (II) FBTURBO(0): can't load 'mali' kernel module =================|
[ 68495.056] (II) FBTURBO(0): can't load 'mali_drm' kernel module =============| Missing kernel modules?
[ 68495.067] (II) FBTURBO(0): can't load 'sunxi_cedar_mod' kernel module ======|

[ 68495.078] SunxiMaliDRI2_Init: drmOpen failed! ==============================|relate to above?
[ 68495.078] (II) FBTURBO(0): failed to enable DRI2 integration for Mali GPU ==| 
So it looks like you missing few kernel modules, I searched around, I think g2d_23 or mali, mali_drm or sunxi_cedat_mod is not in mainline linux kernel, so you need to find a matching source code for your board in order to get it to work.
Top
DeIM
Guru
Guru
User avatar
Posts: 465
Joined: Tue Apr 11, 2006 7:03 pm

  • Quote

Post by DeIM » Mon Dec 12, 2022 12:15 pm

Thank you for reply.
Since instructions for this board on linux-sunxi aren't as clear as they could be, I decided to see configuration of unofficial Armbian to get some clue.
So far Armbian has working audio, wifi, bluetooth - not included in default mainline kernel config for this board.
They uses fbdev (not fbturbo) also and DRI is working - I'm able to play fullhd video of my project - with disabled compositor. Didn't found working hw video decode there.

I'm going to bring similar configs to gentoo and continue researching...
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic