We would like to use the DRM/GBM interface to aquire native handles for EGL on the R-Car platforms with Linux OS.
This seems to be the right way according to the eglplatform.h in the R-Car E3 Linux SDK if we do not want to use a compositor like Weston but we see segmentation faults when calling eglCreateWindowSurface with handles acquired from gbm_create_device and gbm_surface_create.
We used a Yocto 3.15.0 based SDK.
We used the sample from Khronos to check why our approach does not work. This sample does not work out of the box. After changing all occurrences of GBM_FORMAT_XRGB8888 to GBM_FORMAT_ARGB8888 it shows the same behavior as our application.
Is there any sample how to use EGL on Linux on the R-Car [E|M|H]3 without a compositor or window manager?
Hello Alex! How's it going? Do you have any progress on this? I do hope you could wait for others who are experts to respond to this. Thank you and all the best! Sai RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/en-support.renesas.com/knowledgeBase
In reply to Sai: