errors when run ximagesink/xvimagesink on imx8mm board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

errors when run ximagesink/xvimagesink on imx8mm board

1,388 Views
GUOZ26
Contributor I

Hi all,

I was trying gstreamer with xvimagesink/ximagesink on imx8mm board, and gstvideooverlay program. The error information are listed:

# gst-launch-1.0 videotestsrc ! videoconvert ! ximagesink
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Could not initialise X output
Additional debug info:
../sys/ximage/ximagesink.c(867): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
Could not open display
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...

-------------------------------------------------------------

# ./overlay
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
QMetaObject::invokeMethod: No such method MainWindow::quit()

Any suggestions about how to debug? Thanks for your reply.

BR

GUO

@gstreamer imx8mm ximagesink xvimagesink

Tags (2)
0 Kudos
Reply
1 Reply

1,382 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @GUOZ26 

1.make sure you are using fsl-imx-xwayland

2.Please try use 'export DISPLAY=:0' before you running ximagesink

0 Kudos
Reply