i.MX6SoloX and 2D graphics

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

i.MX6SoloX and 2D graphics

Jump to solution
765 Views
Maddis
Contributor IV

Hi,

I have both i.MX6Q and i.MX6SoloX based HW. 

They are running image built from same sources in Yocto (except of course device tree etc.. differences).

I noticed that if I run weston-smoke app in i.MX6Q based hw (with 1024x768 resolution although actual app is smaller) the CPU usage is around 22%. If I run the same app in i.MX6SoloX based hw (with 320x340 resolution and app is smaller) the CPU usage is around 87%.

I was wondering could it be because the i.MX6SoloX based hw prints this at bootup:

galcore: clk_get 2d core clock failed, disable 2d/vg

Galcore version: 5.0.11.41671

I looked at the Linux other i.MX6SoloX  device configs and couldn't find that any of them configured the 2d clock like it's done in i.MX6Q. i.MX6SoloX should have 2D/VG acceleration if I've understood right, but why it's not used in Linux? Or am I completely mistaken here?

Labels (3)
0 Kudos
1 Solution
603 Views
igorpadykov
NXP Employee
NXP Employee

Hi mc

you are right i.MX6SoloX has 2D/VG acceleration, however compared

with i.MX6Q there is only one gpu (GC400), i.MX6Q has dedicated 2D gpu module.

One can find gpus description on p.5,6

http://cache.freescale.com/files/training/doc/dwf/DWF13_AMF_CON_T1025.pdf 

Seems linux uses 3D, so 2D can not be used as they share same logic, please

look at Figure 33-1. GPU Block Diagram i.MX6SX Reference Manual
http://www.nxp.com/docs/en/reference-manual/IMX6SXRM.pdf

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
2 Replies
604 Views
igorpadykov
NXP Employee
NXP Employee

Hi mc

you are right i.MX6SoloX has 2D/VG acceleration, however compared

with i.MX6Q there is only one gpu (GC400), i.MX6Q has dedicated 2D gpu module.

One can find gpus description on p.5,6

http://cache.freescale.com/files/training/doc/dwf/DWF13_AMF_CON_T1025.pdf 

Seems linux uses 3D, so 2D can not be used as they share same logic, please

look at Figure 33-1. GPU Block Diagram i.MX6SX Reference Manual
http://www.nxp.com/docs/en/reference-manual/IMX6SXRM.pdf

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

0 Kudos
603 Views
Maddis
Contributor IV

Thanks, that makes sense then that 2D is slower since the 3D accelerated instead. I didn't pick that when I looked through the documentation.

0 Kudos