Segmentation fault on i.MX6 when running Qt5 application with -platform eglfs
I managed to solve the "segmentation fault" problem with:
apt-get install gpu-viv-bin-mx6q-fb
(that automatically uninstalls gpu-viv-bin-mx6q-x11
).
However, now I have another issue: "EGL Error : could not create the EGL surface: error 0x300b" on i.MX6 when running Qt5 application with -platform eglfs
Qt5 on iMX6: performance advantage on running on platform eglfs vs xcb
I didn't see huge difference between eglfs or xcb platform of Qt, even xcb is smoother some times. for example mouse movements are very smooth in xcb, not in eglfs.
But there will be a huge improvement if you use QGlPainter instead of QPainter and accordingly use QGlWidget instead of QWidget.
Also QtQuick2 works fine with eglfs, its very smooth and high quality in our IMX6-Rex board.
How to enable EGLFS i.Mx6 QPA for Qt on IMX6Q?
Enable BR2_PACKAGE_IMX_GPU_VIV, which will provide the OpenGL implementation for i.MX6.
Use correct colors on QT Quick application running on EGLFS
Fixed by modifying the file: /etc/powervr.ini
:
[default]
#WindowSystem=libpvrDRMWSEGL_FRONT.so
WindowSystem=libpvrDRMWSEGL.so
DisableHWTQTextureUpload=0
ParamBufferSize=1677216
DefaultPixelFormat=RGB565
Related Topics
How to Run Multiple Programs in a Sequence
Bash -C Variable Does Not Get Assigned
Measuring Stack Usage for Linux Multi-Threaded App
Changing the Owner of an Existing Process in Linux
Update Specific Field in Text File in Specific Line
How to Route Webcam Video to Virtual Video Device on Linux (Via Opencv)
How to Add Text After Last Pattern Match Using Ed
Allocating a Data Page in Linux with Nx Bit Turned Off
Script to Get User That Has Process with Most Memory Usage
How to Create a Bash Variable Like $Random
How to Merge Two Rows in a Same Row from a Text File in Linux Shell Script
A Way to Prevent Bash from Parsing Command Line W/Out Using Escape Symbols
When Installing Rust Toolchain in Docker, Bash 'Source' Command Doesn't Work
How to Start/Restart/Stop Apache Server on Linux as Non-Root User
Bash - How to Match Files Names to Use in Loop