navit-project.org
http://forum.navit-project.org/

Raspberry Pi / Kivy
http://forum.navit-project.org/viewtopic.php?f=11&t=695
Page 1 of 1

Author:  tomasby [ 02 May 2018, 14:25 ]
Post subject:  Raspberry Pi / Kivy

(Posted this under General support, but it seems to fit better here.)

Am trying to run Navit on a Raspberry. Have cloned from Git and compiled on the Pi.

Tried the following graphics type settings in navit.xml:

"opengl": freeglut failed to open display ''
"sdl": graphics_sdl:graphics_sdl_new:SDL_Init failed: -1
"egl": Unable to initialize SDL: -1 No available video device.

(Clarification: that was three separate attempts.)

I have Kivy running, which I thought would provide OpenGL support. When starting Kivy it says (among other things):

Using the "OpenGL ES 2" graphics system

Addition: it also says:

[Text] Provider: sdl2
[Window] Provider: egl_rpi

According to what I read somewhere, Kivy also supports SDL. I included the libraries for OpenGL & SDL when I installed Navit.

So is it possible to run Navit using only Kivy? Which settings should I use?

Bonus question: can I run it on one "Screen" under the "ScreenManager"?

/Tomas

Author:  cedricp [ 07 Sep 2018, 15:23 ]
Post subject:  Re: Raspberry Pi / Kivy

Is SDL2 compiled with EGL rendering enabled ?

Author:  tomasby [ 07 Sep 2018, 15:57 ]
Post subject:  Re: Raspberry Pi / Kivy

Cannot remember, but I included everything I believe.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/