HelloShader crashed error

Started by abed2000abed, December 07, 2012, 03:11:39 PM

Previous topic - Next topic

abed2000abed

Dear,
This is first post for me here , once i try to check HelloShader sample i got this error below, can you please help me :)


12-07 17:09:03.854: I/jPCT-AE(326): onCreate
12-07 17:09:03.943: I/jPCT-AE(326): onResume
12-07 17:09:04.353: D/libEGL(326): egl.cfg not found, using default config
12-07 17:09:04.353: D/libEGL(326): loaded /system/lib/egl/libGLES_android.so
12-07 17:09:04.383: W/dalvikvm(326): threadid=9: thread exiting with uncaught exception (group=0x40015560)
12-07 17:09:04.473: E/AndroidRuntime(326): FATAL EXCEPTION: GLThread 10
12-07 17:09:04.473: E/AndroidRuntime(326): java.lang.IllegalArgumentException: No configs match configSpec
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:763)
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:919)
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1264)
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
12-07 17:09:04.683: I/jPCT-AE(326): onPause
12-07 17:09:05.483: I/jPCT-AE(326): onStop
12-07 17:09:15.144: I/Process(326): Sending signal. PID: 326 SIG: 9

mbowen89

Are you trying to run this from an emulator?

abed2000abed


EgonOlsen

The emulator doesn't run shaders until you enable hardware support for it. But in your case, it didn't even get this far, because it can't find a proper config for the selected mode. Get a real device, the emulator is pretty crappy anyway.

abed2000abed


K24A3

Add "-gpu on" to the VDM's command line.

Use an Intel image if possible, after installing Intel HAX

But OpenGL in the emulator is still lame and crashes very often, best to use a real device.