NvMedia - Creating nvm_eglstream_out/nvm_eglstream_in_2 etc for implementation in NvROS

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
[*] DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version

Target Operating System
[*] Linux

Hardware Platform
[*] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version
[*] other

Host Machine Version
[*] native Ubuntu 18.04

Hi there,

I’ve been trying to execute some of the test applications in the NvROS documentation and am having trouble with initialising EGL streams with the correct socket paths. Attached is a snippet from the documentation where I’m stuck. The note suggests that nvmedia eglstream samples may be created with socket paths- /tmp/nvmedia_egl_socket_out, /tmp/nvemedia_egl_socket_in_2 and so on. It’s not really clear to me how to go about doing this. The only sample application I have is nvm_eglstream and by default it comes with socket path tmp/nvmedia_egl_socket. Must I be building more sample applications with different socket paths? If yes, may I know where the source code to modify and rebuild this lives?

I feel like I may be missing something fundamental here, so any help would be great!


You can find the source code you need to modify for the different socket paths in the following directory:


Thanks for the response! Managed to find the default socket path definition hard-coded in eglstrm_setup.h. Have made changes to pass the socket path as an argument instead. I have not been able to test it today to confirm that it works, but I’d say the original question has been answered.


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.