We are affected by a bug on windows after some recent Intel drivers update (versions superior to 126.96.36.19908). It is no longer possible to have a QVTKOpenGLWidget and a QWebEngineView working in the same app.
It looks like both the QWebEngineView and VTK requires a valid context OpenGL, but for some unknown reason the QWebEngineView is no longer able to initialize its OpenGL context correctly when there is already a VTK window in the app. The QWebEngineView alone (without the vtk view) works perfectly, the VTK 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
- VTK 8.1 or 8.2 (build with VS studio 2015, 64 bits)
- 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…
I think some people are affected in Slicer, and this thread is probably related
Attached is a minimal code that reproduces the problem. On the left a sphere is created in a vtk view, on the right a web view that should load http://www.vtk.org. It works fine with an old driver, but with a new driver, the right part is empty, ie no webview…
Any clue ?