IDE:jeston 36.0
JetPack6.0
core board:orin Nano4GB
board:Jetson Orin Nano Developer Kit
kernel source: Jetson Linux 36.3 | NVIDIA Developer
rootfs source: Basic Flavor Root File System Root File System — NVIDIA Jetson Linux Developer Guide 1 documentation
ys@tegra-ubuntu:/usr/src/nvidia/graphics_demos/eglstreamcube/x11$ ./eglstreamcube
X failed to open display.
Usage: eglstreamcube [options] [command] [command options]
Listen on <socket name>:
[-socket <socket name>]
Window system options (not all available on all platforms):
[-windowsize] [<xres> <yres>] (window size)
[-windowoffset <xpos> <ypos>] (window position)
*Not supported on Wayland*
Rendering options (availability varies by platform):
[-buffering <n>] (n-buffered swaps)
(Max 4)
[-msaa <samples>] (multi sampling)
[-csaa <samples>] (coverage sampling)
[-vcaa <samples>] (coverage sampling)
[-useprogbin <boolean>] (program binary loading)
[-smart <boolean>] (detect termination in
cross-partition stream)
[-eglstreamsocket <socket name>] (socket to get EGLStream from)
[-fifo <length>] (0 min, 5 max)
[-renderahead <length>] (-1 min, 10 max)
(Max number of in-flight GPU
frames in mailbox mode to
throttle mailbox mode.)
[-latency <usec>] (0 min, 2147483647 max)
[-timeout <usec>] (0 min, 2147483647 max)
[-frames <#>] (max numnber of frames to run)
[-ip <IP address>] (IP address)
[-port <int>] (port number for multiple consumers)
[-proctype <producer or consumer>] (Producer or Consumer)
[-surfaceid <n>] (0 min, 9999 max)
[-sec <seconds>] (0 forever, 3153600 max)
[-inactivity <secs>] (time to render on/off)
Note:
Use of parameters which modify the display configuration
is primarily intended for use when running the application
in a standalone fashion. When there is a separate display
server running, their use is discouraged, as they will blindly
change the state without regard to any other applications
sharing the display.
How to solve this problem?