Priority: P2: Important
Affects Version/s: 5.7.1
Fix Version/s: None
Component/s: QtQuick: Core Declarative QML
Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.3.0 20161229)
Vendor : Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
Version : 3.0 Mesa 13.0.3
I've been having an issue with a cordova-ubuntu app, which I traced to the Oxide webview which I've finally traced to QT/QML (or so I think).
In short, I'm getting black windows and buttons rather than an actual display.
You can see the original demo of the problem on
that demonstrates the cordova problem.
However, a simplified test as attached in the screenshot here reveals the same issue, using qmlscene and a very basic hello world scene.
qmlscene --verbose test.qml
QSGTextureAtlas: texture atlas allocation failed, code=501
Using apitrace, I can see errors like
major api error 17: GL_INVALID_OPERATION in glTexSubImage2D(invalid texture image)
owing to calls to
glTexSubImage2D(target = GL_TEXTURE_2D, level = 0, xoffset = 0, yoffset = 26, width = 36, height = 1, format = GL_BGRA, type = GL_UNSIGNED_BYTE, pixels = blob(144))
I am inclined to believe this is related to the format (GL_BGRA) but this is more a hunch than anything.
Running with every debug flag I could lay my hands on:
QT_XCB_FORCE_SOFTWARE_OPENGL=1 LIBGL_ALWAYS_SOFTWARE=1 LIBQML_DUMP_ERRORS=1 QML_XHR_DUMP=1 QML_CHECK_TYPES=1 QML_DEBUGGER_VERBOSE=1 MALIIT_DEBUG=1 QT_QPA_EVDEV_DEBUG=1 QT_QPA_EGLFS_DEBUG=1 QT_QPA_EVDEV_DEBUG=1 QT_DEBUG_BACKINGSTORE=1 QT_DEBUG_PLUGINS=1 DEBUG=1
outputs the attached "debugoutput.txt".
Any indications on how to circumvent or resolve would be much much appreciated.
Please let me know if you need more data.