title: GraphicsMode configuration for NokiaX via MonoGame
body: <p>As described <a href="https://monogame.codeplex.com/discussions/535245" rel="nofollow">here</a> I am having difficulty porting my existing working Android games, developed using MonoGame, to Nokia X.</p>
  
  <p>OpenTK does not appear to be able to detect the device capabilities properly, or something similar:</p>
  
  <pre><code>OpenTK.Platform.Android.EglException: Failed to find a valid GraphicsMode configuration
    at OpenTK.Platform.Android.AndroidGraphicsMode.ChooseConfig (Javax.Microedition.Khronos.Egl.EGLDisplay display) [0x0035c] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGraphicsMode.cs:186
    at OpenTK.Platform.Android.AndroidGraphicsMode.Initialize (Javax.Microedition.Khronos.Egl.EGLDisplay display, Int32 version) [0x0000a] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGraphicsMode.cs:223
    at OpenTK.Platform.Android.AndroidGraphicsContext.Init (OpenTK.Graphics.GraphicsMode mode, IWindowInfo win, IGraphicsContext sharedContext, Int32 major, GraphicsContextFlags flags) [0x000a9] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGraphicsContext.cs:114
    at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext sharedContext, GLContextVersion glesVersion, GraphicsContextFlags flags) [0x00015] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGraphicsContext.cs:88
    at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext sharedContext, GLContextVersion glVersion, GraphicsContextFlags flags) [0x00007] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGraphicsContext.cs:50
    at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x0001b] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:314
    at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00002] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:165
    at Microsoft.Xna.Framework.AndroidGameWindow.CreateFrameBuffer () [0x0003f] in /Users/paulharman/MonoGame/MonoGame.Framework/Android/AndroidGameWindow.cs:164
  </code></pre>
  
  <p>I'm asking for an 800x480 screen (which is the native screen size of the device) and Color mode (8,8,8,8) - although MonoGame itself tries various fallbacks to simpler bit depths, stencils etc. but nothing seems to work.</p>
  
  <p>Has anyone else seen this issue and have an idea of what might be wrong?</p>
  
  <p>I am using the tip of MonoGame (develop branch) as of the time of writing. Xamarin details:</p>
  
  <p>=== Xamarin Studio ===</p>
  
  <p>Version 4.2.3 (build 54)
  Installation UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  Runtime:
      Mono 3.2.6 ((no/9b58377)
      GTK+ 2.24.23 theme: Raleigh
      GTK# (2.12.0.0)
      Package version: 302060000</p>
  
  <p>=== Apple Developer Tools ===</p>
  
  <p>Xcode 5.0.2 (3335.32)
  Build 5A3005</p>
  
  <p>=== Xamarin.Mac ===</p>
  
  <p>Xamarin.Mac: Not Installed</p>
  
  <p>=== Xamarin.iOS ===</p>
  
  <p>Version: 7.0.6.168 (Business Edition)
  Hash: 2ed9bc9
  Branch: 
  Build date: 2014-21-01 06:33:05-0500</p>
  
  <p>=== Xamarin.Android ===</p>
  
  <p>Version: 4.10.1 (Business Edition)
  Android SDK: /Users/paulharman/Library/Developer/Xamarin/android-sdk-mac_x86
      Supported Android versions:
          1.6   (API level 4)
          2.1   (API level 7)
          2.2   (API level 8)
          2.3   (API level 10)
          3.1   (API level 12)
          3.2   (API level 13)
          4.0   (API level 14)
          4.0.3 (API level 15)
          4.1   (API level 16)
          4.2   (API level 17)
          4.4   (API level 19)
  Java SDK: /usr
  java version "1.6.0_65"
  Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
  Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)</p>
  
  <p>=== Build Information ===</p>
  
  <p>Release ID: 402030054
  Git revision: f3fd2a8582693cd1728166bcfc17056235cb5b05
  Build date: 2014-02-03 17:26:56+0000
  Xamarin addins: b992974cc7bee7713bba6abaf2b4fac94e67dd1c</p>
  
  <p>=== Operating System ===</p>
  
  <p>Mac OS X 10.9.1
  Darwin HOSTNAME 13.0.0 Darwin Kernel Version 13.0.0
      Thu Sep 19 22:22:27 PDT 2013
      root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64</p>