processing / processing/processing4
P3D crash on ARM64 Snapdragon
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 494
- Forks
- 183
- Avg merge
- 4h 39m
- Merged PRs (30d)
- 3
Description
Most appropriate sub-area of Processing 4?
OpenGL, Core/Environment/Rendering
Processing version
4.5.2
Operating system
Windows 11
Bug description
When running a 3D Processing Sketch on Windows 11, Microsoft Surface ARM64 Snapdragon, as little as:
void setup() {
size(500, 500, P3D);
}
I get the following error: Unable to set pixel format 243 of GLCaps[wgl vid 243 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms
com.jogamp.opengl.GLException: Unable to set pixel format 243 of GLCaps[wgl vid 243 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]] for device context 0xffffffffe501425e: error code 127
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.setPixelFormat(WindowsWGLGraphicsConfiguration.java:194)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(WindowsWGLGraphicsConfigurationFactory.java:505)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(WindowsWGLGraphicsConfigurationFactory.java:323)
GLException: Unable to set pixel format 243 of GLCaps[wgl vid 243 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]] for device context 0xffffffffe501425e: error code 127
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(WindowsWGLGraphicsConfigurationFactory.java:239)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.updateGraphicsConfiguration(WindowsWGLGraphicsConfiguration.java:142)
at jogamp.opengl.windows.wgl.WindowsWGLDrawable.setRealizedImpl(WindowsWGLDrawable.java:75)
at jogamp.opengl.GLDrawableImpl.setRealized(GLDrawableImpl.java:190)
at jogamp.opengl.GLDrawableFactoryImpl.createDummyAutoDrawable(GLDrawableFactoryImpl.java:453)
at processing.opengl.PSurfaceJOGL.initGL(PSurfaceJOGL.java:276)
at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:149)
at processing.core.PApplet.initSurface(PApplet.java:10234)
at processing.core.PApplet.runSketch(PApplet.java:10140)
at processing.core.PApplet.main(PApplet.java:9861)
Steps to reproduce this
Run the sketch on Microsoft Surface ARM64
snippet
void setup() {
size(500, 500, P3D);
}
Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the minimal P3D sketch on Windows 11 ARM64. Start at processing.opengl.PSurfaceJOGL.initGL and initFrame, then trace the JOGL WindowsWGLGraphicsConfiguration calls shown in the stack trace. Done means the sketch starts without the pixel-format GLException on the reported Surface hardware.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100