Hi,

I'm trying to run an OpenGL ES app on the Samsung Galaxy S, since it's one of the most common Android phones out there capable of OpenGL ES 2.0 but I'm unable to. It crashes with the following statement:

OpenTK.Platform.Android.EglException: EglCreateWindowSurface failed with error 12288 (0x3000)

So I tried to run the GLDiag example and it crashed with the same exact error. I've added the whole stacktrace in case it may be useful. In any case it's when creating the frame buffer. It seems not to be working for some weird reason. It works just fine in my Samsung Galaxy Tab. I'm trying to get my hands on more phones to be able to say whether it happens on other phones as well.

In any case, I'm reverting to version 4.0.4 to see if that fixes it. Any help here will be much appreciated.

Best regards,
Eduardo


OpenTK.Platform.Android.EglException: EglCreateWindowSurface failed with error 12288 (0x3000) [ERROR] FATAL UNHANDLED EXCEPTION: OpenTK.Platform.Android.EglException: EglCreateWindowSurface failed with error 12288 (0x3000) at OpenTK.Platform.Android.AndroidWindow.CreateSurface (Javax.Microedition.Khronos.Egl.EGLConfig config) [0x00058] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:338 at OpenTK.Platform.Android.AndroidGraphicsContext.Init (OpenTK.Graphics.GraphicsMode mode, IWindowInfo win, IGraphicsContext sharedContext, GLContextVersion glesVersion, GraphicsContextFlags flags) [0x0013e] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:132 at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext sharedContext, GLContextVersion glesVersion, GraphicsContextFlags flags) [0x00006] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:83 at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext sharedContext, GLContextVersion glVersion, GraphicsContextFlags flags) [0x00000] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:44 at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00000] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:307 at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00000] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:158 at Mono.Samples.GLDiag.PaintingView.CreateFrameBuffer () [0x00436] in D:\XNA\Android\MonoDroid Samples\GLDiagnostics\PaintingView.cs:105 at OpenTK.Platform.Android.AndroidGameView.LoadInternal (System.EventArgs e) [0x00000] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:234 at OpenTK.Platform.Android.AndroidGameView.SurfaceCreated (ISurfaceHolder holder) [0x0005d] in /home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:104 at Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceCreated_Landroid_view_SurfaceHolder_ (IntPtr jnienv, IntPtr native__this, IntPtr native_holder) [0x00010] in /home/jpobst/Desktop/mfa-406/Mono.Android/platforms/android-8/src/generated/Android.Views.ISurfaceHolder.cs:157 at (wrapper dynamic-method) object:9a875116-8f83-4ee0-ad07-84a6b2459c27 (intptr,intptr,intptr)

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to