defold / defold/defold

Arm64 Windows OpenGL Exception on collection open

Open
#12,225 3 comments 0 reactions 0 assignees View on GitHub
editor windows
Dominant language
C++
Stars
6.3k
Forks
455
Avg merge
2d 2h
Merged PRs (30d)
129

Description

### Description

Encountering an OpenGL error in all projects after an update to the OpenGL Compatibility Pack provided by Microsoft for Arm-based systems.

I’ve narrowed down the error to the newest version (1.2602.1.0) of this compatibility pack: https://apps.microsoft.com/detail/9NQPSL29BFFF / https://devblogs.microsoft.com/directx/announcing-the-opencl-and-opengl-compatibility-pack-for-windows-10-on-arm/

The workaround I’ve found is to roll back to an earlier version: https://github.com/microsoft/OpenCLOn12/releases/tag/v1.2404.1.0

Seems more like a Windows issue, but should (or can) it be fixed on the editor?

### Expected behaviour
Able to open a collection without an error

### Actual behaviour
Error with message

Image

```
com.jogamp.opengl.GLException: Unable to set pixel format 15 of GLCaps[wgl vid 15 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]] for device context 0x7011379: error code 0
```

### Steps to reproduce
Device: Microsoft Surface Pro (11th gen) Copilot+ 2-in-1 PC
Likely any other arm Windows 11 PC with the compatibility pack version 1.2602.1.0 installed could be used to reproduce

1. Create a new empty project from template
2. Double-click on `main.collection`
3. Error is shown


Build time2026-01-12T17:07:55.960748
Defold channeleditor-alpha
Defold editor sha3206f699aaff89f357c9d549050b8453e080c5d2
Defold engine sha3206f699aaff89f357c9d549050b8453e080c5d2
Defold version1.12.0
Error0d8a717adbc24dcfae05287d64c42bbd
GPUD3D12 (Qualcomm(R) Adreno(TM) X1-85 GPU)
GPU Driver4.6 (Compatibility Profile) Mesa 26.1.0-devel (git-219807d38d)
Java version25+36-LTS
OS archamd64
OS nameWindows 11
OS version10.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.