Hardware and computer setup

Error e0094: It was not possible to initialize OpenGL. - PIX4Dmapper

Error

Error e0094:

It was not possible to initialize OpenGL. Please verify that you have the latest drivers for your graphics card and that you are not using the application from a remote desktop.

Description

When opening the rayCloud the above error message appears and the rayCloud cannot be loaded.

Cause

The possible causes of the problem:

  • Remote access or virtual machine (server connection) is used, like Remote Desktop Control, Windows Remote Desktop, VMWare, etc.
  • A laptop is used with two graphics cards and the integrated is selected.
  • Using integrated graphics card Intel HD 3000.
  • The Windows profile is corrupted.

Solution

A remote access or virtual machine (server connection) is used

Remote Desktop Connection

Information: We do not test PIX4Dmapper for remote access, and thus we do not officially support it. However, there is a possibility to make rayCloud work. To do so you must have:

- NVIDIA GeForce drivers R440 or later
- be on Windows 10
- OpenGL of the graphics card 3.2 or later

  1. Open the Edit Group Policy tool from Control Panel or use the Windows Search dialog (Windows Key +R, then type in gpedit.msc).
  2. Browse to: Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment.
  3. Then enables Use the hardware default graphics adapter for all Remote Desktop Services sessions.
  4. Download Accelerate Windows Remote Desktop from NVIDIA. If you already have a developer account on the NVIDIA platform, you can use it.

If still having problems, and this problem appears with other projects, update the graphics card drivers on the remote computer (from the webpage of the graphics card instead of the Device Manager) and restart the PC. Ensure that the drivers support OpenGL 3.2. For more information about how to verify that the drivers support OpenGL 3.2: How to verify that the driver of the graphic card supports OpenGL 3.2.

TeamViewer

Use the software TeamViewer that permits the visualization of a remote desktop using a different technology. It must be installed on both the remote and the local desktop using the same version. Note that the free license gives errors when used with windows server 2008 or 2010.

Information: A computer may use OpenGL 3.x or 4.x if accessed directly, but only 1.0 if accessed using Windows Remote Desktop or Remote Desktop. TeamViewer keeps the original OpenGL version.

A laptop / desktop with two graphics cards is used and the integrated card is selected

  1. There are two procedures depending on the machine.
    • For Laptops: Ensure that the dedicated graphics card is selected for the energy configuration (when using a laptop having 2 graphics cards (integrated or dedicated), depending on the energy configurations, one or the other may get active). If it is not selected it may be that is needed the graphics card drivers directly from the laptop manufacturer instead of using the ones provided by the graphics card manufacturer.
    • For Desktops: Ensure that the dedicated graphics card is installed and active.
  2. Update the drivers for the dedicated graphics card (from the webpage of your graphics card instead of the Device Manager) and ensure that they support OpenGL 3.2. For more information about how to verify that the drivers support OpenGL 3.2: How to verify that the driver of the graphic card supports OpenGL 3.2.
  3. If still fails, update the integrated graphics card drivers (from the webpage of your graphics card instead of the Device Manager) and ensure that they support OpenGL 3.2. For more information about how to verify that the drivers support OpenGL 3.2: How to verify that the driver of the graphic card supports OpenGL 3.2.
  4. Restart the PC and open a PIX4Dmapper project.
  5. If OpenGL 3.2 fails to initialize, it is possible to deactivate the integrated graphics card using the BIOS. This way the dedicated graphics card will be used by default, but it is important to know how to make changes in the BIOS. Once the integrated graphics card is disabled in the BIOS, the dedicated graphics card will be used, which may impact energy consumption.
  6. While in Windows 10, log in as a different user and install the software again.

A laptop / desktop with one graphics card is used

  1. Update the drivers for the graphics card (from the webpage of your graphics card instead of the Device Manager) and ensure that they support OpenGL 3.2. For more information about how to verify that the drivers support OpenGL 3.2: How to verify that the driver of the graphic card supports OpenGL 3.2.
  2. Restart the PC.

The integrated graphics card is Intel HD 3000

Intel does not update the drivers for Intel HD 3000 and this model is not compatible with OpenGL 3.2. It is requested to use another computer or change the graphic card.

The Windows profile is corrupted

Create a new Windows profile and install PIX4Dmapper on that new profile.