Sunday, February 17, 2013

Qt5.0.0 eglfs "could not create the egl surface 0x3003" - Fix details

With the final Qt5.0 release, customers using NULL window system for the SGX drivers have reported issues with Qt5.0.0 eglfs default plugin. This results in loss of critical functionality like performance, no input event support, no cursor support. This does not affect Xcb/Weston users. Details and fix information below.

Symptom of the issue:

Any Qt5 application started with "-platform eglfs" or QT_QPA_PLATFORM set to eglfs, will throw below error and exit.

EGL Error : Could not create the egl surface: error = 0x3003                     Aborted

Root-cause, and How to fix:

Refer below for the QTBUG #id, and the patch itself that applies on Qt5 sources:

https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/

Result

Customers should be able to use eglfs like in Qt5 Alpha, with cursor/touch/keyboard support, as described in below post:

http://www.gpupowered.org/node/15



No comments:

Post a Comment