alternative patch; this doesn't quite work, it lets the quickinspectortest tests pass but when running the full test suite, strangely, it fails as follows:
21/21 Test #21: quickinspectortest ...............***Exception: Other 0.46 sec
libEGL warning: DRI2: failed to open swrast (search paths ../mesa-11.2.1/debian/libgl1-mesa-dri/usr/lib/aarch64-linux-gnu/dri/)
libEGL warning: DRI2: failed to open swrast (search paths ../mesa-11.2.1/debian/libgl1-mesa-dri/usr/lib/aarch64-linux-gnu/dri/)
********* Start testing of QuickInspectorTest *********
Config: Using QtTest library 5.5.1, Qt 5.5.1 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160519)
[...]
QFatal in quickinspectortest (/home/vorlon/gammaray-2.4.0/obj-qt5/bin/quickinspectortest)
START BACKTRACE:
1 /home/vorlon/gammaray-2.4.0/obj-qt5/lib/libgammaray_core-qt5.5-aarch64.so.2.4.0(+0xc2128) [0x7fae5f9128]
2 /home/vorlon/gammaray-2.4.0/obj-qt5/lib/libgammaray_core-qt5.5-aarch64.so.2.4.0(+0xa6368) [0x7fae5dd368]
3 /usr/lib/aarch64-linux-gnu/libQt5Core.so.5(+0x91620) [0x7fad8e1620]
4 /usr/lib/aarch64-linux-gnu/libQt5Core.so.5(QMessageLogger::fatal(char const*, ...) const+0x9c) [0x7fad8e30fc]
5 /usr/lib/aarch64-linux-gnu/libQt5Quick.so.5(QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool)+0x194) [0x7fae2dbfac]
END BACKTRACE
QFATAL : QuickInspectorTest::testModelsReparent() Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
FAIL! : QuickInspectorTest::testModelsReparent() Received a fatal error.
Loc: [Unknown file(0)]
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of QuickInspectorTest *********
it's unclear to me why this shows up as a failure to load the driver when this loaded perfectly well when calling the test case directly.
alternative patch; this doesn't quite work, it lets the quickinspectortest tests pass but when running the full test suite, strangely, it fails as follows:
21/21 Test #21: quickinspectortest ....... ....... .***Exception: Other 0.46 sec 11.2.1/ debian/ libgl1- mesa-dri/ usr/lib/ aarch64- linux-gnu/ dri/) 11.2.1/ debian/ libgl1- mesa-dri/ usr/lib/ aarch64- linux-gnu/ dri/) little_ endian- lp64 shared (dynamic) release build; by GCC 5.3.1 20160519) vorlon/ gammaray- 2.4.0/obj- qt5/bin/ quickinspectort est) gammaray- 2.4.0/obj- qt5/lib/ libgammaray_ core-qt5. 5-aarch64. so.2.4. 0(+0xc2128) [0x7fae5f9128] gammaray- 2.4.0/obj- qt5/lib/ libgammaray_ core-qt5. 5-aarch64. so.2.4. 0(+0xa6368) [0x7fae5dd368] aarch64- linux-gnu/ libQt5Core. so.5(+0x91620) [0x7fad8e1620] aarch64- linux-gnu/ libQt5Core. so.5(QMessageLo gger::fatal( char const*, ...) const+0x9c) [0x7fad8e30fc] aarch64- linux-gnu/ libQt5Quick. so.5(QSGRenderL oop::handleCont extCreationFail ure(QQuickWindo w*, bool)+0x194) [0x7fae2dbfac] est::testModels Reparent( ) Failed to create OpenGL context for format QSurfaceFormat( version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) est::testModels Reparent( ) Received a fatal error.
libEGL warning: DRI2: failed to open swrast (search paths ../mesa-
libEGL warning: DRI2: failed to open swrast (search paths ../mesa-
********* Start testing of QuickInspectorTest *********
Config: Using QtTest library 5.5.1, Qt 5.5.1 (arm64-
[...]
QFatal in quickinspectortest (/home/
START BACKTRACE:
1 /home/vorlon/
2 /home/vorlon/
3 /usr/lib/
4 /usr/lib/
5 /usr/lib/
END BACKTRACE
QFATAL : QuickInspectorT
FAIL! : QuickInspectorT
Loc: [Unknown file(0)]
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of QuickInspectorTest *********
it's unclear to me why this shows up as a failure to load the driver when this loaded perfectly well when calling the test case directly.
Anyway, patch attached for consideration.