No VDR OSD with a RPi - 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 VDR OSD with a RPi (/showthread.php?tid=230635) |
No VDR OSD with a RPi - Nachteule - 2015-06-27 Hi, just a question I can't get the VDR OSD working with a Raspberry Pi 2 running XBian. Is there anything what I can do to make it work? I'm using a self compiled Kodi v15.0 rc1. Btw, I already used the search function, but I can't get any result for searching "VDR OSD" RE: No VDR OSD with a RPi - Nachteule - 2015-06-27 Hmmm, I'm answering myself The vdr.vnsi plugin has to be build with glesv2 support, but unfortunately the cmake build always founds OpenGL BEFORE OpenGLESv2 First dirty hack: removing the /usr/share/cmake-x.x/Modules/FindOpenGL.cmake will solve this. Had no success removing a lot of OpenGL stuff Next problem: the required glesv2 include files and libraries are not found, because cmake doesn't look into /opt/vc folder Next dirty hack: made some symlinks from /usr/include and /usr/lib to /opt/vc/... After I did that, it works now Will try a little bit more using -DCMAKE_INCLUDE_PATH=/opt/vc/include and -DCMAKE_LIBRARY_PATH=/opt/vc/lib, maybe this solves second hack RE: No VDR OSD with a RPi - FernetMenta - 2015-06-28 there shouldn't be any hack required. you need the full kodi tree with depends configured for building the addons. did you do this? RE: No VDR OSD with a RPi - Nachteule - 2015-06-29 Sure, I did this. But I'm always fighting with two issues: 1. If the OpenGL libs are installed it will never build with OpenGLESv2 libs 2. The OpenGLESv2 is not found in /opt/vc I can solve 1) by deinstalling OpenGL libs (I investigated the FindOpenGL.cmake file to figure out which packets I have to deinstall) and 2) is also solved by passing through the -DCMAKE_INCLUDE_PATH=/opt/vc/include and -DCMAKE_LIBRARY_PATH=/opt/vc/lib variables modifying the file file project/cmake/addons/CMakeLists.txt RE: No VDR OSD with a RPi - FernetMenta - 2015-06-29 I don't follow. Building for Pi should not require any of those libs (GL) installed on the build system. did you follow this guide? https://github.com/xbmc/xbmc/blob/master/docs/README.raspberrypi RE: No VDR OSD with a RPi - Nachteule - 2015-06-29 No, I'm using this build environment. https://github.com/xbianonpi/xbian/wiki/Building-XBian-packages It works pretty well, only in this schroot there are, or I should better say, were the GL libs installed. Don't know why, maybe there is a reason for this. Building Kodi 15 without the GL libs works well, so it might be unnecessary to have them installed RE: No VDR OSD with a RPi - FernetMenta - 2015-06-29 Well, our build system is still kind of messy and the binary addons depend on kodi. Cross compiling pvr addons is not supported without having built kodi depends. It may work by chance but nobody has considered this as a requirement so far. I recommend that you follow the instructions I linked, all other approached may lead to undefined bahavior because not tested by us. RE: No VDR OSD with a RPi - Nachteule - 2015-06-29 FernetMenta, thank you for your help. Finally, let me explain two things: 1) I'm not really cross compiling, the complete build process will be done in a schroot environment on a ARM system, so it is like building Kodi and addons directly on a RPi 2) All addons are build from the kodi tree with following two steps: Code: cd "where-kodi-sources-are" And finally, Code: cd "where-kodi-sources-are" Anyway, I have it now working by patching project/cmake/addons/CMakeLists.txt and removing the opengl stuff RE: No VDR OSD with a RPi - FernetMenta - 2015-06-29 Quote:1) I'm not really cross compiling ... exactly this is the "problem" here. Our build system only supports RPi when cross compiling. |