QVTKOpenGLWidget broken on Windows with Intel GPU driver >= 18.104.22.16808 if using another OpenGL context in the same application
There is a bug on windows after some recent Intel drivers update (versions superior to 22.214.171.12408). It is no longer possible to have a QVTKOpenGLWidget and a QWebEngineView or a QVTKOpenGLNativeWidget working in the same app.
It looks like both the QWebEngineView/QVTKOpenGLNativeWidget and QVTKOpenGLWidget requires a valid context OpenGL, but for some unknown reason the QWebEngineView/QVTKOpenGLNativeWidget is no longer able to initialize its OpenGL context correctly when there is already a QVTKOpenGLWidget in the app. The QWebEngineView/QVTKOpenGLNativeWidget alone (without the QVTKOpenGLWidget view) works perfectly, the QVTKOpenGLWidget view alone also, but the 2 together won’t work properly.
Reproductible with :
Windows 10 64 bit version Intel UHD 620 and intel UHD 630 (or any Intel GPU really) VTK 8.1 or 8.2 or master Qt 5.9.4 64 bits As soon as we downgrade the Intel driver version on the affected computers, it works fine. But one of our customer has bought a Lenovo ThinkPad X1 (7th Gen) that won’t let us downgrade the Intel driver…
No Bug :
A workaround is to use QVTKOpenGLNativeWidget instead.