4k video is not shows nothing display.

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

4k video is not shows nothing display.

Jump to solution
1,628 Views
sandeep_yenugul
Contributor III

Hi,

I am trying to play 4k video on a 4k display using imx8m evk on kernel release 4.14.78ga. on checking the FB mode using fbset command,

mode "3840x2160"

   geometry 3840 2160 3840 2160 32

   timings 0 0 0 0 0 0 0

   accel true

   rgba 8/16,8/8,8/0,0/0

endmode

But when I play a video it plays fine on terminal without error, but can't see any frame on display. On booting I can't see a desktop screen too. Is there something I am missing. As according to release note, 4k should be working on primary HDMI. On loading dual display dtb again 4k display won't show any thing on screen. Please help me with this.

0 Kudos
1 Solution
1,313 Views
igorpadykov
NXP Employee
NXP Employee

Hi sandeep

one can try Demo Images from link

i.MX Software | NXP 

and gstreamer pipeline:

gst-launch-1.0 filesrc location=file.mp4 ! video/quicktime ! qtdemux ! queue ! vpudec ! queue ! kmssink force-hantrotile=true

other useful links :

https://community.nxp.com/docs/DOC-343017 

Yocto release for i.MX 8MQ - Boundary Devices 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
5 Replies
1,314 Views
igorpadykov
NXP Employee
NXP Employee

Hi sandeep

one can try Demo Images from link

i.MX Software | NXP 

and gstreamer pipeline:

gst-launch-1.0 filesrc location=file.mp4 ! video/quicktime ! qtdemux ! queue ! vpudec ! queue ! kmssink force-hantrotile=true

other useful links :

https://community.nxp.com/docs/DOC-343017 

Yocto release for i.MX 8MQ - Boundary Devices 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,313 Views
sandeep_yenugul
Contributor III

Hi,

I have tried to test 4k video using gstreamer pipeline on demo images for following releases:

* 4.9.51

* 4.6.88

* 4.14.62

* 4.14.78

* 4.14.98

But as result Display shows nothing and on display it  a msg appears as "No signal".

Is it possible that my 4k TV(display) is not compatible. If so can you suggest a display with brand and module No. on which you have tested. I will try to arrange that same module TV.

0 Kudos
1,313 Views
igorpadykov
NXP Employee
NXP Employee

yes one can try other monitors, for example one can look on

https://community.nxp.com/thread/482075 

0 Kudos
1,313 Views
sandeep_yenugul
Contributor III

Hi,

I  was able to check 4k video on other TV, and was able to play video.

On playing video in standard dtb video plays with 10 fps.

On playing with dual display dtb, video still plays better but 20fps only as "force-hantrotile=true" option is available.

Have you seen why by playing a video of 60fps and 30 fps. What was the out-come. in both dual and single display scenario.

How can I improve this. Or this is a limitation.

video link I tried is,

http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_30fps_normal.mp4 

http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_60fps_normal.mp4 

0 Kudos
1,312 Views
igorpadykov
NXP Employee
NXP Employee

Hi sandeep

officially supported resolutions are described in Linux document

Release Notes, Video codec specifications section

Linux L4.14.98_2.0.0 Documentation

for dual case supported: 4k@60fps + HD@60fps using:
gst-launch-1.0 filesrc location=file_4k.mp4 typefind=true ! video/quicktime ! qtdemux ! queue max-size-time=0 ! vpudec ! queue max-size-time=0 ! kmssink force-hantrotile=true sync=false &
gst-launch-1.0 filesrc location=file_HD.ts ! video/mpegts ! tsdemux ! queue max-size-time=0 ! vpudec ! queue max-size-time=0 ! waylandsink

Also may be useful:

https://community.nxp.com/docs/DOC-343017 

Best regards
igor