Ideen zur Problemlösung?
Was steht denn im Log und welches Ausgabeplugin nutzt du?
Ideen zur Problemlösung?
Was steht denn im Log und welches Ausgabeplugin nutzt du?
Alles anzeigenHi zusammen,
ich habe noch 2 Probleme mit dem yavdr ansible:
- Beim Umschalten wird manchmal das Bild mit einem grünen, flackernden Overlay gestört. Umschalten auf einen anderen Kanal bringt wieder ein normales Bild.
- Nach dem Beenden von Kodi wird oft nicht korrekt zum VDR zurückgekehrt. Manchmal kommt das kleine yavdr Logo oder schwarzes Bild mit Ton oder nur schwarz ohne Ton. Nach einem Neustart vom VDR ist wieder alles OK. Manchmal funktioniert die Rückkehr zum VDR auch einwandfrei, kein Muster zu erkennen.
Ideen zur Problemlösung?
Grüße,
Olmimoe
Hier mein syslog vom Kodi Start und Beenden. In dem Fall war schwarzes Bild mit Ton nach der Rückkehr zum VDR. Ich habe mal blind mit der Fernbedienung noch einmal Kodi gestartet was auch funktionierte. Nach nochmaligen beenden von Kodi wurde korrekt zum VDR zurückgekehrt.
Ausgabeplugin ist softhddevice.
Nov 18 16:31:17 yavdr vdr: [11498] executing command 'frontend-dbus-send switchto kodi'
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:called set_next_fe with fe_type=kodi, fe_name=
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:called switch()
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:called stop(extern=False)
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:stop: current frontend is VDR-Frontend
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 910
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:status: softhddevice is attached
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:is_running: True
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:self.frontends[0].is_running: True
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:stop(): current frontend is running
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 910
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 910
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:status: softhddevice is attached
Nov 18 16:31:18 yavdr vdr: [26652] device 2 TS buffer thread ended (pid=11498, tid=26652)
Nov 18 16:31:18 yavdr vdr: [26651] buffer stats: 324488 (6%) used
Nov 18 16:31:18 yavdr vdr: [26651] device 2 receiver thread ended (pid=11498, tid=26651)
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:change_state with command deta and options "" to detached
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 912
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:softhddevice successfully detached
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:caller VDR-Frontend has been stopped
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:set_background with options path: /usr/share/yavdr/images/yavdr_logo.png, fill: False
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:SystemdUnitFrontend:starting kodi
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:stop() got result (True, 'OK')
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:switch(): got result (True, 'OK')
Nov 18 16:31:18 yavdr systemd[903]: Starting Start kodi in user session...
Nov 18 16:31:18 yavdr set-kodi-display[31835]: DEBUG: no changes necessary, exiting
Nov 18 16:31:18 yavdr systemd[903]: Started Start kodi in user session.
Nov 18 16:31:18 yavdr yavdr-frontend[1053]: DEBUG:SystemdUnitFrontend:unit is running
Nov 18 16:32:46 yavdr bash[31957]: Sending: {'content': 'QUIT', 'type': 'action'}
Nov 18 16:32:46 yavdr bash[31957]: Fehler: Syntaxfehler in Prozess-ID-Liste
Nov 18 16:32:46 yavdr bash[31957]: Aufruf:
Nov 18 16:32:46 yavdr bash[31957]: ps [Optionen]
Nov 18 16:32:46 yavdr bash[31957]: Versuchen Sie »ps --Hilfe <Einfach|Liste|Ausgabe|Threads|Verschiedenes|Alle>«
Nov 18 16:32:46 yavdr bash[31957]: oder »ps --Hilfe <s|l|o|t|m|a>«,
Nov 18 16:32:46 yavdr bash[31957]: um zusätzliche Hilfe anzuzeigen.
Nov 18 16:32:46 yavdr bash[31957]: Für weitere Informationen siehe ps(1).
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:SystemdUnitFrontend:unit stopped
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: INFO:SystemdUnitFrontend:stopped, kodi, unit
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:caller kodi has been stopped
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:set_background with options path: /usr/share/yavdr/images/yavdr_logo.png, fill: False
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:yaVDRFrontend:set_background with options path: /usr/share/yavdr/images/yavdr_logo.png, fill: False
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:VDRFrontend:user is active: True
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 912
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:status: softhddevice is detached
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 912
Nov 18 16:32:46 yavdr vdr: video/vdpau: Can't create vdp device on display ':0'
Nov 18 16:32:46 yavdr vdr: video/vaapi: Can't inititialize VA-API on ':0'
Nov 18 16:32:46 yavdr vdr: video/glx: glx version 1.4
Nov 18 16:32:46 yavdr vdr: video/vaapi: Can't inititialize VA-API on ':0'
Nov 18 16:32:46 yavdr vdr: video/noop: noop driver running on display ':0'
Nov 18 16:32:46 yavdr vdr: audio: 'alsa' output module used
Nov 18 16:32:46 yavdr vdr: audio/alsa: supports pause: yes
Nov 18 16:32:46 yavdr vdr: audio: 44100Hz supports 1 2 3 4 5 6 7 8 channels
Nov 18 16:32:46 yavdr vdr: audio: 48000Hz supports 1 2 3 4 5 6 7 8 channels
Nov 18 16:32:46 yavdr vdr: audio: 192000Hz supports 1 2 3 4 5 6 7 8 channels
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:change_state with command atta and options "-d :0" to attached
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:check_state(): got status code: 910
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:softhddevice successfully attached
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:current PrimaryDevice is softhddevice-vpp (Index: 3, Number: 3, hasDecoder: True, isPrimary: True)
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:{self.name} is the primary device
Nov 18 16:32:46 yavdr yavdr-frontend[1053]: DEBUG:softhddevice:needed 0.002 s to switch primary device
Nov 18 16:32:46 yavdr vdr: [11498] switching to channel 19 C-9999-401-41103 (ZDF_neo HD)
Nov 18 16:32:47 yavdr vdr: [31993] device 2 receiver thread started (pid=11498, tid=31993, prio=high)
Nov 18 16:32:47 yavdr vdr: [31994] device 2 TS buffer thread started (pid=11498, tid=31994, prio=high)
Nov 18 16:32:48 yavdr vdr: audio/alsa: using device 'default'
Nov 18 16:32:48 yavdr vdr: audio/alsa: start delay 336ms
Grüße,
Olmimoe
Und hier noch der Log wenn es beim Umschalten ein grünes Flackern gibt. In dem Fall passiert es beim Umschalten von RTL auf Sat1. Da gibt es einen vdpau Error. Nach Umschalten auf einen anderen Kanal ist es wieder OK.
Nov 19 17:49:40 yavdr vdr: [32123] switching to channel 22 C-9999-161-12101 (RTL Television)
Nov 19 17:49:40 yavdr vdr: [26449] device 2 TS buffer thread ended (pid=32123, tid=26449)
Nov 19 17:49:40 yavdr vdr: [26448] buffer stats: 102836 (1%) used
Nov 19 17:49:40 yavdr vdr: [26448] device 2 receiver thread ended (pid=32123, tid=26448)
Nov 19 17:49:41 yavdr vdr: video: slow down video, duping frame
Nov 19 17:49:41 yavdr vdr: video: decoder buffer empty, duping frame (4541910/112) 0 v-buf
Nov 19 17:49:41 yavdr vdr: video: --:--:--.--- +0 0 0/\ms 0+5+4 v-buf
Nov 19 17:49:41 yavdr vdr: [26451] device 2 receiver thread started (pid=32123, tid=26451, prio=high)
Nov 19 17:49:41 yavdr vdr: [26452] device 2 TS buffer thread started (pid=32123, tid=26452, prio=high)
Nov 19 17:49:41 yavdr vdr: audio/alsa: using device 'default'
Nov 19 17:49:41 yavdr vdr: audio/alsa: start delay 336ms
Nov 19 17:49:42 yavdr vdr: video: decoder buffer empty, duping frame (4541931/112) 0 v-buf
Nov 19 17:49:42 yavdr vdr: video: slow down video, duping frame
Nov 19 17:49:42 yavdr vdr: video/vdpau: synced after 31 frames
Nov 19 17:49:42 yavdr vdr: video: 12:01:11.882 +105 527 0/\ms 8+6+4 v-buf
Nov 19 17:49:44 yavdr vdr: [26452] device 2 TS buffer thread ended (pid=32123, tid=26452)
Nov 19 17:49:44 yavdr vdr: [32123] switching to channel 23 C-9999-161-12102 (SAT.1)
Nov 19 17:49:44 yavdr vdr: [26451] buffer stats: 148332 (2%) used
Nov 19 17:49:44 yavdr vdr: [26451] device 2 receiver thread ended (pid=32123, tid=26451)
Nov 19 17:49:44 yavdr vdr: video: slow down video, duping frame
Nov 19 17:49:44 yavdr vdr: video: decoder buffer empty, duping frame (4542004/94) 0 v-buf
Nov 19 17:49:44 yavdr vdr: video: --:--:--.---+8888 183 0/\ms 0+5+4 v-buf
Nov 19 17:49:44 yavdr vdr: [26457] device 2 receiver thread started (pid=32123, tid=26457, prio=high)
Nov 19 17:49:44 yavdr vdr: [26458] device 2 TS buffer thread started (pid=32123, tid=26458, prio=high)
Nov 19 17:49:44 yavdr vdr: audio/alsa: using device 'default'
Nov 19 17:49:44 yavdr vdr: audio/alsa: start delay 336ms
Nov 19 17:49:45 yavdr vdr: video/vdpau: can't create decoder: A catch-all error, used when no other error code applies.
Nov 19 17:49:45 yavdr vdr: video/vdpau: can't destroy video decoder: An invalid handle value was provided.
Nov 19 17:49:45 yavdr vdr: video: decoder buffer empty, duping frame (4542015/94) 0 v-buf
Nov 19 17:49:45 yavdr vdr: video: slow down video, duping frame
Nov 19 17:49:45 yavdr vdr: video/vdpau: synced after 33 frames
Nov 19 17:49:45 yavdr vdr: video: 17:45:38.218 +101 372 0/\ms 10+7+4 v-buf
Nov 19 17:49:54 yavdr vdr: [32123] switching to channel 24 C-9999-161-12103 (ProSieben)
Nov 19 17:49:54 yavdr vdr: [26458] device 2 TS buffer thread ended (pid=32123, tid=26458)
Nov 19 17:49:54 yavdr vdr: [26457] buffer stats: 125020 (2%) used
Nov 19 17:49:54 yavdr vdr: [26457] device 2 receiver thread ended (pid=32123, tid=26457)
Nov 19 17:49:55 yavdr vdr: [26464] device 2 receiver thread started (pid=32123, tid=26464, prio=high)
Nov 19 17:49:55 yavdr vdr: [26465] device 2 TS buffer thread started (pid=32123, tid=26465, prio=high)
Nov 19 17:49:55 yavdr vdr: audio/alsa: using device 'default'
Nov 19 17:49:55 yavdr vdr: audio/alsa: start delay 336ms
Nov 19 17:49:55 yavdr vdr: video: slow down video, duping frame
Nov 19 17:49:55 yavdr vdr: video: decoder buffer empty, duping frame (4542470/482) 1 v-buf
Nov 19 17:49:55 yavdr vdr: video: --:--:--.--- +0 0 0/\ms 1+5+4 v-buf
Nov 19 17:49:56 yavdr vdr: video: decoder buffer empty, duping frame (4542490/482) 0 v-buf
Nov 19 17:49:56 yavdr vdr: video: slow down video, duping frame
Nov 19 17:49:56 yavdr vdr: video/vdpau: synced after 36 frames
Nov 19 17:49:56 yavdr vdr: video: 18:29:50.802 +103 328 0/\ms 16+6+4 v-buf
Nov 19 17:50:55 yavdr vdr: video: slow down video, duping frame
Nov 19 17:50:55 yavdr vdr: video: 18:30:50.082 +103 280 0/\ms 13+6+4 v-buf
Grüße,
Olmimoe
Hallo seahawk1986,
wenn man in install-yavdr.sh ein $@ hinzufügt, kann man -vv an ansible durchreichen.
Konkret suche ich gerade warum create xorg.conf (for nvidia driver) fehlschlägt.
Es fehlt eine Variable. Hat ja früher funktioniert.
TASK [yavdr-xorg : create xorg.conf (for nvidia driver)] **************************************************************************************************************
task path: /home/fauthd/yavdr-ansible/roles/yavdr-xorg/tasks/detect-xorg.yml:186
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1574187385.57-113100429527832 `" && echo ansible-tmp-1574187385.57-113100429527832="` echo /root/.ansible/tmp/ansible-tmp-1574187385.57-113100429527832 `" ) && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1574187385.57-113100429527832/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'primary'"
}
Hi,
mit reboot und nochmals "sudo install-yavdr.sh" lief wieder alles.
Aber eigentlich wollte ich ja das
vdr-plugin-softhddevice-openglosd-ffmpeg-2.8
ausprobieren.
Nun ja, es geht nicht. Der altbekannte Fehler "[softhddev]: vdpau interop NOT initialized" verhindert den Start.
Mit vdr-plugin-softhddevice läuft es.
Sollten wir nicht diesen Mammut-Thread schließen und für jedes Problem einen eigenen thread starten?
Am besten in einem neuen Ansible Bereich.
Was für Hardware hast du da im System? Welcher nvidia-Treiber wurde da installiert? Ein eigener Thread wäre sicherlich nicht verkehrt...
Der 435 läuft erst ab der Nvidia-700er-Serie, die 630 braucht schon den Legacy-Treiber bzw. den nvidia-390.
Na witzig - hab eine 630 vor 3 Wochen erst in meinen VDR einbauen wollen, hatte damit auch Probleme, auf der nvidia-Site wurde mir nur der 390er-Treiber angeboten dafür. Hab dann doch den Intel-Chip verwendet.
Jetzt hab ich nochmal nachgesehen, es wird nun der neue nvidia-440 zum Download angeboten für Linux ....
Aber der 435 läuft soweit ohne Probleme mit softhddevice.
Das "herkömmliche" softhddevice läuft meines Wissens ohne Hardwarebeschleunigung.
Dafür gibts ...-openglosd(-ffmpeg2.8) - das läuft mit meiner alten Karte in der Signatur ziemlich einwandfrei mit Nvidia 390.116-0ubuntu0.18.04.1 unter Ansible.
Muss man einfach das Paket "vdr-plugin-softhddevice-openglosd-ffmpeg-2.8" installieren und ffmpeg 2.8 wird nachgezogen?.
Sonst muss nichts beachtet werden?
You have outdated information
Everything is developing, softhddevice too.
Sonst muss nichts beachtet werden?
Ich habe einfach in meiner localhost das Plugin auf das von dir genannte Plugin umgestellt und das Ansible-Installationsskript laufen lassen.
Aber Inj hat recht: es gibt mittlerweile verschiedenste Ausprägungen von softhddevice.
Für unsere alte Graka ist die genannte Version aber vermutlich die beste/stabilste. Ich lasse mich hier aber auch gerne eines Besseren belehren...
Ich habs einfach gemacht.Ging ohne Probleme.
Was ich beim installieren (aus meiner Sicht) falsch gemacht habe Lvm einzurichten.
Bekommt man das wieder los?
Ansonsten das bis jetzt beste Yavdr und Kodi.
Herzlichen Dank, sieht so aus, als ob es das war.Allerdings habe ich auf vdr-plugin-softhddevice-ffmpeg-2.8 zurückgegriffen, also ohne "openglosd".
Mit gab es kein Bild, nur Ton und beim Schalten einen Crash.
Jetzt habe ich doch nochmal umdisponiert, weil ich festgestellt habe, dass beim Neustart des VDRs öfters kein Bild aber Ton da war. Erst ein Umschalten auf einen anderen Sender zeigte dann ein einwandfreies Bild. Außerdem entdeckte ich noch eine Seltsamheit: Beim Pausieren einer Aufnahme und anschließender erneuter Wiedergabe switchte das Standbild auf Schwarz mit Ton. Nur ein Minutenspringen brachte dann Bild zurück.
Also dachte ich mir, dass ich mal alle Softhddevice-Versionen mal durchprobieren muss. Das vdr-plugin-softhddevice-vpp scheint mir bei meinem J4105-Mainboard einwandfrei zu funktionieren.
Die ganzen softhddevice-Versionen haben sicher ihren Sinn, aber die sind auch - ob der schwer zu verstehenden (für mich) Unterschiede - verwirrend.
Ich blick da auch nicht durch,aber ist ja alles noch experimentell und die Profis hier werden das schon richten.
Was die Jungs hier leisten ist echt der Hammer.
Ich halte mich in Zukunft lieber raus da ich keinen Plan habe.
Bei mir funktioniert "vdr-plugin-softhddevice-openglosd-ffmpeg-2.8"
ohne Probleme.
Hallo,
wie installiere ich bei yavdr ansible ein selbstgebautes Plugin??
Ich wollte gerne dieses weiterentwickelte live plugin testen:
vdr-live-plugin HTML5 Web-Streaming
Nach dem Bau habe ich ...
... gemacht und den vdr neu gestartet.
Mein Plugin Verzeichnis sieht jetzt so aus:
root@vdr:/usr/lib/vdr/plugins# ls
libvdr-dbus2vdr.so.2.4.0 libvdr-dvbapi.so.2.4.0 libvdr-live.so libvdr-osd2web.so.2.4.0 libvdr-softhddevice.so.2.4.0 skindesigner
libvdr-desktop.so.2.4.0 libvdr-epg2vdr.so.2.4.0 libvdr-markad.so.2.4.0 libvdr-pulsecontrol.so.2.4.0 libvdr-tvguideng.so.2.4.0
libvdr-devstatus.so.2.4.0 libvdr-femon.so.2.4.0 libvdr-menuorg.so.2.4.0 libvdr-skindesigner.so.2.4.0 libvdr-vnsiserver.so.2.4.0
Damit der VDR ein Plugin lädt, muss es eine passende Konfigurationsdatei in /etc/vdr/conf.d/ geben - vgl. https://www.yavdr.org/document…mentation.html#org35d6058
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!