Exception throw after running qmlvideo

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

Exception throw after running qmlvideo

Jump to solution
2,087 Views
Sun1z
Contributor III

Hi,

I'm running imx6qsabresd with yocto imx-4.14.98-2.0.0_ga, when running qmlvideo to play video and then pause the video, an exception is throwed as attached.

There is a patch on (https://codereview.qt-project.org/c/qt/qtmultimedia/+/273602 )  for qtmultimedia videonode plugin, however,  that batch is depends on gstreamer_imx but not gstreamer_fsl that used on 4.14.98-2.0.0_ga.

I think the root issue is very likely as the patch described, but I don't know is there a feasible way to fix it on 4.14.98.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 566 at mm/page_alloc.c:7656 cma_release+0x7c/0x94
765 pages are still in use!
CPU: 0 PID: 566 Comm: QSGRenderThread Tainted: G        W       4.14.98+g1175b59 #7
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010ef44>] (unwind_backtrace) from [<8010b49c>] (show_stack+0x10/0x14)
[<8010b49c>] (show_stack) from [<808e2824>] (dump_stack+0x78/0x8c)
[<808e2824>] (dump_stack) from [<8012dd94>] (__warn+0xe8/0x100)
[<8012dd94>] (__warn) from [<8012dde4>] (warn_slowpath_fmt+0x38/0x48)
[<8012dde4>] (warn_slowpath_fmt) from [<802030ec>] (cma_release+0x7c/0x94)
[<802030ec>] (cma_release) from [<8011464c>] (__arm_dma_free.constprop.2+0x11c/0x130)
[<8011464c>] (__arm_dma_free.constprop.2) from [<80627b78>] (vpu_free_dma_buffer+0x8c/0xac)
[<80627b78>] (vpu_free_dma_buffer) from [<8062852c>] (vpu_release+0x15c/0x2f0)
[<8062852c>] (vpu_release) from [<8020879c>] (__fput+0x84/0x1cc)
[<8020879c>] (__fput) from [<80148368>] (task_work_run+0x90/0xb0)
[<80148368>] (task_work_run) from [<8010aea8>] (do_work_pending+0x8c/0xb4)
[<8010aea8>] (do_work_pending) from [<801079ec>] (slow_work_pending+0xc/0x20)
---[ end trace 2ab891e8994d939c ]---

B.R.

Nus

0 Kudos
Reply
1 Solution
2,001 Views
Sun1z
Contributor III

just made a patch for it,  anyone has this issue can find it at QTBUG-83663

be aware that only video playback tested.

View solution in original post

0 Kudos
Reply
3 Replies
2,001 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nus

one can try some third party releases which also use gstreamer_imx

for example boundary devices

GitHub - boundarydevices/linux-imx6 at boundary-imx_4.14.x_2.0.0_ga 

https://boundarydevices.com/yocto-zeus-release-for-i-mx6-i-mx7-platforms/ 

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

0 Kudos
Reply
2,001 Views
Sun1z
Contributor III

Hi Igor,

Thanks for your reply.

I Just turn from zeus to sumo as there are some issues on zeus and sumo is an official GA release, now most of functions worked well so I don't want to try another yocto release.

As it's a GA release and what I tested is  an original example in yocto, I guess NXP/FSL should have them solved, or is it a known issue?  I just don't want to waste time if there is a solution before paying much effort to trace and fix the issue.

B.R.

Nus

0 Kudos
Reply
2,002 Views
Sun1z
Contributor III

just made a patch for it,  anyone has this issue can find it at QTBUG-83663

be aware that only video playback tested.

0 Kudos
Reply