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.

Linux/TMDSSK3358: Qt5 performance issues

Part Number: TMDSSK3358

Tool/software: Linux

hi
We are testing using the am335x starter kit.

I checked the sdcard included in the am335x starter kit box. The touch point works fine, but the coordinates are problematic.
We were also happy with the implementation in the QT program.


So I installed ti-processor-sdk 4.2.0.9 and tested the pre-built image by writing to sdcard.

However, the log output to the serial port was different.
The output on the LCD was also different.

The prebuilt image of ti-processor-sdk 4.2.0.9 seemed to use wayland + weston.

But the bigger problem is performance.

ti-processor-sdk 4.2.0.9 prebuilt image is more than 30% cpu usage when button is pressed in qt5 calculator application.
I also saw a rack in a qt5 application.

So I built tisdk with DISTRO_FEATURES_remove = "wayland".
I tested the built image.

However, only wayland + weston was removed, but cpu usage or rack was the same.

How do I set tisdk to make the same image as the sdcard image included in the am335x starter kit?

In addition, how should the touch points be offset?

The same problem occurs when calibrating is executed and applied.

Then, have a good time at work

  • Hello,

    What you mean that the log and LCD was different?
    QT5 within PSDK is prebuilt with Wayland enabled . Please check this guide for additional information.
    processors.wiki.ti.com/.../Processor_Linux_SDK_Graphics_and_Display

    I will get back to you when I have all the other answers.

    BR
    Margarita
  • Hello,

    Regarding touch you could check this wiki:
    processors.wiki.ti.com/.../How_to_Recalibrate_the_Touchscreen
    You could execute cat /run/media/mmcblk0p1/ws-calibrate.rules.

    BR
    Margarita
  • Thanks for the answer.

    I know PSDK is wayland + weston based.

    Have you run the matrix using the sdcard provided by TMDSSK3358?

    And did you check the matrix by writing the prebuilt image in PSDK 04.02.00.09 to TMDSSK3358?

    Perhaps you can see that the matrix and qt applications have different CPU usage and behavior.

    I think the sdcard images included in the box of TMDSSK3358 look better than the prebuilt images of PSDK 04.02.00.09.

    CPU utilization was also lower for TMDSSK3358 images.
    QT applications also have a more natural image of the TMDSSK3358.

    Why are the two images different in CPU utilization and QT application naturalness?

    Then you can.
  • Hello,

    What is the second PSDK version with which you are comparing 4.02 version?
    PSDK 4.02 version is using qt5.7. You may take a look into release notes for the both psdk version that you are trying on your side.

    BR
    Margarita
  • Hello

    Margarita Gashva Answer Thank you.

    I am grateful for continuing the discussion on this issue.


    I did not know exactly what the SDK version was on the Image in SDCARD in the TMDSSK3358 box.

    So I stepped down the version and tested it.

    The SDK version was not processor sdk linux.

    The SDK version of the Image on the SDCARD in the TMDSSK3358 box was AM335xSDK 08_00_00_00.

    Testing the AM335xSDK 08_00_00_00 and PROCESSOR SDK 04.02.00.09 in TMDSSK3358 reveals the difference between the two versions.

    What's the difference?

    Is there a difference because of the qt version?

    Or are there other differences I do not know?
  • Hello,

    There are many differences between AM335xSDK 08_00_00_00 and PSDK 4.02 like kernel version, u-boot etc.
    You could check Processor SDK Linux Release Notes at the end of the page you could find the links to the release notes for the archived version like sdk 8.

    BR
    Margarita
  • hello.

    I'm not curious about the differences between the two SDKs.

    I would like PSDK 4.02 to work well with Qt Application like AM335xSDK 08.

    I feel that Qt Application running on PSDK 4.02 seems heavy.

    I would like Qt Application to be as light as the AM335xSDK 08 in PSDK 4.02.

    PSDK 4.02 may also be missing the touchscreen. Run the calculator example to see the symptoms.
    But on the AM335xSDK 08, the touchscreen works very well.

    You always recommend us to use the PSDK.
    I want to use PSDK 4.02 as you would like.
    However, due to these minor problems, I am afraid to make a product using PSDK 4.02.

    Do you have a solution to the above problem?

    Can you help us to continue development using PSDK 4.02?

    If you can not help, we may need to find another solution.

    Then, have a good time at work

  • AM335xSDK 08_00_00_00 is quite old SDK. It used QT4 and latest processor SDK is usingQT 5.7. There's lot's of difference between these two versions of QT itself.

    In Processor SDK 4.2, QT5 QWebEngine is used for browser. That may contribute to some of the browsing experience difference that you are noticing.

    Regarding the performance with the calculator demo, which QPA are you using? To see minimal ARM MHz, please use graphics accelerator. You can do so by using eglfs QPA as shown below.
    #<qt_application> -platform eglfs