Kodi Community Forum
No OSD VDR on KODI on RPi2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: VDR (https://forum.kodi.tv/forumdisplay.php?fid=169)
+---- Thread: No OSD VDR on KODI on RPi2 (/showthread.php?tid=244940)

Pages: 1 2


RE: No OSD VDR on KODI on RPi2 - FernetMenta - 2015-10-25

(2015-10-24, 00:07)rascas Wrote: Yes, the addon was compiled with opengl instead of opengles2. I fixed it, it is already in the repo, you will be able to update it when the server is back online.

But I think this should be fixed upstream, not by me. See here:
https://github.com/kodi-pvr/pvr.vdr.vnsi/blob/Isengard/CMakeLists.txt#L17-L35

OpenGL is always prefered over OpenGLES, it should have a system check to select the correct one in the compile time.

You you have an idea how to do this? On Linux X11 systems GL and GLES can be available, hence we choose GL. Are you saying that cross compilation for RPi results in a positive check for OpenGL?


RE: No OSD VDR on KODI on RPi2 - rascas - 2015-10-25

Well I don't cross compile, I build things inside a Raspbian chroot under a Linux x86 machine. In my basic chroot I also have opengl libraries, hence it picks OpenGL instead.

I saw that the pvr.vdr.vnsi master branch already has a check for arm plataforms:
https://github.com/mk01/pvr.vdr.vnsi/commit/58c4fccec6e6368d0cecac231674fea1b6b8d6f6

This should work for Jarvis and beyond.


RE: No OSD VDR on KODI on RPi2 - SoftWord - 2015-10-25

Can I ask that?

I't possible to crosscompile full kodi+addons on a x86 machine targetting armhf? Compiling directly into rpi2 is very boring and long work.....


RE: No OSD VDR on KODI on RPi2 - FernetMenta - 2015-10-25

(2015-10-25, 14:43)SoftWord Wrote: Can I ask that?

I't possible to crosscompile full kodi+addons on a x86 machine targetting armhf? Compiling directly into rpi2 is very boring and long work.....

Of course you can cross compile: https://github.com/xbmc/xbmc/blob/master/docs/README.raspberrypi


RE: No OSD VDR on KODI on RPi2 - SoftWord - 2015-10-26

thanks Smile, another two question please.....

1) What about hw acceleration? like vnsi issue and GLES2 libraries? I must install default libgles2 on my system x86?

2) into you documentation:
$ make
$ sudo make install


but I can't do make install because the build process is made on a x86 machine and I need to create something like deb package.....


RE: No OSD VDR on KODI on RPi2 - FernetMenta - 2015-10-26

1)
this libs comes with https://github.com/raspberrypi/firmware, see https://github.com/xbmc/xbmc/blob/master/docs/README.raspberrypi

2)
packaging (creating deb files) is a different story. Instead you could copy the build output manually


RE: No OSD VDR on KODI on RPi2 - SoftWord - 2015-10-27

1) ok Smile, after about 2 hours, I'v latest kodi build Smile

2) I'v found a script, mk-debian-{something}.sh.......but I'v read that don't work in cross.......however, can me address where to find correctly all file to deploy on my rpi2 please?

EDIT for point 2):
following exactly your guide at https://github.com/xbmc/xbmc/blob/master/docs/README.raspberrypi , I'v executed "make install" on my vmware x86_64 machine, and I'v noticed that seams to be copied into path:

/opt/xbmc-bcm/xbmc-dbg/arm-linux-gnueabihf

so I'v targizipped the following folders:

/opt/xbmc-bcm/xbmc-dbg/arm-linux-gnueabihf/bin/{xbmc*|kdi*}
/opt/xbmc-bcm/xbmc-dbg/arm-linux-gnueabihf/share/kodi
/opt/xbmc-bcm/xbmc-dbg/arm-linux-gnueabihf/lib/kodi

and copied on my rasp in that path "/opt/xbmc-bcm/xbmc-dbg/arm-linux-gnueabihf/...."

I'v missed something?