We have observed a problem with both DM816x EVM and DM814x EVM, with EZSDK 5_04_00_11. After changing the kernel configuration to enable HDMI audio output, we are able to hear audio on the HDMI output when running at 1080p-60 (the SDK's default output setting). But if we change the output to 480p-60, any attempt to decode the same video results in no HDMI audio output, and video decodes very slowly. However, decode with analog audio output works okay. We are wondering if it is a problem with the HDMI auto mode configuration, described in http://processors.wiki.ti.com/index.php/TI81XX_HDMI_User_Guide#HDMI_Auto_Mode_Configuration.
Steps to reproduce with the SDK:
1. Change the start-up to load firmware using load-hd-v4l2-firmware.sh.
2. Reboot
3. Type:
# Prep
/etc/init.d/matrix-gui-e stop
echo 0 > /sys/devices/platform/vpss/graphics0/enabled
# Demonstrate correctly functioning HDMI audio @ default 1080p-60 output
gst-launch -v filesrc location=/media/sda1/big_buck_bunny_1080p_h264.mov ! \
qtdemux name=demux demux.audio_00 ! queue ! faad ! alsasink device="plughw:0,1" \
demux.video_00 ! queue ! h264parse access-unit=true ! omx_h264dec ! omx_scaler \
! 'video/x-raw-yuv,width=(int)1920,height=(int)1080' ! v4l2sink
# Change to 480p output
echo 0 > /sys/devices/platform/vpss/display0/enabled
echo "480p-60" > /sys/devices/platform/vpss/display0/mode
fbset -xres 720 -yres 480 -vxres 720 -vyres 1440
echo 1 > /sys/devices/platform/vpss/display0/enabled
# Demonstrate bad decode when attempting HDMI audio
gst-launch -v filesrc location=/media/sda1/big_buck_bunny_1080p_h264.mov ! \
qtdemux name=demux demux.audio_00 ! queue ! faad ! alsasink device="plughw:0,1" \
demux.video_00 ! queue ! h264parse access-unit=true ! omx_h264dec ! omx_scaler \
! 'video/x-raw-yuv,width=(int)720,height=(int)480' ! v4l2sink
# Demonstrate good decode when *not* attempting HDMI audio
gst-launch -v filesrc location=/media/sda1/big_buck_bunny_1080p_h264.mov ! \
qtdemux name=demux demux.audio_00 ! queue ! faad ! alsasink device="plughw:0,0" \
demux.video_00 ! queue ! h264parse access-unit=true ! omx_h264dec ! omx_scaler \
! 'video/x-raw-yuv,width=(int)720,height=(int)480' ! v4l2sink
Are we missing something here?