AnsweredAssumed Answered

Sabre Lite HDMI audio + video works once then requires a reboot

Question asked by Ernie Gremillion on Apr 25, 2014
Latest reply on May 1, 2014 by Ernie Gremillion

I've run into a problem on the Sabre Lite board I'm working on.  When I play audio and video to my HDMI monitor, it only works once.  From then on, I get the following error message until I reboot the board:

ERROR: HDMI is not ready!

asoc: can't open platform imx-hdmi-soc-audio.0

 

Here are some sample gst-launch pipelines I used to reproduce the problem (on my board my LCD is /dev/video18 and my HDMI is /dev/video20):

# This works fine - I can play it as many times as I'd like

gst-launch \

  udpsrc port=1234 ! tsdemux name=demux \

    demux. ! queue max-size-time=0 ! vpudec framerate-nu=30000 framerate-de=1001 ! videorate force-fps=30/1 ! mfw_v4lsink device=/dev/video18 \

    demux. ! queue max-size-time=0 ! ffdec_mp3 ! tee name=t1000 \

      t1000. ! queue max-size-time=0 ! alsasink device=plughw:0,0 \

      t1000. ! queue max-size-time=0 ! alsasink device=plughw:1,0

 

 

# This works the first time I play it; subsequent attempts fail with

# "ERROR: HDMI is not ready!

#  asoc: can't open platform imx-hdmi-soc-audio.0"

# And I can't play HDMI audio until I reboot the board

gst-launch \

  udpsrc port=1234 ! tsdemux name=demux \

    demux. ! queue max-size-time=0 ! vpudec framerate-nu=30000 framerate-de=1001 ! videorate force-fps=30/1 ! tee name=mrtee \

      mrtee. ! queue max-size-time=0 ! mfw_v4lsink device=/dev/video18 \

      mrtee. ! queue max-size-time=0 ! mfw_v4lsink device=/dev/video20 \

    demux. ! queue max-size-time=0 ! ffdec_mp3 ! tee name=t1000 \

      t1000. ! queue max-size-time=0 ! alsasink device=plughw:0,0 \

      t1000. ! queue max-size-time=0 ! alsasink device=plughw:1,0

 

This seems very similar to a problem someone else had that appeared to be resolved with a driver patch.  I'm pretty sure I have all the latest patches, but maybe there's something I'm missing and/or maybe I need something new?  Just for fun, I've also tested this on a Nitrogen board and I do NOT have the problem there...

 

Any and all help is appreciated!

Ernie

Outcomes