Beiträge von Pitpit

    Dear community,


    I have a problem with a fresh installed Hyperbian 2.0.0-alpha.11: The WS2801 works fine with my grabber and my Raspberry Pi 2. But after some reboots Hyperion can't start anymore. Because of that I did a fresh installation of Hyperbian, but with the same error. At first everything runs perfectly, but after a few restarts I got the same error.


    At first I was able to fix it with this post: Alpha 10 - hyperiond MAIN : <ERROR> The Hyperion Daemon is already running, abort start

    But after a few days hypersion won't start again.



    Do you have any idea how to fix it?


    hypersiond -d log:

    2021-10-27T22:03:55.695 hyperiond MAIN : <INFO> Starting Hyperion - 2.0.0-alpha.11, (HEAD detached at 2.0.0-alpha.11) (GitHub-f42d5a7/2c79656-1633468939), built: Oct 5 2021:21:26:30

    2021-10-27T22:03:55.697 hyperiond MAIN : <DEBUG> main.cpp:384:main() | QtVersion [5.11.3]

    2021-10-27T22:03:55.698 hyperiond MAIN : <INFO> Set user data path to '/home/pi/.hyperion'

    2021-10-27T22:03:55.746 hyperiond DAEMON : <DEBUG> PythonInit.cpp:54:PythonInit() | Initializing Python interpreter

    2021-10-27T22:03:55.911 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:171:SettingsManager() | Settings database initialized

    2021-10-27T22:03:55.912 hyperiond DAEMON : <INFO> CEC handler created

    2021-10-27T22:03:55.937 hyperiond EFFECTFILES : <INFO> 40 effects loaded from directory :/effects/

    2021-10-27T22:03:55.949 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/

    2021-10-27T22:03:55.950 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects/

    2021-10-27T22:03:56.025 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:171:SettingsManager() | Settings database initialized

    2021-10-27T22:03:56.031 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default

    2021-10-27T22:03:56.032 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | Blackborder detector: enabled

    2021-10-27T22:03:56.065 hyperiond LEDDEVICE : <INFO> Start LedDevice 'ws2801'.

    2021-10-27T22:03:56.066 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | Smoothing: enabled

    2021-10-27T22:03:56.066 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:148:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":113,"hardwareLedCount":113,"invert":false,"latchTime":0,"output":"/dev/spidev0.1","rate":1000000,"rewriteTime":1000,"type":"ws2801"}]

    2021-10-27T22:03:56.066 hyperiond SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:687:selectConfig() | cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    2021-10-27T22:03:56.067 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:413:setLatchTime() | LatchTime updated to 0ms

    2021-10-27T22:03:56.067 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:438:setRewriteTime() | Refresh interval = 1000ms

    2021-10-27T22:03:56.068 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:444:setRewriteTime() | RewriteTime updated to 1000ms

    2021-10-27T22:03:56.068 hyperiond LEDDEVICE : <DEBUG> ProviderSpi.cpp:58:init() | _baudRate_Hz [1000000], _latchTime_ms [0]

    2021-10-27T22:03:56.069 hyperiond LEDDEVICE : <DEBUG> ProviderSpi.cpp:59:init() | _spiDataInvert [0], _spiMode [0]

    2021-10-27T22:03:56.071 hyperiond SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:687:selectConfig() | Previous line repeats 1 times

    2021-10-27T22:03:56.072 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401

    2021-10-27T22:03:56.077 hyperiond EFFECTENGINE : <INFO> Run effect "Fire" on channel 1

    2021-10-27T22:03:56.079 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:181:runEffectScript() | Start the effect: name [Fire], smoothCfg [2]

    2021-10-27T22:03:56.080 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:165:registerInput() | Register new input 'System/EFFECT' with priority 1 as inactive

    2021-10-27T22:03:56.081 hyperiond HYPERION : <INFO> Initial foreground effect 'Fire' started

    2021-10-27T22:03:56.085 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:165:registerInput() | Register new input 'System/V4L' with priority 240 as inactive

    2021-10-27T22:03:56.086 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | V4L capture device: enabled

    2021-10-27T22:03:56.088 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created

    2021-10-27T22:03:56.089 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | LED device: enabled

    2021-10-27T22:03:56.148 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:171:SettingsManager() | Settings database initialized

    2021-10-27T22:03:56.155 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default

    2021-10-27T22:03:56.156 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | Blackborder detector: enabled

    2021-10-27T22:03:56.183 hyperiond DAEMON : <INFO> set screen capture device to 'dispmanx'

    2021-10-27T22:03:56.187 hyperiond DAEMON : <INFO> DISPMANX frame grabber created

    2021-10-27T22:03:56.192 hyperiond LEDDEVICE : <INFO> Start LedDevice 'wled'.

    2021-10-27T22:03:56.192 hyperiond V4L2 : <DEBUG> Grabber.cpp:141:setWidthHeight() | Set new width: 720, height: 576 for capture

    2021-10-27T22:03:56.193 hyperiond V4L2 : <INFO> Set image size decimation to 2

    2021-10-27T22:03:56.193 hyperiond V4L2 : <INFO> Set flipmode to NO_CHANGE

    2021-10-27T22:03:56.193 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:148:init() | deviceConfig: [{"brightness":255,"colorOrder":"rgb","currentLedCount":121,"hardwareLedCount":121,"host":"192.168.187.112","hostList":"NONE","latchTime":0,"overwriteBrightness":true,"overwriteSync":true,"restoreOriginalState":false,"type":"wled"}]


    Hyperion caught signal :SIGSEGV

    2021-10-27T22:03:56.194 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:413:setLatchTime() | LatchTime updated to 0ms

    2021-10-27T22:03:56.196 hyperiond CORE : <ERROR> /lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x75401120]

    2021-10-27T22:03:56.196 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:444:setRewriteTime() | RewriteTime updated to 0ms

    2021-10-27T22:03:56.197 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:80:init() | DeviceType : wled

    2021-10-27T22:03:56.199 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:81:init() | LedCount : 121

    2021-10-27T22:03:56.198 hyperiond SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:687:selectConfig() | cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    Segmentation fault





    Best

    Dear community,


    I have a problem with a fresh installed Hyperbian 2.0.0-alpha.11: The WS2801 works fine with my grabber and my Raspberry Pi 2. But after some reboots Hyperion can't start anymore. Because of that I did a fresh installation of Hyperbian, but with the same error. At first everything runs perfectly, but after a few restarts I got the same error.


    Do you have any idea how to fix it?


    hypersiond -d log:

    2021-10-27T22:03:55.695 hyperiond MAIN : <INFO> Starting Hyperion - 2.0.0-alpha.11, (HEAD detached at 2.0.0-alpha.11) (GitHub-f42d5a7/2c79656-1633468939), built: Oct 5 2021:21:26:30

    2021-10-27T22:03:55.697 hyperiond MAIN : <DEBUG> main.cpp:384:main() | QtVersion [5.11.3]

    2021-10-27T22:03:55.698 hyperiond MAIN : <INFO> Set user data path to '/home/pi/.hyperion'

    2021-10-27T22:03:55.746 hyperiond DAEMON : <DEBUG> PythonInit.cpp:54:PythonInit() | Initializing Python interpreter

    2021-10-27T22:03:55.911 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:171:SettingsManager() | Settings database initialized

    2021-10-27T22:03:55.912 hyperiond DAEMON : <INFO> CEC handler created

    2021-10-27T22:03:55.937 hyperiond EFFECTFILES : <INFO> 40 effects loaded from directory :/effects/

    2021-10-27T22:03:55.949 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/

    2021-10-27T22:03:55.950 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects/

    2021-10-27T22:03:56.025 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:171:SettingsManager() | Settings database initialized

    2021-10-27T22:03:56.031 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default

    2021-10-27T22:03:56.032 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | Blackborder detector: enabled

    2021-10-27T22:03:56.065 hyperiond LEDDEVICE : <INFO> Start LedDevice 'ws2801'.

    2021-10-27T22:03:56.066 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | Smoothing: enabled

    2021-10-27T22:03:56.066 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:148:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":113,"hardwareLedCount":113,"invert":false,"latchTime":0,"output":"/dev/spidev0.1","rate":1000000,"rewriteTime":1000,"type":"ws2801"}]

    2021-10-27T22:03:56.066 hyperiond SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:687:selectConfig() | cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    2021-10-27T22:03:56.067 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:413:setLatchTime() | LatchTime updated to 0ms

    2021-10-27T22:03:56.067 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:438:setRewriteTime() | Refresh interval = 1000ms

    2021-10-27T22:03:56.068 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:444:setRewriteTime() | RewriteTime updated to 1000ms

    2021-10-27T22:03:56.068 hyperiond LEDDEVICE : <DEBUG> ProviderSpi.cpp:58:init() | _baudRate_Hz [1000000], _latchTime_ms [0]

    2021-10-27T22:03:56.069 hyperiond LEDDEVICE : <DEBUG> ProviderSpi.cpp:59:init() | _spiDataInvert [0], _spiMode [0]

    2021-10-27T22:03:56.071 hyperiond SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:687:selectConfig() | Previous line repeats 1 times

    2021-10-27T22:03:56.072 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401

    2021-10-27T22:03:56.077 hyperiond EFFECTENGINE : <INFO> Run effect "Fire" on channel 1

    2021-10-27T22:03:56.079 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:181:runEffectScript() | Start the effect: name [Fire], smoothCfg [2]

    2021-10-27T22:03:56.080 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:165:registerInput() | Register new input 'System/EFFECT' with priority 1 as inactive

    2021-10-27T22:03:56.081 hyperiond HYPERION : <INFO> Initial foreground effect 'Fire' started

    2021-10-27T22:03:56.085 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:165:registerInput() | Register new input 'System/V4L' with priority 240 as inactive

    2021-10-27T22:03:56.086 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | V4L capture device: enabled

    2021-10-27T22:03:56.088 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created

    2021-10-27T22:03:56.089 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | LED device: enabled

    2021-10-27T22:03:56.148 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:171:SettingsManager() | Settings database initialized

    2021-10-27T22:03:56.155 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default

    2021-10-27T22:03:56.156 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:41:setNewComponentState() | Blackborder detector: enabled

    2021-10-27T22:03:56.183 hyperiond DAEMON : <INFO> set screen capture device to 'dispmanx'

    2021-10-27T22:03:56.187 hyperiond DAEMON : <INFO> DISPMANX frame grabber created

    2021-10-27T22:03:56.192 hyperiond LEDDEVICE : <INFO> Start LedDevice 'wled'.

    2021-10-27T22:03:56.192 hyperiond V4L2 : <DEBUG> Grabber.cpp:141:setWidthHeight() | Set new width: 720, height: 576 for capture

    2021-10-27T22:03:56.193 hyperiond V4L2 : <INFO> Set image size decimation to 2

    2021-10-27T22:03:56.193 hyperiond V4L2 : <INFO> Set flipmode to NO_CHANGE

    2021-10-27T22:03:56.193 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:148:init() | deviceConfig: [{"brightness":255,"colorOrder":"rgb","currentLedCount":121,"hardwareLedCount":121,"host":"192.168.187.112","hostList":"NONE","latchTime":0,"overwriteBrightness":true,"overwriteSync":true,"restoreOriginalState":false,"type":"wled"}]


    Hyperion caught signal :SIGSEGV

    2021-10-27T22:03:56.194 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:413:setLatchTime() | LatchTime updated to 0ms

    2021-10-27T22:03:56.196 hyperiond CORE : <ERROR> /lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x75401120]

    2021-10-27T22:03:56.196 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:444:setRewriteTime() | RewriteTime updated to 0ms

    2021-10-27T22:03:56.197 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:80:init() | DeviceType : wled

    2021-10-27T22:03:56.199 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:81:init() | LedCount : 121

    2021-10-27T22:03:56.198 hyperiond SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:687:selectConfig() | cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    Segmentation fault



    Best regards


    Fixed it by myself with this post: Alpha 10 - hyperiond MAIN : <ERROR> The Hyperion Daemon is already running, abort start