Closed diffusae closed 11 years ago
vnsi4 is not included, nor supported (yet). vdr-addon is now in official openelec addon repository, so make sure to install it from there. if installed the same version from other repo / zip file, you have to clean up the local package cache (/storage/.xbmc/packages/*.zip) and reinstall
and more details, pleae, logs at least
Sorry, that I have no more details, than the log files.
vdr-addon in the official openelec addon repository gives a segmentation fault on the RPi:
vdr.bin -g /tmp --no-kbd --log=3 --port=0 --config=/storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config --resdir=/storage/.xbmc/addons/service.multimedia.vdr-addon/res --cachedir=/storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/cache --lib=/storage/.xbmc/addons/service.multimedia.vdr-addon/plugin --video=/storage/ vdr: no fonts available - OSD will not show any text! Segmentation fault
The vdr.start script restarts the server always.
With the working self compiled of the vdr-addon version 3.0.3, it normally looks like this:
Apr 30 23:22:04 openelec user.err vdr: [1661] VDR version 1.7.27 started Apr 30 23:22:04 openelec user.err vdr: [1661] switched to user 'root' Apr 30 23:22:04 openelec user.err vdr: [1661] codeset is 'UTF-8' - known Apr 30 23:22:04 openelec user.err vdr: [1661] ERROR (tools.c,1388): /usr/share/locale: No such file or directory Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'deu,ger' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'slv,slo' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'ita' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'dut,nla,nld' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'prt' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'fra,fre' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'nor' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'fin,suo' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'pol' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'esl,spa' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'ell,gre' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'sve,swe' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'rom,rum' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'hun' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'cat,cln' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'rus' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'srb,srp,scr,scc' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'hrv' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'est' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'dan' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'cze,ces' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'tur' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'ukr' Apr 30 23:22:04 openelec user.err vdr: [1661] no locale for language code 'ara' Apr 30 23:22:04 openelec user.err vdr: [1661] loading plugin: /storage/.xbmc/addons/service.multimedia.vdr-addon/plugin/libvdr-vnsiserver.so.1.7.27 Apr 30 23:22:04 openelec user.err vdr: [1661] loading plugin: /storage/.xbmc/addons/service.multimedia.vdr-addon/plugin/libvdr-streamdev-server.so.1.7.27 Apr 30 23:22:04 openelec user.err vdr: [1661] loading plugin: /storage/.xbmc/addons/service.multimedia.vdr-addon/plugin/libvdr-dynamite.so.1.7.27 Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/setup.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/sources.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/diseqc.conf Apr 30 23:22:04 openelec user.err vdr: [1662] dynamite udev monitor for subsystem dvb thread started (pid=1661, tid=1662) Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/scr.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/channels.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/timers.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/commands.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/svdrphosts.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/remote.conf Apr 30 23:22:04 openelec user.err vdr: [1661] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/keymacros.conf Apr 30 23:22:04 openelec user.err vdr: [1661] ERROR: no fonts available - OSD will not show any text! Apr 30 23:22:04 openelec user.err vdr: [1661] registered source parameters for 'A - ATSC' Apr 30 23:22:04 openelec user.err vdr: [1661] registered source parameters for 'C - DVB-C' Apr 30 23:22:04 openelec user.err vdr: [1661] registered source parameters for 'S - DVB-S' Apr 30 23:22:04 openelec user.err vdr: [1661] registered source parameters for 'T - DVB-T' Apr 30 23:22:04 openelec user.err vdr: [1661] probing /dev/dvb/adapter0/frontend0 Apr 30 23:22:04 openelec user.err vdr: [1661] dynamite: preparing 8 dynamic device slots for dvb devices Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 1 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 2 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 3 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 4 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 5 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 6 Apr 30 23:22:04 openelec user.err vdr: [1665] epg data reader thread started (pid=1661, tid=1665) Apr 30 23:22:04 openelec user.err vdr: [1665] reading EPG data from /storage/videos/epg.data Apr 30 23:22:04 openelec user.err vdr: [1663] video directory scanner thread started (pid=1661, tid=1663) Apr 30 23:22:04 openelec user.err vdr: [1663] video directory scanner thread ended (pid=1661, tid=1663) Apr 30 23:22:04 openelec user.err vdr: [1664] video directory scanner thread started (pid=1661, tid=1664) Apr 30 23:22:04 openelec user.err vdr: [1664] video directory scanner thread ended (pid=1661, tid=1664) Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 7 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 8 Apr 30 23:22:04 openelec user.err vdr: [1661] dynamite: grab dvb device 0/0 Apr 30 23:22:04 openelec user.err vdr: [1661] found 1 DVB device Apr 30 23:22:04 openelec user.err vdr: [1661] initializing plugin: vnsiserver (0.9.0): VDR-Network-Streaming-Interface (VNSI) Server Apr 30 23:22:04 openelec user.err vdr: [1661] initializing plugin: streamdev-server (0.6.0-git): VDR Streaming Server Apr 30 23:22:04 openelec user.err vdr: [1661] initializing plugin: dynamite (0.0.9f): attach/detach devices on the fly Apr 30 23:22:04 openelec user.err vdr: [1661] dynamite: creating dynamic device slots as much as possible Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 16 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 17 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 18 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 19 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 20 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 21 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 22 Apr 30 23:22:04 openelec user.err vdr: [1661] new device number 23
With version 3.0.6 from official openelec addon repository, it fails to start:
May 1 00:08:44 openelec user.err vdr: [528] VDR version 2.0.1 started May 1 00:08:44 openelec user.err vdr: [528] switched to user 'root' May 1 00:08:44 openelec user.err vdr: [528] codeset is 'UTF-8' - known May 1 00:08:44 openelec user.err vdr: [528] ERROR (tools.c,1460): /usr/share/locale: No such file or directory May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'deu,ger' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'slv,slo' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'ita' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'dut,nla,nld' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'prt' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'fra,fre' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'nor' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'fin,suo' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'pol' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'esl,spa' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'ell,gre' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'sve,swe' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'rom,rum' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'hun' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'cat,cln' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'rus' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'srb,srp,scr,scc' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'hrv' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'est' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'dan' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'cze,ces' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'tur' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'ukr' May 1 00:08:44 openelec user.err vdr: [528] no locale for language code 'ara' May 1 00:08:44 openelec user.err vdr: [528] loading plugin: /storage/.xbmc/addons/service.multimedia.vdr-addon/plugin/libvdr-vnsiserver.so.2.0.0 May 1 00:08:44 openelec user.err vdr: [528] loading plugin: /storage/.xbmc/addons/service.multimedia.vdr-addon/plugin/libvdr-streamdev-server.so.2.0.0 May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/setup.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/sources.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/diseqc.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/scr.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/channels.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/timers.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/commands.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/svdrphosts.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/remote.conf May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/keymacros.conf May 1 00:08:45 openelec user.err vdr: [528] ERROR: no fonts available - OSD will not show any text! May 1 00:08:45 openelec user.err vdr: [528] registered source parameters for 'A - ATSC' May 1 00:08:45 openelec user.err vdr: [528] registered source parameters for 'C - DVB-C' May 1 00:08:45 openelec user.err vdr: [528] registered source parameters for 'S - DVB-S' May 1 00:08:45 openelec user.err vdr: [528] registered source parameters for 'T - DVB-T' May 1 00:08:45 openelec user.err vdr: [528] probing /dev/dvb/adapter0/frontend0 May 1 00:08:45 openelec user.err vdr: [528] creating cDvbDevice May 1 00:08:45 openelec user.err vdr: [528] new device number 1 May 1 00:08:45 openelec user.err vdr: [530] video directory scanner thread started (pid=528, tid=530, prio=high) May 1 00:08:45 openelec user.err vdr: [530] video directory scanner thread ended (pid=528, tid=530) May 1 00:08:45 openelec user.err vdr: [531] epg data reader thread started (pid=528, tid=531, prio=high) May 1 00:08:45 openelec user.err vdr: [531] epg data reader thread ended (pid=528, tid=531) May 1 00:08:45 openelec user.err vdr: [529] video directory scanner thread started (pid=528, tid=529, prio=high) May 1 00:08:45 openelec user.err vdr: [529] video directory scanner thread ended (pid=528, tid=529) May 1 00:08:45 openelec user.err vdr: [528] DVB API version is 0x0506 (VDR was built with 0x0509) May 1 00:08:45 openelec user.err vdr: [528] frontend 0/0 provides DVB-T with QPSK,QAM16,QAM64 ("Siano Mobile Digital MDTV Receiver") May 1 00:08:45 openelec user.err vdr: [528] found 1 DVB device May 1 00:08:45 openelec user.err vdr: [528] initializing plugin: vnsiserver (0.9.0): VDR-Network-Streaming-Interface (VNSI) Server May 1 00:08:45 openelec user.err vdr: [528] initializing plugin: streamdev-server (0.6.0-git): VDR Streaming Server May 1 00:08:45 openelec user.err vdr: [528] setting primary device to 1 May 1 00:08:45 openelec user.err vdr: [528] device 1 has no MPEG decoder May 1 00:08:45 openelec user.err vdr: [528] assuming manual start of VDR May 1 00:08:45 openelec user.err vdr: [528] skin "anthra_1280_OS" not available - using "lcars" instead May 1 00:08:45 openelec user.err vdr: [528] starting plugin: vnsiserver May 1 00:08:45 openelec user.err vdr: [528] VNSI: VNSI Server started May 1 00:08:45 openelec user.err vdr: [528] VNSI: Channel streaming timeout: 10 seconds May 1 00:08:45 openelec user.err vdr: [528] starting plugin: streamdev-server May 1 00:08:45 openelec user.err vdr: [528] loading /storage/.xbmc/userdata/addon_data/service.multimedia.vdr-addon/config/plugins/streamdev-server/streamdevhosts.conf May 1 00:08:45 openelec user.err vdr: [528] skin "anthra_1280_OS" not available - using "lcars" instead May 1 00:08:45 openelec user.err vdr: [534] section handler thread started (pid=528, tid=534, prio=low) May 1 00:08:45 openelec user.err vdr: [535] VDR VNSI Server thread started (pid=528, tid=535, prio=high) May 1 00:08:45 openelec user.err vdr: [533] tuner on frontend 0/0 thread started (pid=528, tid=533, prio=high) May 1 00:08:45 openelec user.err vdr: [533] cTimeMs: using monotonic clock (resolution is 1 ns) May 1 00:08:45 openelec user.err vdr: [537] streamdev server thread started (pid=528, tid=537, prio=high) May 1 00:08:45 openelec user.err vdr: [537] Streamdev: Listening (VTP) on port 2004 May 1 00:08:45 openelec user.err vdr: [537] Streamdev: Listening (HTTP) on port 3000 May 1 00:08:45 openelec user.err vdr: [528] OSD size changed to 720x480 @ 1 May 1 00:08:45 openelec user.err vdr: [538] VDR version 2.0.1 started
If reinstall version 3.0.3 it works without problems.
in ssh try
vdr.stop
vdr.start
and paste the error, or catch me in irc. nickname: seo
EDIT also dmesg
dmesg | pastebinit
hehe... ;-)
oops... :-)
@stefansaraev: Sorry for the delay. I have had some really strange behaviour. It's difficult to describe, but first I will paste the errors of vdr-addon 3.0.6.
vdr-server restarts every second (with softcam plugin disabled) :
vdr-server restarts every minute (with softcam plugin enabled):
The connection to VNSI client is lost. It's not possible to play a live stream. Just for some seconds.
Here dmesg output:
Thanks a lot for your hint. I've tested the vdr-addon 3.0.6 with rbej custom build of openelec. I also use smicha's vdr-addon 3.0.3 build, which is perfectly working with the RPi.
https://github.com/OpenELEC/OpenELEC.tv/issues/1668
http://schleicher.li/download/xbmc_vdr-addon_for_raspberry_pi/works/ He was also using a patch to compile the vdr-addon. http://schleicher.li/download/xbmc_vdr-addon_for_raspberry_pi/patch/
First, I couldn't find the local addon cache (it's still there in .xbmc/addons/packages/). So I have uninstall the vdr-addon 3.0.3 und reinstall version 3.0.6. via the addon-menu. I was using my previous configuration (without softcam plugin enabled). The vdr server restart every time. Because of that, the leds of the DVB receiver were flashing. I've decided to rollback to version 3.0.3, but it don't really disable version 3.0.6. It was still the same version, but suddenly it works. I was looking in /var/log/messages and it is VDR version 2.0.1 and the server is stable enough to use it (also with the softcam disabled).
I've tried this with a fresh install of OpenELEC Version: 3.0.1 and using the default configuration. I installed vdr-addon 3.0.6 and enabled VNSI PVR client. The server is restarting nearly every minute. If I disable the softcam plugin, it restarts every second. I couldn't reproduce this behaviour, if I installed version 3.0.3 and try to rollback. It could be something with my configuration and I don't know what was going wrong. For now, I have a working vdr-addon version 3.0.6, but I don't know why. Didn't like to try to change it again in the custom build.
Maybe you have some suggestions?
Regards
unfortunately, nothing useful in logs. as I don''t have a RPI to test on, would be cool if you give me ssh access to your box. if it's ok for you, ping me in irc
After enabling coredump support we get this http://pastebin.com/yYGj2jcp
BTW: Why is CONFIG_COREDUMP disabled on all projects ?
Hi,
I figured it out. Perhaps there was an error (SD card etc.) while un/install the old version.
I got this message in service.log: http://pastebin.com/bbF0Fbwk
I've copied the running configuration to another system and it works. I am using this setup.conf with vdr-add-on: http://pastebin.com/s7kxv6wU It has almost the default values generated by the server.
The problem (of the restarts) is because of a key-value pair: OSDSkin = sttng The server needs to have the OSDSkin setting in the configuration file, otherwise it will fail to start or restarts very often.
I've fixed it. I am using this workaround in the vdr.start script: http://pastebin.com/2huCybxV I've only added two lines for the OSDSkin. Maybe somebody can fix it. I guess this value isn't really needed.
Certainly you can test it via ssh. I will try to catch you in IRC.
Regards
this is very, very interesting, because I can not reproduce on generic32/64 and ion64. so afterall, you can confirm that adding OSDSkin to setup.conf fixes the issue ?
EDIT: can you confirm it still works with OSDSkin = lcars ?
EDIT: OSDSkin shouldn't be mandatory, I assume you had wrong (nonexistent) skin set in your setup.conf.
EDIT: thanks @henkwiedig . I have spoken too early, from your coredump it seems lcars is broken, let it be sttng then ;)
For me OSDSkin = sttng -> wokrs OSDSkin = lcars -> fails
It's the same for me OSDSkin = sttng setting really works. OSDSkin = lcars has the same problem as before. Use of sttng as permanent OSDSkin should solve the error. With a clean installation there was no OSDSkin set in setup.conf.
Only a self compiled version of vdr-addon 3.0.3 is working on the RPi. Version 3.0.4 to 3.0.6 didn't work. It allways restarts the vdr-server on the RPi. I like to use it with VNSI4 of the Gotham Branch. VDR seems to be more reliable than tvheadend. With vdr it's possible to use Live TV on the RPi; backend and frontend on the same device. It would be fine, if anyone could provide a working vdr-addon for the Raspberry Pi.