Can someone from NVIDIA please share the direct-to-display EGL sample implementation window_egldevice.zip as mentioned in the Jetson Linux Developer Guide?
Hi,
Please find if the below files can meet your requirements.
/usr/src/nvidia/graphics_demos/nvgldemo/nvgldemo_win_egldevice.c
/usr/src/nvidia/graphics_demos/nvgldemo/nvgldemo_win_egldevice.h
Thanks.
Thanks for the hint. I’ve reviewed the sample implementations and it looks like creating a GL context is necessary to display anything using EGL… that probably explains the name :)
What I actually want to achieve is a direct-to-display render of a CUDA texture without involving OpenGL/Vulkan at all. The content on the texture is real-time raytraced and in my opinion there’s no need to involve the traditional rasterization pipeline to display it on the screen. Given the low level access to the DRM device (nvgldemo_win_egldevice.c), I think this should be feasible.
Does NVIDIA have any relevant code samples/documentation illustrating how to achieve this?
Hi,
There is a DRM sample located at /usr/src/jetson_multimedia_api/samples/08_video_dec_drm.
The corresponding document can be found below:
https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_08_video_decode_drm.html
Please note that the input is NvBuffer rather than the CUDA buffer.
But it should give you some idea about DRM.
Thanks.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.