Skip to content

ENH: Report insufficient OpenGL support instead of crashing

Andras Lasso requested to merge github/fork/lassoan/report-opengl-error into master

Use same mechanism as ParaView to detect if VTK rendering capabilities are sufficient. If not, then a popup is displayed, which allows the user to close the application, ignore the problem (continue to launch the application), or retry (do a delayed restart, to allow reconnection through remote desktop - see https://www.slicer.org/wiki/Documentation/Nightly/FAQ/General#Slicer_does_not_start).

OpenGL capabilities are displayed in Details section of the popup.

image

Details section shows OpenGL info and link to relevant FAQ:

image

Delayed restart in case user clicks "Retry":

image

Fixes https://issues.slicer.org/view.php?id=4252

Merge request reports