Page MenuHomePhabricator | MITK

MITK won't start on some windows machines when using a remote desktop connection
Closed, InvalidPublic


MITK won't start on some windows machines when using a remote desktop connection. According to the QT Docs and Stackoverflow this might be the case on machines that don't have the latest graphics driver installed and therefore starting OpenGL and ANGLE will fail (,

A possible fix might be: Copy the file opengl32sw.dll from the QT-Installation folder (e.g. Qt/Qt5.6.0/5.6/msvc2013_64/bin/opengl32sw.dll) to the installer using a cmake rule., because opengl32sw.dll is a fallback if both OpenGL and Angle fail.

Event Timeline

gaehlert claimed this task.
gaehlert added a subscriber: klinowsk.

Can confirm the bug. Any progress on this?

kislinsk added a subscriber: kislinsk.EditedFeb 5 2018, 11:42 AM

You can try to work with environment variables to change the type of OpenGL used by a Qt application.

This solution works:

  • copy opengl32sw.dll from Qt installation folder to MITK binary folder. Rename to opengl32.dll


  • visualization does not work, but MITK Workbench is starting.
kislinsk closed this task as Invalid.Feb 6 2018, 6:53 AM

This can't be fixed as Windows Remote Desktop falls back to software OpenGl 1.1 which is not supported by MITK. Apparantly one can use another VNC client that is transparent to the used rendering technology as the screen is captured locally and then transmitted.