This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-J784S4: Gstreamer play issue with SDK 10.01: cannot set display/monitor

Part Number: PROCESSOR-SDK-J784S4
Other Parts Discussed in Thread: PCM3168A

Tool/software:

Hello, 

As a test of gstreamer with SDK 10.01 on the EVM J784S4, I was trying to play a video. Tried various command with gst-play, gst-launch with playbin, with filesrc, etc. All failed with the follow error message:

Press 'k' to see a list of keyboard shortcuts.
Now playing /root/sample-30s.mp4
Redistribute latency...
[ 192.093849] kauditd_printk_skb: 5 callbacks suppressed
[ 192.093856] audit: type=1006 audit(1728544874.684:21): pid=1213 uid=0 subj=kernel old-auid=4294967295 auid=1000 tt1
[ 192.112830] audit: type=1300 audit(1728544874.684:21): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe79)
[ 192.140721] audit: type=1327 audit(1728544874.684:21): proctitle="(systemd)"
[ 192.494028] audit: type=1006 audit(1728544875.084:22): pid=1210 uid=0 subj=kernel old-auid=4294967295 auid=1000 tt1
[ 192.507618] audit: type=1300 audit(1728544875.084:22): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc68)
[ 192.535220] audit: type=1327 audit(1728544875.084:22): proctitle="(weston)"
[ 192.584777] audit: type=1006 audit(1728544875.176:23): pid=1222 uid=0 subj=kernel old-auid=4294967295 auid=1000 tt1
[ 192.598375] audit: type=1300 audit(1728544875.176:23): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffdf4)
[ 192.626001] audit: type=1327 audit(1728544875.176:23): proctitle="(weston)"
[ 192.672889] audit: type=1006 audit(1728544875.264:24): pid=1226 uid=0 subj=kernel old-auid=4294967295 auid=1000 tt1
WARNING Could not initialise Wayland output
WARNING debug information: /usr/src/debug/gstreamer1.0-plugins-bad/1.22.12/ext/wayland/gstwaylandsink.c(383): gst_way:
Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)''
WARNING Failed to initialize egl: EGL_NOT_INITIALIZED
WARNING debug information: /usr/src/debug/gstreamer1.0-plugins-base/1.22.12/ext/gl/gstglimagesink.c(1136): _ensure_glk
[ 193.202954] CPB PCM3168A Playback: ASoC: error at snd_soc_link_hw_params on CPB PCM3168A Playback: -22
Redistribute latency...
ERROR Could not get/set settings from/on resource. for file:///root/sample-30s.mp4
ERROR debug information: /usr/src/debug/gstreamer1.0-plugins-base/1.22.12/ext/alsa/gstalsasink.c(639): set_hwparams (:
Unable to set hw params for playback: Invalid argument
[ 193.253439] vdec 4210000.video-codec: wave5_vpu_firmware_command_queue_error_check: result not ready: 0x800
[ 193.263237] vdec 4210000.video-codec: wave5_vpu_firmware_command_queue_error_check: result not ready: 0x800
[ 193.273092] vdec 4210000.video-codec: wave5_vpu_firmware_command_queue_error_check: result not ready: 0x800
Reached end of play list.

It seems the gstreamer failed to detect/config the display. The system worked fine with SDK-9_02. And I'm running from the SD card with prebuilt images coming with SDK 10. (Linux j784s4-evm 6.6.44-ti-01478-g541c20281af7-dirty).

Any advise on what may go wrong and how to fix it? Thanks.

-shige