Skip to content

Fix for WebGL Context Lost on Windows Devices with Integrated Intel GPUs #453

Open
@sedghi

Description

@sedghi

Seems like there is a bug in Chrome for Windows users with some models of the integrated Intel GPUs. As a result, OHIF and/or Cornerstone3D demos may experience rendering issues, with the GPU process consuming an excessive amount of memory for volume viewports. As a result, the webGL context may be lost and the browser crashes.

The bug has been narrowed down to be inside the Chrome and not from us, more especifically the Angle backend component of Chromium. While we are working on reporting this bug, we have a solution that has proven to be effective in fixing this issue which has worked on 4 separate machines having the same issue.

  1. Ensure that your GPU is not blacklisted by your browser. To enable ignore-blacklist, go to chrome://flags/#ignore-gpu-blocklist and enable it.
  2. Next, make sure that your browser is configured to use one of the following:
  • Angle with the latest available WebGL backend (options are: d3d11on12, vulkan)
  • Angle with OpenGL

For Chrome users, you can change your angle value by going to chrome://flags/#use-angle and changing the value as described.

image

(Note that your selected Angle must be supported by your graphics card and driver. While Chrome and Firefox will always display available options, it's important to check that your selected Angle is compatible with your machine.)

🎸 Special thanks to Rodolfo (@ladeirarodolfo )for finding this solution and sharing it with the community! 🎸

PS:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions