hello :
I have changed to am335x newest 06.01.00.08 linux sdk ,I want to use the 2d accelaration
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.
hello :
I have changed to am335x newest 06.01.00.08 linux sdk ,I want to use the 2d accelaration
Hello,
By default, TI integrates various examples from Qt in our PSDK. As an experiment, please try running the examples under the directory "/usr/share/qt5/examples/opegl/textures" or /usr/share/qt5/examples/opengl/qopenglwidget". While running the previous examples, the CPU load is about 10-15%.
Regards,
Krunal
hello Krunal:
Can you take a look at the 2dpainting example /usr/share/qt5/examples/opengl/2dpainting
,the cpu load is 40%!
/usr/share/qt5/examples/opegl/textures or /usr/share/qt5/examples/opengl/qopenglwidget" ,both cpu load are under 10% ,
however ,they are 3d !
Can you make the 2dpainting cpu load as the textures? Then I think 2d acceleration is fine。
Best regards
wangl
Hello wangl,
Please keep in mind that the 2dpainting is created by Qt and the following page has more information. The example is performing painting operations on QWidget and QGLWidget but the hardware acceleration is only performed on QGLWidget. As an experiment, I went to the window.cpp file and commented out the following line: connect(timer, &QTimer::timeout, native, &Widget::animate);. The CPU usage went from 40% to 22% and it is up to the user to further optimize the Qt application.
Regards,
Krunal
Hey Krunal:
Do you mean that there is no way to decrease the cpu load?
The only way is to use QGLWidget ?However there is lots of QLabel and other class inherit from QWidget in customer APP.
And 22% cpu load is also too high ,why the 3d example:textures is under 10% ?
Can you make the gpu have same effect under 10%?
Best regards
wangl
Hello wangl,
As stated in my previous post, TI did not create the example application and it was created by Qt. Please reach out to the Qt community for further assistance with QGLWidget and QLabel.
Regards,
Krunal
Dear Krunal:
When I run the qopenglwindow example,
the text draw by the example can not be shown,
And it report Fontconfig error : cannot load default config file.
Then I copy the directory /etc/font from tisdk-rootfs-image-am335x-evm.tar to my system,but there is still not text come out .
Do you know why?
There is text using the sdk filesystme tisdk-rootfs-image-am335x-evm.tar. I do not know which part is missing.
Best regards
wangl