processing / processing/processing4
P3D crash on ARM64 Snapdragon
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 494
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere den Fehler mit dem minimalen P3D-Sketch unter Windows 11 ARM64. Beginne bei processing.opengl.PSurfaceJOGL.initGL und initFrame und verfolge anschließend die im Stack Trace angezeigten Aufrufe von JOGL WindowsWGLGraphicsConfiguration. Als abgeschlossen gilt die Aufgabe, wenn der Sketch ohne die pixel-format GLException auf der gemeldeten Surface-Hardware startet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- computer-graphics, desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100