imx6q: 2D function caused CPU usage very high

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

imx6q: 2D function caused CPU usage very high

903 Views
LeviathanSteven
Contributor III

Hi,

I am working on a imx6q based board with L3.0.35_4.0.0_130424 release(ubuntu_oneiric_4.0.0.tgz).

I found some 2D issue, which is that the Xorg process's CPU usage will be up to nearly 100% when we moving some Ubuntu's window quickly, or when we playing a GIF file in full screen mode.

What's more, when playing the GIF file in full screen mode, the system will be lag.

As we know, the EXA operations, such as copy and solid, will be accelerated by 2D engine if the source/target drawables is bigger than 1024x1024 according to document i.MX_6Dual6Quad_Linux_Reference_Manual.pdf. My display resolution is 1920x1080, so this do will go to the 2D HW acceleration path.  The lag when playing GIF file maybe caused by the 2D engine's performance, but why the Xorg process's CPU usage is so high???  When the 2D function doing by the HW engine, CPU should be idle. How to reduce the Xorg process's CPU usage when using the 2D function by HW engine??? Or are there any new releases from FreeScale already improved the 2D performance?

Many thanks in advance !!!

Labels (3)
Tags (3)
0 Kudos
3 Replies

629 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,


Files like jpg, gif, tiff are compressed formats and you need the library to convert them into raw format. This is already supported by the windows managers, if you don´t want to use a manager you will need to make your own program to write to frame buffer (FB) and to manage the libraries for different formats (not recommended, is complicated).

Release L3.0.35_4.0.0_130424 has only the basic steps for DRI2/EXA acceleration and only support it in a very limited way. A better support for DRI2/EXA for X11 will be in the next Linux release or Release 4.1.0. next GPU driver will be used and it will support DRI2/EXA in a more optimized and user-friendly way.

If you only want to make a test there is a way to write directly into frame buffer, but this has to be done with raw format.


Regards

Alfredo

629 Views
LeviathanSteven
Contributor III

Hi Alfredo,

Thanks for your important information.

I haven't received an notification  E-mail after you gave the feedback for this topic on 2013-8-19.

So I have only now got this important information.

Would you please tell me when Release 4.1.0 will be ready. Thanks !

0 Kudos

629 Views
LeonardoSandova
Specialist I

Hi,

4.1.0 is out there, check the MX6's main page.

Leo

0 Kudos