Failure to Open OpenGL Windows due to Problematic Graphics Setting¶
Symptom:
OpenGL and related windows could not be opened successfully. The possible scenario and error messages are described as follows:
When the user opened Matching Model and Pick Point Editor in Mech-Vision, a white screen appeared, with an error message
Fail to load libEGL
in the log panel.Mech-Vision could not start the calibration program normally and displayed error messages about OpenGL.
When the user set 3D ROI on Mech-Vision, the setting interface crashed or the white screen of death appeared.
Affected Software Versions:
All Mech-Vision versions
Possible Cause:
Setting for the graphics card driver were incorrect.
Configurations were not up to standard when the IPC has two graphics cards.
Solution:
Confirm whether the graphics card driver is properly installed. If the IPC has two graphics cards, you need to set up OpenGL rendering GPU and Power management mode.
Ways to check the graphics card driver are as follows:
Right-click This PC on the desktop of the IPC and select Manage to enter the computer management page.
- Select
to check the installed graphics card driver.
If there is only NVIDIA GeForce xxxx under the Display adapters, that means the graphics card driver is installed successfully.
If there is Microsoft Basic Display Adapter under the Display adapters, that means the graphics card driver has not been installed or needs to be installed again. The driver can be updated automatically on Windows or through a third-party driver.
GPU setup for IPC with two graphics cards:
Click in the tray of the IPC to open the NVIDIA panel.
Select Manage 3D settings under 3D settings.
Click the Program Settings tab on the 3D settings panel on the right.
Add Mech-Vision into the drop-down menu 1. Select a program to customize, as instructed below:
Click Add to open the Add page.
Click the guilabel:View at the bottom right on the page and select the installation path of Mech-Vision.
Select mmind_vision.exe and click Open. The customized program adding will be completed successfully.
Set related parameters for Mech-Vision in 2. Specify the settings for this program.
Select Use global setting (Auto select) for OpenGL rendering GPU.
Select Prefer maximum performance for Power management mode.
When the parameter setup is completed, click Apply to save the changes.