GBM Video Driver - Retro Gaming - Tinkering Image Howto

User avatar
memeka
Posts: 4354
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 37 times
Contact:

Re: GBM Video Driver - Retro Gaming - Tinkering Image Howto

Unread post by memeka » Wed Oct 16, 2019 7:35 pm

crashoverride wrote:
Wed Oct 16, 2019 7:16 pm
It seems that EGL_EXT_image_dma_buf_import is not supported in this Mali driver. The following are the extension strings when using GBM platform:

Code: Select all

EGL: Extensions=EGL_KHR_partial_update EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_ARM_pixmap_multisample_discard EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness
EGL: ClientExtensions=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
Any call to eglCreateImageKHR with EGL_LINUX_DMA_BUF_EXT return an error: EGL_BAD_PARAMETER. This behavior also occurs in ARM's GBM/Wayland driver posted on their website. Can this be corrected and EGL_EXT_image_dma_buf_import enabled?
you are correct, EGL_EXT_image_dma_buf_import is not supported.
i tested an internal build with it enabled, but I am not sure if HK can distribute the build. it was a GBM only driver, no wayland...

EDIT: in theory it should work to have 2 separate libmali drivers, one for GBM and one for wayland (actually this is how it was initially released in r10p0), but it's a bit of a hassle...

crashoverride
Posts: 4547
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 76 times
Contact:

Re: GBM Video Driver - Retro Gaming - Tinkering Image Howto

Unread post by crashoverride » Thu Oct 17, 2019 7:36 am

memeka wrote:
Wed Oct 16, 2019 7:35 pm
it was a GBM only driver, no wayland...
I only require GBM. I have no current or future plans for wayland.

User avatar
AreaScout
Posts: 1079
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: GBM Video Driver - Retro Gaming - Tinkering Image Howto

Unread post by AreaScout » Fri Oct 18, 2019 6:32 pm

    I also would love to have that extension added to the GBM driver, mdrjr was providing that driver, if he is still in business, he would the right man to ask I think

    RG

    User avatar
    odroid
    Site Admin
    Posts: 32478
    Joined: Fri Feb 22, 2013 11:14 pm
    languages_spoken: English
    ODROIDs: ODROID
    Has thanked: 175 times
    Been thanked: 344 times
    Contact:

    Re: GBM Video Driver - Retro Gaming - Tinkering Image Howto

    Unread post by odroid » Fri Oct 18, 2019 6:53 pm

    Yes! contact him via PM.
    He will post the driver package publicly in the forum probably. ;)
    These users thanked the author odroid for the post:
    rooted (Sat Oct 19, 2019 10:53 am)

    User avatar
    AreaScout
    Posts: 1079
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell
    Has thanked: 18 times
    Been thanked: 51 times
    Contact:

    Re: GBM Video Driver - Retro Gaming - Tinkering Image Howto

    Unread post by AreaScout » Fri Oct 18, 2019 9:55 pm

      Thank you odroid, I did that, PM is out :)

      RG
      These users thanked the author AreaScout for the post:
      rooted (Sat Oct 19, 2019 10:53 am)

      Post Reply

      Return to “Projects”

      Who is online

      Users browsing this forum: No registered users and 1 guest