HDMI screen goes black after 2011-12 Freescale kernel patches, using gstreamer

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

HDMI screen goes black after 2011-12 Freescale kernel patches, using gstreamer

1,339 Views
sidebranch
Contributor II

Hello,

I have applied the latest "source code patch" for the IMX53 kernel, from the Freescale web site:

429-SourceCodePatch.png

  • d285042beb87c96f7627c75cecb96e8aLinux_20201112_20patch_bundle.tar.gz
    • 6c7d2ef777bebc6036aeb138dd64b1ea L2.6.35_MX53_201112_Patches.tar.gz
    • 3cb5542201416054f72e494b65b82f96 MX53_LINUX_BSP_201112_Patch_release.pdf

However, now my screen goes black after starting gstreamer.

bootargs_hdmi=hdmi di0_primary video=mxcdi0fb:RGB24,1920x1080MR@60
bootargs=console=ttymxc0,115200 hdmi di0_primary video=mxcdi0fb:RGB24,1920x1080MR@60 printk=8 ip=dhcp root=/dev/mmcblk0p1 rootwait rw

sh-4.2# time gst-launch playbin2 uri=file:///tmp/sd/trailer_1080p.mov flags=0x57
Setting pipeline to PAUSED ...n2 uri=file:///tmp/sd/trailer_1080p.mov flags=0x57
Pipeline is PREROLLING ...
Aiur:  
Core: MPEG4PARSER_06.04.04  build on Sep 27 2011 09:56:41
  mime: video/quicktime; audio/x-m4a; application/x-3gp
  file: lib_mp4_parser_arm11_elinux.3.0.so.6.4.3
Content Info:
    URI:
          file:///tmp/sd/trailer_1080p.mov
    Idx File:
          //.aiur/.tmp.sd.trailer_1080p.mov.aidx
    Seekable  : Yes
    Size(byte): 30874052

Movie Info:
    Seekable  : Yes
    Live      : No
    Duration  : 0:00:32.995000000
    ReadMode  : File
    Track     : 2

Track 00[Video]: Enabled
    Duration: 0:00:32.480000000
    Language: und
    Mime:
          video/x-h264, parsed=(boolean)true, width=(int)1920, height=(int)1080, framerate
          =(fraction)25/1
[INFO]    Product Info: i.MX53
VPU Version: firmware 13.4.41; libvpu: 5.3.2
MFW_GST_VPU_DECODER_PLUGIN  build on Jan  5 2012 13:32:58.
Track 01[Audio]: Enabled
    Duration: 0:00:33.001668000
    Language: und
    Mime:
          audio/mpeg, mpegversion=(int)4, channels=(int)6, rate=(int)48000, bitrate=(int)4
          48000, framed=(boolean)true
BLN_MAD-MMCODECS_AACD_ARM_03.06.00  build on May  9 2011 17:11:11.
MFW_GST_AAC_PLUGIN  build on Jan  5 2012 13:33:19.
MFW_GST_V4LSINK_PLUGIN  build on Jan  5 2012 13:33:14.
>>V4L_SINK: Actually buffer status:
    hardware buffer : 12
    software buffer : 0
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
full screen size:1600x1200
[V4L Update Display]: left=0, top=0, width=1600, height=1200
New clock: GstAudioSinkClock
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x00080000
mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x08800000
imx_ssi_irq mxc_ssi SISR 801121 SIER 180100 fifo_errs=1
VPU blocking: timeout.
VPU blocking: timeout.
VPU blocking: timeout.
VPU blocking: timeout.
VPU blocking: timeout.
VPU blocking: timeout.
WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l: A lot of buffers are being dropped.

Any else already tried the new patches?

Regards,

Leon.

Labels (1)
0 Kudos
2 Replies

536 Views
sidebranch
Contributor II

These patches cause the black screen when using gstreamer / mfw_v4lsink on my HDMI output, I have disabled them:

#           file://1131-ENGR00158480-IPUv3-Set-IDMAC-LOCK-for-SDC-display-ch.patch \
#           file://1133-ENGR00159010-IPUv3-Restore-IDMAC_CH_LOCK_EN_1-for-re.patch \
#           file://1138-ENGR00162195-IPUv3M-Clear-IDMAC_LOCK_EN_1-for-tough.patch \
#           file://1135-ENGR00160566-IPUv3-Improve-IDMAC_LOCK_EN-setting.patch \

The other patches seem to have no negative impact here:

           file://1130-ENGR00157473-MX5X-UART-disable-UART2-DMA-to-make-G.patch \
           file://1132-ENGR00155891-mx53_loco-enable-mc34708-s-WDI-functio.patch \
           file://1134-ENGR00159738-v4l2-correct-wrong-parameter-when-V4l2.patch \
           file://1136-ENGR00161215-1-arch-arm-Add-two-new-IOCTLs-in-mxc_v.patch \
           file://1137-ENGR00161215-2-vpu-Add-ioctls-for-querying-and-sett.patch \
           file://1139-ENGR00162464-update-pm4-microcode-pm4_microcode_r18.patch \
           file://1140-ENGR00162711-DA9053-Add-dummy-write-for-DA9053-I2C.patch \
           file://1141-ENGR00162708-MX5-Add-I2C-dummy-write-and-mask-nONKE.patch \
           file://1142-ENGR00163698-MX53-ARD-fix-typo-error-for-pwm1-pad-d.patch \
           file://1143-ENGR00162578-DMA-mx5-increase-DMA-Zone-size-to-112.patch \
           file://1144-ENGR00169603-MX53-ARD-FlexCAN-Set-lp_apm-as-clock.patch \
           file://1145-ENGR00170342-PWM-fix-pwm-output-can-t-be-set-to-100.patch \
           file://1146-ENGR00170244-1-ARM-AHCI-Enable-PDDQ-mode-when-no-d.patch \
           file://1147-ENGR00170244-2-ARM-AHCI-Enable-PDDQ-mode-when-no-d.patch \

0 Kudos

536 Views
YiLi
Contributor I

Please add dmfc=3 in the u-boot to pass kernel bootargs, then the HDMI black out issue will dispear without removing those IPU related patches.

For example

sete bootargs_mmc 'setenv bootargs ${bootargs} ip=dhcp video=mxcdi0fb:RGB24,1920x1080M@60 hdmi di0_primary dmfc=3 root=/dev/mmcblk0p1 rootwait rw'

0 Kudos