VPU enable in i.mx8qxp c0 - tool

cancel
Showing results for 
Search instead for 
Did you mean: 

VPU enable in i.mx8qxp c0 - tool

66 Views
r_trivedi123
Contributor II


Hi,

I am working on i.mx8qxpc0 CPU-based custom board.
It is running LF5.10.35_2.0.0 yocto build.

As I have been through the yocto release note for the same BSP and it has GStreamer v4l2h264enc: plugin available, I tried that as well, and check the CPU load, it was 10% only.
However, HD files are taking too much time to get encoded.

Also while using this plugin in the pipeline I tried checking dmesg but was not able to see any logs related to VPU.

I could only see logs while boot up for VPU about the firmware.

My query is how to ensure VPU is being used while encoding?

Is there any tool available?
Are there any driver logs we can enable to verify?
Why HD files are taking longer to get encoded?

Please let me know if any information is required from my side.

Any help would be greatly appreciable.

--

Thanks

Tags (3)
0 Kudos
5 Replies

34 Views
r_trivedi123
Contributor II

Hi,
Can anyone help in here ?

 

Thanks

 

Tags (3)
0 Kudos

56 Views
r_trivedi123
Contributor II

Hi @joanxie ,
Thanks for the quick replay.

I tried using test utlis as well but then how do i ensure on VPU usage ?

  • Any dmesg log should be checked ?
  • Any gputop ot top alike utitlity available to monitor VPU load ?

Also why might HD file are taking too long to get encoded if hardware VPU is being used ?

--
Thanks

 

 

0 Kudos

2 Views
joanxie
NXP TechSupport
NXP TechSupport

you can use the command like below to check vpu:

cat /proc/interrupts | grep vpu

0 Kudos

41 Views
r_trivedi123
Contributor II

Hi @joanxie ,
Ant debug pointer on above ?

 

Thanks

 

0 Kudos

59 Views
joanxie
NXP TechSupport
NXP TechSupport

if you just want to test vpu, one can use unit test directly, the path should be imx-test/test/mxc_v4l2_vpu_test

 

0 Kudos