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.
Tool/software: TI C/C++ Compiler
Hi,
We are using TI sdk 05_03_00_07 on AM3358.
Could you please provide the kernel 4.14 options for either drivers/modules needed for enabling eglfs and DirectFB platform plugins ?
Our Application is Qt widgets based Qt 5.6.3 application which would normally run on LinuxFB based fbdev by default. However, DRM driver replaces fbdev driver in the kernel 4.14. So the legacy /dev/fb0 systems may be obsolete.
As we would like to enable eglfs or DirectFB for accelerated rendering, can you let us know if these are enabled by default through TI sdk 05_03_00_07 ?
If not, how do we enable in 4.14 kernel config options?
Appreciate for your help in this regard.
Thanks and Regards,
Ramakanth
Hello Ramakanth,
Using the stock TI SDK, you should be able to run your Qt application with the eglfs/linuxfb platform flag. Are you observing any erros and if yes, please share the logs?
Regards,
Krunal
Hello Krunal,
Sorry for the delayed response.
Incase we use platform flag eglfs which enables EGL and KMS, does it has dependency on wayland to be available or it falls back to fbdev DRM driver incase of Qt Widgets application?
Best Regards,
Ramakanth
Hi Ramakanth,
Please refer to the following page and when running the application with the eglfs flag, it is expected that Weston/Wayland is not running in the background.
Regards,
Krunal
Hello Krunal,
Thanks for your quick response.
We use the new LCDC DRM driver instead of FB_DA8XX driver in the kernel v4.14 for supporting LinuxFB to improve the performance.
Incase of eglfs using Qt 5.6.3 widgets, does it falls back to software rendered content using DRM driver instead of legacy fbdev?
Any other recommendations to improve the rendering performance with Qt widgets? Not sure if DirectFB is supported with TI sdk 05_03_00_07 on AM3358
to accelerate the 2D performance?
Best Regards,
Ramakanth
Hi Ramakanth,
By default, it should be using DRM/KMS and as an experiment, please disable fbdedv emulation. The application should work without any problems. With regards to performance, I would recommend you to work with Qt for better optimization. Based on the following example, Qt has an example for 2D rendering using QOpenGLWidget and QWidget.
Regards,
Krunal