Description
This problem has been observed since we upgraded QT from 5.9.3 to 5.11.3.
When the qtwebengine-based browser is launched, there will be no browser shown, but continuously debug trace messages as shown below:
root@am437x-evm:~# /usr/share/examples/webenginewidgets/simplebrowser/simplebrowser www.ti.com --no-sandbox
Using Wayland-EGL
wlpvr: PVR Services Initialised
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
Using the 'wl-shell' shell integration
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
[1551:1571:0503/030722.547400:ERROR:gl_surface_qt.cpp(304)] Requested OpenGL implementation is not supported. Implementation: 0
[1551:1571:0503/030722.547580:ERROR:gl_surface_qt.cpp(304)] Requested OpenGL implementation is not supported. Implementation: 0
[1551:1571:0503/030722.547627:ERROR:gl_surface_qt.cpp(304)] Requested OpenGL implementation is not supported. Implementation: 0
[1551:1571:0503/030722.547664:ERROR:gl_surface_qt.cpp(304)] Requested OpenGL implementation is not supported. Implementation: 0
[1551:1571:0503/030722.547697:ERROR:gl_surface_qt.cpp(304)] Requested OpenGL implementation is not supported. Implementation: 0
....
The problem appears to be that the GL Implementation is not set to the desired value kGLImplementationEGLGLES2, but stays the the initial value kGLImplementationNone as if the system never go through the GL initialization.
I could not see anything even if I set the debug level to 0, use --V=1 option and etc.
I am not sure whether it is due to the Chromium/ozone or qtwebengine infrastructure changes.
Please note we do not support X11, WIN_OS, Mesa only QPA EGLFS, WAyland, LINUXFB through the openGLES libraries.
Attached please find the qtbase config.summary file.
Any suggestions how to debug this issue will be highly appreciated.