Part Number: AM4378
Hi,
I have ported linux kerenl on custom AM437x board based on AM437x-gp-evm.
I am trying to play a video using GStreamer. I tested it with a sample video from the SDK filesystem.
When I run: 'gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-AV-Short-720x406.mp4', it seems to play on Wayland, and the playback is smooth.
However, I want to play it without Wayland, so when I run: 'gst-launch-1.0 filesrc location=/usr/share/ti/video/TearOfSteel-AV-Short-720x406.mp4 ! decodebin ! kmssink ', the following log is printed.
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not open DRM module (NULL)
Additional debug info:
../gst-plugins-bad-1.20.7/sys/kms/gstkmssink.c(850): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
reason: No such file or directory (2)
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
../gstreamer-1.20.7/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
Failed to start
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
Is this issue related to Wayland?