Hi,
I’m using Renesas R-Car V4H with AXM-8-256 GPU to render surroundview camera image.
Original design is to connect a DP monitor and create EGL Windows Surface, use Pixmap type to create EGL image from camera buffer.
Had tried to create Pixmap Surface but failed at DRM report no DP connecting.
And tried to use mesa 23.0.3 surfaceless EGL platform but failed at VULKAN loader can’t initial GPU.
Is it possible not to connect any monitor and create an EGL image from the camera buffer?
Thanks for your help!
Hi joann_liu,
Thanks for your message and welcome to the PowerVR Developer Forum!
Please find under Native_SDK/examples/OpenGLSC/OpenGLSCSurroundView at master · powervr-graphics/Native_SDK · GitHub our simple Surround View OpenGL ES SDK sample. It has all the implementation details on how to interact with the camera images through zero-copy buffers.
Best regards,
Alejandro
1 Like
Hi Alejandro,
Thanks for the information!
Since our system(NullWS) do not have monitor connected, the app failed at initial EGL display.
How to set EGL display to headless mode?
Thanks for your help!
[Log]
DRM (pid: 520): Please check the DisplayPort-1 connector.
Exit message set to: InitView threw a runtime exception with message: ‘InvalidOperationError (Specified operation could not be performed) : [EglContext]: Error initialising context - Could not initialise the display’
Hi joann_liu,
Thanks for your message.
EGL has as purpose to build rendering surfaces where to present rendering results on screen. If there is no screen, you will need to build a render target and draw offscreen onto it, without having any interaction with EGL.
Best regards,
Alejandro