processing / processing/processing4
P3D crash on ARM64 Snapdragon
Personne n'a encore pris cette issue.
- Langage dominant
- Java
- Étoiles
- 494
- Forks
- 183
- Merge moyen
- 4 h 39 min
- PR mergées (30 j)
- 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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez l’échec avec le sketch P3D minimal sous Windows 11 ARM64. Commencez par processing.opengl.PSurfaceJOGL.initGL et initFrame, puis suivez les appels de JOGL WindowsWGLGraphicsConfiguration indiqués dans la stack trace. Le travail est terminé lorsque le sketch démarre sans la pixel-format GLException sur le matériel Surface signalé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- computer-graphics, desktop
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100