Skip to content

P3D crash on ARM64 Snapdragon #1502

@Stephcraft

Description

@Stephcraft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions