Part Number: AM3358
I have changed to am335x newest 06.01.00.08 linux sdk ,I want to use the 2d accelaration
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%.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Krunal Bhargav34:
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。
In reply to LIANG WANG102707:
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.
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%?
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.
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.
I recommend you to please compare your current file-system build with the working setup. Also, please refer to the following thread as a reference:1.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.