Hello,
Hardware
- RPi B3+
- Arduino Uno (also tried with Nano, and different baud rates)
- WS2812B
- Digital HDMI to USB grabber (displays live view in NG web portal), but does not seem work with classic.
Software
- Hyperbian w/ alpha 7
- adalight.ino - (small modifications for baud rate and # of leds)
This happens even if the digital HDMI to USB adapter is unplugged, so I don't think that is the culprit.
The issue occurs when I enable the LEDs (where you set the port and baud rate), Hyperion.NG will restart to enable them, but will just continually reboot.
This is the output of /var/log/daemon.log. I don't know where the hyperion specific logs are, but if someone can point me to them, i'd be happy to look there. I would be greatful for any help!
Code
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.357 hyperiond DAEMON : <INFO> CEC handler created
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.369 hyperiond EFFECTFILES : <INFO> 39 effects loaded from directory :/effects/
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.375 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.375 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.404 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:108:SettingsManager() | Settings database initialized
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.406 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:65:handleSettingsUpdate() | Set mode to: default
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.406 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.432 hyperiond DAEMON : <INFO> set screen capture device to 'dispmanx'
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.433 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.435 hyperiond DISPMANXGRAB : <INFO> Display opened with resolution: 640x480
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.435 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:91:setWidthHeight() | Set new width: 80, height: 45 for capture
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.435 hyperiond DAEMON : <INFO> DISPMANX frame grabber created
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.436 hyperiond V4L2:AUTO : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.446 hyperiond LEDDEVICE : <INFO> Start LedDevice 'adalight'.
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"grb","currentLedCount":40,"delayAfterConnect":5000,"hardwareLedCount":40,"latchTime":30,"lightberry_apa102_mode":false,"output":"ttyUSB0","rate":1e+06,"rewriteTime":1000,"type":"adalight"}]
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:153:init() | Refresh interval = 1000ms
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:36:init() | DeviceType : adalight
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:37:init() | LedCount : 40
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:38:init() | ColorOrder : grb
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:39:init() | RefreshTime : 1000
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:40:init() | LatchTime : 30
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.447 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:52:init() | deviceName : ttyUSB0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:53:init() | AutoDevice : 0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:54:init() | baudRate_Hz : 1000000
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:55:init() | delayAfCon ms: 5000
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond LEDDEVICE : <DEBUG> LedDeviceAdalight.cpp:60:init() | Adalight header for 40 leds: Ada 0x00 0x27 0x72
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond LEDDEVICE : <INFO> Opening UART: ttyUSB0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:141:tryOpen() | _rs232Port.open(QIODevice::WriteOnly): ttyUSB0, Baud rate [1000000]bps
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.448 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.456 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.457 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.458 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.460 hyperiond HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.463 hyperiond EFFECTENGINE : <INFO> Run effect "Led Test" on channel 254
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.464 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Led Test], smoothCfg [2]
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.466 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.468 hyperiond HYPERION : <INFO> Inital background effect 'Led Test' started
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.470 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/V4L' with priority 240 as inactive
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.472 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | V4L capture device: enabled
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.474 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.496 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:146:tryOpen() | portName: ttyUSB0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.497 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:147:tryOpen() | systemLocation: /dev/ttyUSB0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.497 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:148:tryOpen() | description: USB2.0-Serial
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.497 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:149:tryOpen() | manufacturer: 1a86
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.497 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:150:tryOpen() | productIdentifier: 0x7523
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.497 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:151:tryOpen() | vendorIdentifier: 0x1a86
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.497 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:152:tryOpen() | serialNumber:
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.502 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:173:tryOpen() | delayAfterConnect for 5000 ms - start
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.540 hyperiond V4L2:AUTO : <INFO> Signal threshold set to: {12, 12, 12}
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.540 hyperiond V4L2:AUTO : <INFO> CEC detection is now disabled
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.540 hyperiond V4L2:AUTO : <INFO> Signal detection is now disabled
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.541 hyperiond V4L2:AUTO : <INFO> Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.541 hyperiond DAEMON : <DEBUG> hyperiond.cpp:527:handleSettingsUpdate() | V4L2 grabber created
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.541 hyperiond JSONSERVER : <DEBUG> JsonServer.cpp:27:JsonServer() | Created instance
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.542 hyperiond JSONSERVER : <INFO> Started on port 19444
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.543 hyperiond FLATBUFSERVE : <INFO> Started on port 19400
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.545 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.547 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.548 hyperiond PROTOSERVER : <INFO> Started on port 19445
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.550 hyperiond V4L2:AUTO : <INFO> available V4L2 devices:
Aug 4 08:50:51 HyperBian hyperiond[796]: #011/dev/video0#011UVC Camera (534d:2109): USB Vid
Aug 4 08:50:51 HyperBian hyperiond[796]: #011/dev/video14#011bcm2835-isp-capture0
Aug 4 08:50:51 HyperBian hyperiond[796]: #011/dev/video15#011bcm2835-isp-capture1
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.550 hyperiond V4L2:AUTO : <INFO> search for usable video devices
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.557 hyperiond V4L2:AUTO : <INFO> test v4l device: /dev/video0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.560 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:696:init_device() | Set resolution to width=1920 height=1080
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.562 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:713:init_device() | Set framerate to 5 fps
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.563 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:735:init_device() | Pixel format=YUYV
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.582 hyperiond V4L2:AUTO : <INFO> found usable v4l2 device: /dev/video0 (UVC Camera (534d:2109): USB Vid)
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.585 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.586 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.586 hyperiond WEBSERVER : <INFO> Started on port 8090 name 'Hyperion Webserver'
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.585 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.585 hyperiond V4L2:AUTO : <INFO> Started
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.588 hyperiond V4L2:auto : <DEBUG> GrabberWrapper.cpp:49:start() | Grabber start()
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.589 hyperiond HYPERION : <INFO> Hyperion instance 'First LED Hardware instance' has been started
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.593 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.714 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 0
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.763 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:198:setInput() | Priority 254 is now active
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.768 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:174:handleSettingsUpdate() | Setup SSL certificate
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.768 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:190:handleSettingsUpdate() | Setup private SSL key
Aug 4 08:50:51 HyperBian hyperiond[796]: 2020-08-04T08:50:51.769 hyperiond WEBSERVER : <INFO> Started on port 8092 name 'Hyperion Webserver'
Aug 4 08:50:52 HyperBian hyperiond[796]: 2020-08-04T08:50:52.201 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 240 is now active
Aug 4 08:50:52 HyperBian hyperiond[796]: 2020-08-04T08:50:52.296 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 0 is now active
Aug 4 08:50:53 HyperBian hyperiond[796]: 2020-08-04T08:50:53.167 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.86.38
Aug 4 08:50:53 HyperBian hyperiond[796]: 2020-08-04T08:50:53.167 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:192.168.86.38' switch to Hyperion instance 0
Aug 4 08:50:54 HyperBian hyperiond[796]: 2020-08-04T08:50:54.920 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:298:setCurrentTime() | Timeout clear for priority 0
Aug 4 08:50:55 HyperBian hyperiond[796]: 2020-08-04T08:50:55.170 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 240
Aug 4 08:50:56 HyperBian hyperiond[796]: 2020-08-04T08:50:56.675 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:180:tryOpen() | delayAfterConnect for 5000 ms - finished
Aug 4 08:50:56 HyperBian hyperiond[796]: 2020-08-04T08:50:56.675 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: enabled
Aug 4 08:50:56 HyperBian hyperiond[796]: Hyperion caught signal :SIGSEGV
Aug 4 08:50:56 HyperBian hyperiond[796]: 2020-08-04T08:50:56.846 hyperiond CORE : <ERROR> #011/lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x756a1130]
Aug 4 08:50:56 HyperBian hyperiond[796]: 2020-08-04T08:50:56.846 hyperiond CORE : <ERROR> #011/usr/share/hyperion/bin/../lib/libQt5Core.so.5(QRingBuffer::reserve(long long)+0x44) [0x75b74b74]
Aug 4 08:50:56 HyperBian systemd[1]: hyperiond@pi.service: Main process exited, code=killed, status=11/SEGV
Aug 4 08:50:56 HyperBian systemd[1]: hyperiond@pi.service: Failed with result 'signal'.
Aug 4 08:50:59 HyperBian systemd[1]: hyperiond@pi.service: Service RestartSec=2s expired, scheduling restart.
Aug 4 08:50:59 HyperBian systemd[1]: hyperiond@pi.service: Scheduled restart job, restart counter is at 10.
Alles anzeigen