GPU validation and 4K video on GPU issue on 5.4.27 zeus build

cancel
Showing results for 
Search instead for 
Did you mean: 

GPU validation and 4K video on GPU issue on 5.4.27 zeus build

298 Views
rutvij_trivedi
Contributor II

Hi Folks,


I m working on i.mx8mqevk and i have enabled GPU from device tree and vpu as well.
I have connected HDMI display.

to validate GPU offloading i tried gputop and used glimagesink plugin with gst-launch-1.0 .
below is my pipeline

gst-launch-1.0 playbin uri=file:/big_buck_bunny.mp4 video-sink="glimagesink"
so is it right way to validate offloading GPU.


Also after this i tried video of 4k which on CPU was taking to much lag on GPU with same above pipline but i did not see any difference on performance.

gputop in above case showed gpu offloading but from the visual result were same i.e for CPU and for GPU.
 
This same video run smooth on x86 machine on vlc player

video info
4k_Samsung_UHD_demo_DElandscape.mp4

Further media info from VLC for same video is attached here.
 
So, why 30 fps with 4k on GPU is not working smoothly ?
Is it the right way to check GPU offloading ?

Please let me know if further info is required.
 
mediinfo.png

Thanks
Tags (4)
0 Kudos
7 Replies

250 Views
rutvij_trivedi
Contributor II

Hi,
Can you share the command to validate ?


Thanks

0 Kudos

264 Views
rutvij_trivedi
Contributor II

Hi,
Can you please provide command to validate the same ?


Thanks

0 Kudos

275 Views
rutvij_trivedi
Contributor II

Hi,
Thanks for the replay.

 

So will it help if i use imx_5.4.47_2.2.0 version ?

Thanks

0 Kudos

256 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

Correct the L5.4.47 can help.

 

Regards

 

0 Kudos

281 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello rutvij,

 

The official kernel is L5.4.24 do no know about 5.4.27 but the mainline we changed, in 5.4.24 run and works nice.

 

Regards

 

0 Kudos

236 Views
rutvij_trivedi
Contributor II

Hi,

Any help would be appreciable for command to validate ?

Thanks

0 Kudos

226 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

You can try to use the same command or you can see the gpu is used ith clinfo.

 

Regards

 

0 Kudos