Ich melde mich erneut, da ich leider wieder ein par Probleme mit dem Autostart habe :sickxx:
Beim einschalten der Stromzufuhr für RasPi und das Ambilight bootet normalerweise Hyperion.ng ganz normal. Zwischendurch habe ich aber das Problem, dass er während der Regenbogen-Animation nicht weiter läuft und stehen bleibt. In die Weboberfläche gelange ich noch und konnte feststellen, dass der externe Grabber scheinbar nicht mehr erkannt wird. Ausprobiert habe ich das starten während eine HDMI Quelle ein- oder ausgeschaltet war.
Anbei einmal das logging, welches ich über die Weboberfläche kopiert habe.
Anmerkung:
Die Zeile "[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times" taucht mehrfach auf und habe diese daher mit "..." abgekürzt.
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
...
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond V4L2:auto] (ERROR) Previous line repeats 21 times
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
...
Erneuter Versuch nach einem Neustart:
...
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
[hyperiond V4L2:auto] (ERROR) Previous line repeats 148 times
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.89
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:99:handleInstanceSwitch()) Client '::ffff:192.168.178.89' switch to Hyperion instance 0
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:298:setCurrentTime()) Timeout clear for priority 0
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
...
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
[hyperiond V4L2:auto] (ERROR) Previous line repeats 127 times
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
...
Alles anzeigen
Und erneut:
...
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
[hyperiond V4L2:auto] (DEBUG) (V4L2Grabber.h:155:throw_errno_exception()) Previous line repeats 159 times
[hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) Previous line repeats 1 times
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:298:setCurrentTime()) Timeout clear for priority 0
[hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) Previous line repeats 1 times
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:99:handleInstanceSwitch()) Client '::ffff:192.168.178.89' switch to Hyperion instance 0
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
...
[hyperiond V4L2:auto] (ERROR) Previous line repeats 93 times
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 254
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond V4L2:auto] (ERROR) Previous line repeats 182 times
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) Previous line repeats 10 times
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) Previous line repeats 10 times
[hyperiond V4L2:auto] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
[hyperiond V4L2:auto] (ERROR) Previous line repeats 200 times
...
Alles anzeigen
Dann habe ich gerade eben mein MacBook ausgeschaltet und es erneut versucht (dachte vlt. einen IP Konflikt) und habe dann schlussendlich folgendes bekommen, wo er die Regenbogen-Animation gefühlt übersprungen hat (Habs aus dem Augenwinkel nicht ganz gesehen :whistle:):
[hyperiond EFFECTFILES] (INFO) 38 effects loaded from directory :/effects/
[hyperiond EFFECTFILES] (INFO) 21 effect schemas loaded from directory :/effects/schema/
[hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /storage/hyperion//custom-effects
[hyperiond SettingsManager] (DEBUG) (SettingsManager.cpp:108:SettingsManager()) Settings database initialized
[hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:65:handleSettingsUpdate()) Set mode to: default
[hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
[hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'
[hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:34:setVideoMode()) Set videomode to 0
[hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 4x1053523228
[hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:83:setWidthHeight()) Set new width: 96, height: 54 for capture
[hyperiond DAEMON] (INFO) DISPMANX frame grabber created
[hyperiond V4L2:auto] (DEBUG) (Grabber.cpp:34:setVideoMode()) Set videomode to 0
[hyperiond V4L2:auto] (DEBUG) (Grabber.cpp:83:setWidthHeight()) Set new width: 360, height: 240 for capture
[hyperiond V4L2:auto] (INFO) Signal threshold set to: {12, 12, 12}
[hyperiond V4L2:auto] (INFO) Signal detection is now disabled
[hyperiond V4L2:auto] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
[hyperiond DAEMON] (DEBUG) (hyperiond.cpp:467:handleSettingsUpdate()) V4L2 grabber created
[hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:25:JsonServer()) Created instance
[hyperiond JSONSERVER] (INFO) Started on port 19444
[hyperiond LEDDEVICE] (INFO) LedDevice 'apa102' found.
[hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:55:open()) _baudRate_Hz 1000000, _latchTime_ns 1
[hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:56:open()) _spiDataInvert 0, _spiMode 0
[hyperiond FLATBUFCONNECTION] (INFO) Connecting to Hyperion: 127.0.0.1:19401
[hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0
[hyperiond FLATBUFSERVER] (INFO) Started on port 19400
[hyperiond PROTOSERVER] (INFO) Started on port 19445
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:32:initServer()) Initialize Webserver
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:32:initServer()) Previous line repeats 1 times
[hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive
[hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started
[hyperiond EFFECTENGINE] (INFO) Run effect "Warm mood blobs" on channel 254
[hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Warm mood blobs], smoothCfg [2]
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'System/EFFECT' with priority 254 as inactive
[hyperiond HYPERION] (INFO) Inital background effect 'Warm mood blobs' started
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'System/GRABBER' with priority 250 as inactive
[hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: enabled
[hyperiond Dispmanx] (DEBUG) (GrabberWrapper.cpp:45:start()) Grabber start()
[hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created
[hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started
[hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:89:handleSettingsUpdate()) Apply Webserver settings
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:107:handleSettingsUpdate()) Set document root to: :/webconfig
[hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:89:handleSettingsUpdate()) Apply Webserver settings
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:107:handleSettingsUpdate()) Set document root to: :/webconfig
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 0
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:173:handleSettingsUpdate()) Setup SSL certificate
[hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:189:handleSettingsUpdate()) Setup private SSL key
[hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:198:setInput()) Priority 254 is now active
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 0 is now active
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 13 times
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:298:setCurrentTime()) Timeout clear for priority 0
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 2 times
[hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 254
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 200 times
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 46 times
[hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.89
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:99:handleInstanceSwitch()) Client '::ffff:192.168.178.89' switch to Hyperion instance 0
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 134 times
[hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 4 times
[hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.89
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:99:handleInstanceSwitch()) Client '::ffff:192.168.178.89' switch to Hyperion instance 0
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
[hyperiond DISPMANXGRABBER] (ERROR) Previous line repeats 33 times
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:995:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.89
[hyperiond DISPMANXGRABBER] (ERROR) Snapshot failed: -1
Alles anzeigen
Kann mir jemand sagen was er für ein Problem hat? Gestern Abend hatte es noch funktioniert :crying:
EDIT // Es scheint so als würde dies nur passieren wenn die USB Aufnahme beim start aktiviert ist. Schalte ich diese aus und starte neu, aktiviere diese nachträglich, kriege ich wieder mein Externes Bild in der Live Vorschau und es funktioniert, bis das Gerät wieder neu startet.
Gruß,
RaTToX