This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Qt5 application with SGX

Guru 15510 points

Hi,

I have questions about AM335x SGX.

My customer are trying to use Qt5 with SGX.

When user Qt application are running and they try swipping the Qt GUI, the AM335x CPU load gets 99%.

From this CPU load, it seem that SGX isn't working.The customer are using following Linux SDK from TI.

///////////////////////////////////////////////

TI-processor-sdk-linux-am335x-evm-01.00.00.00

///////////////////////////////////////////////

The customer want to know how to setup Qt and SGX for AM335x.

Is there any reference manual for Qt and SGX which wrote setup method?

By the way, when they only move the USB mouse pointer, the CPU load goes up to about 50%.

Isn't SGX used for drawing of a mouse pointer?

best regards,

g.f.

  • Hi g.f.,

    Have they tried installing the graphics sdk?

    Best Regards,
    Yordan
  • Hi Yordan,

    Thank you for the reply.

    I need to ask to my customer. May be they are using prebuild of Linux SDK.
    If they didn't install the graphics sdk, should they try to install graphics sdk?

    By the way, graphics sdk(v5_01_01_02) are inculded in Linux SDK.
    Should they use this graphics sdk or download from the following TI web site?
    software-dl.ti.com/.../index_FDS.html

    best regards,
    g.f.
  • Hi,

    The graphics sdk included in the Linux SDK & the graphics sdk on the TI web site are the same. So they can use the one included in the Linux SDK.

    Best Regards,
    Yordan
  • Hi Yordan,

    Thank you for the reply.

    Do they need to install the graphics SDK and do they need to modify the source code?

    best regards,
    g.f.
  • g.f. said:
    Do they need to install the graphics SDK

    Yes, they should install it

    g.f. said:
    do they need to modify the source code

    I don't think the should modify the code.

    Best Regards, 

    Yordan

  • Hi Yordan,

    Thank you for the reply and sorry for the delay.

    My customer installed the Graphics SDK and their application are running with Qt + SGX.
    When they swipe the touch pannel the CPU load goes up to 90%.
    They want to decrement the CPU load but they don't know how to. It seem that SGX are not working.
    May be some settings are missing.

    They are using newest AM335x Linux SDK and Graphics SDK.
    By using these new SDKs, are there any technical manual like "Getting started guide for Qt and SGX"?

    best regards,
    g.f.
  • Hi g.f. 

    g.f. said:
    They are using newest AM335x Linux SDK and Graphics SDK.
    By using these new SDKs, are there any technical manual like "Getting started guide for Qt and SGX"?

     

    Yes, there is the following guide:  

    Hope this helps.

    Best Regards, 

    Yordan

  • Hi Yordan,

    Thank you for the reply and sorry for the delay.

    I'm sorry but let me ask to make me sure.
    The customer are using newest Linux SDK which supporting Qt5.4, and they are using newest Graphics SDK.
    Qt5.4 are not supporting QWS but the wiki page you attached it seems there are steps(ex.step2) which is for qws.

    Is it available to build Qt with SGX for newest Linux SDK?
    Did somebody try building it for newest Linux SDK?

    best regards,
    g.f.