Unsolved Segmentation Fault on Qt Quick Applications
-
Hello guys,
I am trying to execute my cross-compiled QML & Widgets based application on my Humming Board 2, Debian. My system uses X Window System and Xorg. If I execute an only-widget app, it runs, I can even play a 480p video from that application. But when I try to run an application with QML, like Qt5_CinematicExperience, or my app, it gives the error,debian@sr-imx6:~$ ./Qt5_CinematicExperience Xlib: extension "XFree86-DRI" missing on display ":0". Xlib: extension "XFree86-DRI" missing on display ":0". libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Xlib: extension "XFree86-DRI" missing on display ":0". qt.qpa.xcb: QXcbConnection: XCB error: 147 (Unknown), sequence: 179, resource id: 49, major code: 140 (Unknown), minor code: 9 qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 181, resource id: 0, major code: 140 (Unknown), minor code: 20 Xlib: extension "XFree86-DRI" missing on display ":0". Segmentation fault
When I try to apt install the XFree86-DRI,
debian@sr-imx6:~$ sudo apt-get install xserver-xfree86 Reading package lists... Done Building dependency tree Reading state information... Done Package xserver-xfree86 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'xserver-xfree86' has no installation candidate
My debug output for Qt5_CinematicExperience,
(gdb) run Starting program: /home/debian/ce/Qt5_CinematicExperience [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [New Thread 0xb30fc440 (LWP 3252)] Xlib: extension "XFree86-DRI" missing on display ":0". [New Thread 0xaa598440 (LWP 3253)] Xlib: extension "XFree86-DRI" missing on display ":0". libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Xlib: extension "XFree86-DRI" missing on display ":0". [New Thread 0xa85a2440 (LWP 3254)] Xlib: extension "XFree86-DRI" missing on display ":0". [New Thread 0xa7bff440 (LWP 3255)] Thread 5 "QSGRenderThread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa7bff440 (LWP 3255)] 0xb2899d9c in ?? () from /usr/lib/galcore/libEGL.so.1
What do you think guys? How can I solve this?
My system info,
debian@sr-imx6:~$ uname -a Linux sr-imx6 4.9.150-imx6-sr #1 SMP Sat Jun 22 06:22:03 UTC 2019 armv7l GNU/Linux
My Xorg.0.log file,
https://paste.ee/p/uN5xh#vp5qEDFNhQfqQIGKc31vXz2sRV2yB7P3Have a great week!
Onur -
@closx The difference between QtWidgets and QML is that QML uses OpenGL for acceleration and QtWidgets doesn't. It looks like your system currently does not really suport OpenGL. Try to install Mesa packages.