Author Topic: HelloShader crashed error  (Read 6040 times)

Offline abed2000abed

  • byte
  • *
  • Posts: 8
    • View Profile
HelloShader crashed error
« on: December 07, 2012, 03:11:39 pm »
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

Offline mbowen89

  • byte
  • *
  • Posts: 20
    • View Profile
Re: HelloShader crashed error
« Reply #1 on: December 07, 2012, 04:56:04 pm »
Are you trying to run this from an emulator?

Offline abed2000abed

  • byte
  • *
  • Posts: 8
    • View Profile
Re: HelloShader crashed error
« Reply #2 on: December 07, 2012, 07:36:11 pm »
yes this is from emulator :)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: HelloShader crashed error
« Reply #3 on: December 07, 2012, 09:45:36 pm »
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.

Offline abed2000abed

  • byte
  • *
  • Posts: 8
    • View Profile
Re: HelloShader crashed error
« Reply #4 on: December 08, 2012, 07:06:32 am »
Thanks a lot i will do it :)

Offline K24A3

  • long
  • ***
  • Posts: 231
    • View Profile
Re: HelloShader crashed error
« Reply #5 on: December 13, 2012, 03:05:11 pm »
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.