title: Kivy on Raspberry Pi: changing provider from EGL to SDL2?
body: <p>Running a Kivy application on my Raspberry Pi gives me an output like this:</p>
  
  <pre><code>[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_16-04-26_23.txt
  [INFO   ] [Kivy        ] v1.9.2-dev0
  [INFO   ] [Python      ] v2.7.9 (default, Mar  8 2015, 00:52:26)
  [GCC 4.9.2]
  [INFO   ] [Factory     ] 193 symbols loaded
  [INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif, img_pygame, img_pil (img_ffpyplayer ignored)
  [INFO   ] [Text        ] Provider: pygame
  [INFO   ] [Window      ] Provider: egl_rpi
  [INFO   ] [GL          ] OpenGL version &lt;OpenGL ES 2.0&gt;
  [INFO   ] [GL          ] OpenGL vendor &lt;Broadcom&gt;
  [INFO   ] [GL          ] OpenGL renderer &lt;VideoCore IV HW&gt;
  [INFO   ] [GL          ] OpenGL parsed version: 2, 0
  [INFO   ] [GL          ] Shading version &lt;OpenGL ES GLSL ES 1.00&gt;
  [INFO   ] [GL          ] Texture max size &lt;2048&gt;
  [INFO   ] [GL          ] Texture max units &lt;8&gt;
  [INFO   ] [Shader      ] fragment shader: &lt;Compiled&gt;
  [INFO   ] [Shader      ] vertex shader: &lt;Compiled&gt;
  [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
  [INFO   ] [OSC         ] using &lt;multiprocessing&gt; for socket
  [INFO   ] [Base        ] Start application main loop
  [INFO   ] [GL          ] NPOT texture support is available
  </code></pre>
  
  <p>However, no window launches. Notice the <code>Provider: egl_rpi</code>.</p>
  
  <p>In my Windows Kivy, the Provider is SDL2. Additionally, I am able to launch a sample mp3 video using SDL as the provider on the Raspberry Pi with: </p>
  
  <pre><code>sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb1 mplayer -vo sdl -framedrop test.mpg
  </code></pre>
  
  <p>My question is: how do I change the Provider to SDL2 for Kivy on the Pi?</p>