Hi,
I own an odroid XU3 wich runs currently with the newest mali driver (r6p0) on ubuntu 15.01 without X.
I spend the last days in trying to pass the drm buffer using gbm into the mali gpu, until now with no success.
Problem is, that I'm not able to set up a renderable surface, I tried several extensions (MESA_GBM for example) but they all fail.
Can you pls. provide me with the information if its possible or not?
If it should be possible - are there any resources / samples where to look or the key?
Thanks!
Markus
Hi peak3d,
It doesnt look like the extension is supported based on your output.
To use eglCreateImageKHR API call, you need the extension EGL_KHR_image_base, which you have.
To use EGL_LINUX_DMA_BUF_EXT as the target in that API call, you need the extension EGL_EXT_image_dma_buf_import which I do not see in your list of supported extensions.
Values accepted for <target> are listed in Table aaa, below(fn1).(fn1) No values are defined by this extension. All functionality to create EGLImages from other types of resources, such as native pixmaps, GL textures, and VGImages, is layered in other extensions.
I hope that explains better why it is currently failing.
Kind Regards,
Michael McGeagh
oh, i hoped so much that this answer wouldn't arrive during this discussion :-(
To stay constructive: Is this (beside drm / gbm) anything hardkernel can activate / implement in the compile step of the driver?
Or is this (from what I have learned) hidden inside the binary blob and we are dependend on your further work?
best regards,
B.t.w: I think we can close this issue
After discussing with the driver team, this extension is currently not available for non-X11 windowing systems. It has only been tested and available if you are using X11.
So in theory if you switch over to using X instead of fbdev, your code may work. I cannot say for certain at this point however so please let us know the results.
Thanks, Michael,
I tried this already but didn't get it working because of missing experience with DRM Master cloning.
I'll let you know if there is any progress!
Really appreciate the quick responses from your side!