Checking back in on this issue, I noticed that my thread got marked "Resolved". I am still experiencing the problem and wondering if anyone has thoughts/ideas on how to solve the problem described above.
Beiträge von jFads
-
-
Update for Ambientheater77 and Paulchen-Panther :
After replacing the USB capture hub, I performed all the above steps and a few prayers but the screen cap is still only capturing my laptop, not the TV. I ran the dmesg -c logs again ...picture is below. It looked like the firmware version was the issue but when it tried to update both hdmi2usb-fx2-firmware and fxload it said firmware up to date.
As always, your insights and shared frustration is appreciated.
-
As always, I appreciate the help Ambientheater77 and Paulchen-Panther. Without your help I would be blind.
I followed the above instructions and was still not able to get the usb screen capture to work. I have ordered another usb capture hub to eliminate the hub as a failure point.
Below are the device and kernel logs...
-
Thanks Paulchen-Panther for your quick response
I attached a picture of the kernel log. I wasn't seeing it being recognized as "Isusb".
I checked on the Hyperion UI and no image was being displayed when I clicked on the LED Visualization Icon. Lights were not performing either. I attached the debug log as well if that helps.
-
Yes. I just replaced it but I bought the same model: Raspberry Pi 3 Model B+ Board (3B+)
By USB hub, do you mean a USB screen capture device? If so, yes.
If you are talking about a "normal" hub, no. The Pi plugs directly into the USB screen capture device.
-
Much appreciated!
-
Paulchen-Panther - Thanks for responding so quickly...
I am running the current version - confirmed from the Hyperion UI.
Your version: 2.0.0-alpha.10
Attached is the log file posted earlier this week (no changes)
Your help/thoughts are appreciated!
ZitatThe grabber seems to want to pull from my computer desktop as opposed to the pi/TV. I've switched priorities around and ports to try and make sure everything's on the same channel but no luck. Any thoughts would be appreciated.
-
Ambientheater77 - Thanks for the referral!
Paulchen-Panther - Any thoughts on what may be the problem?
Thanks!
-
UPDATE: Ambientheater77
I decided while I was replacing all the hardware, might as well replace the PI too. Just came in the mail so we plugged it in and no glitches on boot (yay)!
However despite doing what you recommended for this issue, I still seem to have an issue with the grabber... logs are attached.
stick the grabber in the USB port AFTER Hyperion has booted into WebUI menu, and activate/save
The grabber seems to want to pull from my computer desktop as opposed to the pi/TV. I've switched priorities around and ports to try and make sure everything's on the same channel but no luck. Any thoughts would be appreciated.
-
Appreciate your quick response Ambientheater77!!
So the GPIO 18 pin seems to be the one sending it into a glitch with that "VIDIOC_STREAMOFF error code 19, No such device" Error
I tried to take screenshots of the different states.
1. Booting up to WebUI no grabber enabled and no GPIO18 plugged in. (HyperionLog_B4 GPIO18_USB.txt)
2. Plugging in USB --> activating /saving grabber settings (HyperionLog_USB_only.txt)
3. Plugging in GPIO18 (HyperionLog_BOTH_GPIO18_USB.txt) --> Lights come on with rainbow effect. As soon as the lights come on, the WebUI becomes unavailable.
-
Thanks Ambientheater77
Your suggestions above got (what I thought) was very close!
Everything seemed to be working as it should except for the lights themselves. I decided while I'm eliminating possibilities, I might as well replace the lights and the power supply. So I had been waiting patiently on shipping for the past week.
I reconfigured the lights, gave everything power and the lights booted to their rainbow effect. Before the Hyperbian CLI can begin it's startup process and prompt login, it starts physically glitching in a loop... I unplugged GPIO18 to access HyperionUI so I could paste the logs here.
(Current Log attached in the next post)
Code
Alles anzeigenSystem information Hyperion Server: - Build: (HEAD detached at 2.0.0-alpha.10) (Paulchen-Panther-975f969/b1a4e95-1626550299) - Build time: Jul 17 2021 21:50:25 - Git Remote: https://github.com/hyperion-project/hyperion.ng - Version: 2.0.0-alpha.10 - UI Lang: auto (BrowserLang: en-US) - UI Access: expert - Avail Capt: dispmanx,v4l2,framebuffer,qt - Database: read/write Hyperion Server OS: - Distribution: HyperBian GNU/Linux 10 (buster) - Architecture: arm - CPU Model: ARMv7 Processor rev 4 (v7l) - CPU Type: Raspberry Pi 3 Model B Plus Rev 1.3 - CPU Revision: a020d3 - CPU Hardware: BCM2835 - Kernel: linux (5.10.17-v7+ (WS: 32)) - Qt Version: 5.11.3 - Python Version: 3.7.3 - Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Configured Instances 0: GPIO18 Running: true This instance's priorities 1: VISIBLE! (EFFECT) Owner: Rainbow swirl fast 240: (V4L) Owner: undefined priorities_autoselect: true This instance components' status ALL - true SMOOTHING - false BLACKBORDER - true FORWARDER - false BOBLIGHTSERVER - false GRABBER - false V4L - true LEDDEVICE - true
Attached is the most recent log.
021-09-18T03:42:50.273Z [hyperiond V4L2] (ERROR) Throws error nr: VIDIOC_DQBUF error code 19, No such device
2021-09-18T03:42:50.273Z [hyperiond V4L2] (ERROR) VIDIOC_STREAMOFF error code 19, No such device
-
Code
Alles anzeigenHyperion System Summary Report (My Hyperion Config), Reported instance: First LED Hardware instance < ----- System information -------------------- > Hyperion Server: - Build: (HEAD detached at 2.0.0-alpha.10) (Paulchen-Panther-975f969/b1a4e95-1626550299) - Build time: Jul 17 2021 21:50:25 - Git Remote: https://github.com/hyperion-project/hyperion.ng - Version: 2.0.0-alpha.10 - UI Lang: auto (BrowserLang: en-US) - UI Access: expert - Avail Capt: dispmanx,v4l2,framebuffer,qt - Database: read/write Hyperion Server OS: - Distribution: HyperBian GNU/Linux 10 (buster) - Architecture: arm - CPU Model: ARMv7 Processor rev 4 (v7l) - CPU Type: Raspberry Pi 3 Model B Plus Rev 1.3 - CPU Revision: a020d3 - CPU Hardware: BCM2835 - Kernel: linux (5.10.17-v7+ (WS: 32)) - Qt Version: 5.11.3 - Python Version: 3.7.3 - Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 < ----- Configured Instances ------------------ > 0: First LED Hardware instance Running: true < ----- This instance's priorities ------------ > 240: VISIBLE! (V4L) Owner: V4L2 priorities_autoselect: true < ----- This instance components' status -------> ALL - true SMOOTHING - false BLACKBORDER - true FORWARDER - false BOBLIGHTSERVER - false GRABBER - false V4L - true LEDDEVICE - false < ----- This instance's configuration --------- > snip -> "webConfig":{"crtPath":"","document_root":"","keyPassPhrase":"","keyPath":"","port":8090,"sslPort":8092}} < ----- Current Log --------------------------- > 2021-09-11T04:28:52.719Z [hyperiond DAEMON] (INFO) CEC handler created 2021-09-11T04:28:52.741Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-09-11T04:28:52.746Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-09-11T04:28:52.750Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects/ 2021-09-11T04:28:52.807Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:164:SettingsManager()) Settings database initialized 2021-09-11T04:28:52.815Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default 2021-09-11T04:28:52.816Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled 2021-09-11T04:28:52.845Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' 2021-09-11T04:28:52.847Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created 2021-09-11T04:28:52.852Z [hyperiond V4L2] (DEBUG) (Grabber.cpp:141:setWidthHeight()) Set new width: 640, height: 480 for capture 2021-09-11T04:28:52.853Z [hyperiond V4L2] (INFO) Set new frames per second to: 5 fps 2021-09-11T04:28:52.853Z [hyperiond V4L2] (INFO) Set flipmode to NO_CHANGE 2021-09-11T04:28:52.952Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:151:init()) Set device (path) to: USB Video: USB Video (/dev/video0) 2021-09-11T04:28:52.952Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:488:init_device()) Set device input to: Camera 1 2021-09-11T04:28:52.953Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:614:init_device()) Set resolution to width=640 height=480 2021-09-11T04:28:52.955Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:631:init_device()) Set framerate to 5 fps 2021-09-11T04:28:52.955Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:707:init_device()) Pixel format=YUYV 2021-09-11T04:28:52.960Z [hyperiond V4L2] (INFO) Started 2021-09-11T04:28:52.960Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:608:handleSettingsUpdate()) V4L2 grabber created 2021-09-11T04:28:52.961Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance 2021-09-11T04:28:52.962Z [hyperiond JSONSERVER] (INFO) Started on port 19444 2021-09-11T04:28:52.854Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'. 2021-09-11T04:28:52.854Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"brg","currentLedCount":273,"dma":5,"gpio":18,"hardwareLedCount":273,"invert":false,"latchTime":0,"leds":273,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}] 2021-09-11T04:28:52.854Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701: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-09-11T04:28:52.854Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:413:setLatchTime()) LatchTime updated to 0ms 2021-09-11T04:28:52.854Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:438:setRewriteTime()) Refresh interval = 1000ms 2021-09-11T04:28:52.855Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:444:setRewriteTime()) RewriteTime updated to 1000ms 2021-09-11T04:28:52.855Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624 2021-09-11T04:28:52.858Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed' 2021-09-11T04:28:52.863Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times 2021-09-11T04:28:52.863Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401 2021-09-11T04:28:52.876Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 1 2021-09-11T04:28:52.933Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:181:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2] 2021-09-11T04:28:52.934Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/EFFECT' with priority 1 as inactive 2021-09-11T04:28:52.934Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started 2021-09-11T04:28:52.936Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/V4L' with priority 240 as inactive 2021-09-11T04:28:52.936Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled 2021-09-11T04:28:52.937Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created 2021-09-11T04:28:52.988Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started 2021-09-11T04:28:52.974Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 2021-09-11T04:28:52.974Z [hyperiond PROTOSERVER] (INFO) Started on port 19445 2021-09-11T04:28:52.977Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-09-11T04:28:52.979Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-09-11T04:28:53.027Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-09-11T04:28:53.027Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-09-11T04:28:53.027Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-09-11T04:28:53.028Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-09-11T04:28:53.029Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' 2021-09-11T04:28:53.090Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 1 is now active 2021-09-11T04:28:53.091Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 1 2021-09-11T04:28:53.093Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[1], previousPriority[255] 2021-09-11T04:28:53.094Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-09-11T04:28:53.436Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate 2021-09-11T04:28:53.437Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key 2021-09-11T04:28:53.437Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' 2021-09-11T04:28:53.559Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-09-11T04:28:56.029Z [hyperiond EFFECTENGINE] (INFO) effect finished 2021-09-11T04:28:56.159Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:337:setCurrentTime()) Timeout clear for priority 1 2021-09-11T04:28:56.160Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-09-11T04:28:56.162Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[1] 2021-09-11T04:45:32.857Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.4.65 2021-09-11T04:45:32.858Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.4.65' switch to Hyperion instance 0 2021-09-11T04:46:59.181Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.4.65
-
Thanks Ambientheater77 for your response.
You're right on the SD card corruption.. didn't think of that when I was installing on top of the old. I was using balena etcher but this time did a clean install on a new SD card. I used a rasbian VM and installed Hyperbian using the rasbian imager.
Upon powering it up and logging into the CLI, I noticed no lights came on but hyperion showed it was running. I did the systemctl enable/disable cmd and rebooted. No lights and now Hyperion's status was "stopped". I tried to look at the status of all the individual services to attempt to start it manually (my own knowledge only takes me to example: "sudo service httpd start/stop") but I figured google would help fill in the blanks...it did not. The services show up as "masked" and unable to be manually started.
I also have a low voltage alert on the pi UI. This is despite my power supply being 5V 10W (recommended by multiple videos as being sufficient for a 273 light strip). I tested power to my lights and they don't seem to be receptive so I am replacing both power supply and light strip in an effort to eliminate the obvious.
Question: you mentioned if the PI is turned off with a switch while running it could cause corruption... how do you recommend me rebooting it? I've always power cycled by unplugging.
In the following post is my most recent log. Hopefully you can find something in there that I might have missed. Any ideas would be much appreciated
-
Ambientheater77 - Thanks for your response...
I have done the 2) sudo commands without results. I am attaching a copy of the latest debug log as I have been trying everything that I can think of - and probably making more of a mess...
My thinking is that it is a port conflict as noted at the bottom of the file where it says "Failed to bind.." What ports should I be using?
Code
Alles anzeigenHyperion System Summary Report (My Hyperion Config), Reported instance: GPIO18 < ----- System information -------------------- > Hyperion Server: - Build: (HEAD detached at b1a4e95c) (Paulchen-Panther-975f969a/b1a4e95c-1626550299) - Build time: Jul 17 2021 20:59:56 - Git Remote: https://github.com/hyperion-project/hyperion.ng - Version: 2.0.0-alpha.10 - UI Lang: auto (BrowserLang: en-US) - UI Access: expert - Avail Capt: dispmanx,v4l2,framebuffer,qt - Database: read/write Hyperion Server OS: - Distribution: Raspbian GNU/Linux 10 (buster) - Architecture: arm - CPU Model: ARMv7 Processor rev 4 (v7l) - CPU Type: Raspberry Pi 3 Model B Plus Rev 1.3 - CPU Revision: a020d3 - CPU Hardware: BCM2835 - Kernel: linux (5.10.52-v7+ (WS: 32)) - Qt Version: 5.7.1 - Python Version: 3.5.3 - Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 < ----- Configured Instances ------------------ > 0: GPIO18 Running: true < ----- This instance's priorities ------------ > 110: (V4L) Owner: V4L2 250: (GRABBER) Owner: undefined priorities_autoselect: true < ----- This instance components' status -------> ALL - true SMOOTHING - false BLACKBORDER - true FORWARDER - false BOBLIGHTSERVER - false GRABBER - true V4L - true LEDDEVICE - true < ----- Current Log --------------------------- > 2021-09-09T03:27:26.721Z [hyperiond PROTOSERVER] (ERROR) Failed to bind port 19445 2021-09-09T03:27:27.026Z [hyperiond V4L2] (ERROR) Throws error nr: VIDIOC_DQBUF error code 19, No such device 2021-09-09T03:27:27.027Z [hyperiond V4L2] (ERROR) VIDIOC_STREAMOFF error code 19, No such device 2021-09-09T03:43:33.004Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:215:sendClose()) send close: 1000 2021-09-09T03:43:33.359Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.4.65 2021-09-09T03:43:33.360Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.4.65' switch to Hyperion instance 0 2021-09-09T03:43:33.689Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.4.65
-
I noticed that the issue had again been marked "Resolved" - unfortunately it is not. Perhaps this is due to a lack of activity on this thread. Is there another way to keep it active until resolved?
But the main question is that I have been unable to get it to work - am I missing something or is my question poorly worded? I am at a loss to get Hyperion running again.
-
Checking back in on this issue, I noticed that my thread got marked "Resolved". I am still experiencing the problem and wondering if anyone has thoughts/ideas on how to solve the problem described above. Thank you Lord-Grey for your response earlier this month - I implemented both of your comments to no avail.
-
As an update, I have done the following in a futile attempt to get it to work...
Installed Hyperion.ng from GitHub at https://github.com/hyperion-pr…ob/master/Installation.md following their instructions.
Rebooted the pi and I noticed it wasn't booting in root so I ran:
sudo systemctl disable --now hyperiond@pi
sudo systemctl enable --now hyperiond@root
After that, I rebooted and enabled Image capture USB through the webUI. I'm able to get an image...sometimes just static...on the webUI. The UI also reports the LEDs are working but no physical LEDs are lit.
I also looked at the forum post LOOP capturing devices purchased from Amazon or Ali Express >> how to set up in Hyperion.NG? problem of re-apearing all the time in remote section/drivers, Only Raspi NOT Windows pc by Ambientheater77 and followed those instructions.
Any thoughts ?
-
Thanks for the response...
Tried the systemctl enable --now hyperion @root and re-booted. Upon reboot hyperion is reporting that it is disabled in the cli.
I can still reach it using the web browser but no LED lights...
I found this thread that seemed to hit my problems -
WS281x Issue in Alpha 10 version. I get brief moments where the screen capture is working but then the logs show that priority changes from 240 to 255 and screen capture stops. Moments later it goes back to 240 and the capture resumes - only to repeat itself.
I am hitting a wall on this... code attached below, sorry for the length but it shows the constant repeating.
Code
Alles anzeigenHyperion System Summary Report (My Hyperion Config), Reported instance: GPIO18 < ----- System information -------------------- > Hyperion Server: - Build: (HEAD detached at 2.0.0-alpha.10) (Paulchen-Panther-975f969/b1a4e95-1626550299) - Build time: Jul 17 2021 21:50:25 - Git Remote: https://github.com/hyperion-project/hyperion.ng - Version: 2.0.0-alpha.10 - UI Lang: en (BrowserLang: en-US) - UI Access: expert - Avail Capt: dispmanx,v4l2,framebuffer,qt - Database: read/write Hyperion Server OS: - Distribution: HyperBian GNU/Linux 10 (buster) - Architecture: arm - CPU Model: ARMv7 Processor rev 4 (v7l) - CPU Type: Raspberry Pi 3 Model B Plus Rev 1.3 - CPU Revision: a020d3 - CPU Hardware: BCM2835 - Kernel: linux (5.10.17-v7+ (WS: 32)) - Qt Version: 5.11.3 - Python Version: 3.7.3 - Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 < ----- Configured Instances ------------------ > 0: GPIO18 Running: true < ----- This instance's priorities ------------ > 240: VISIBLE! (V4L) Owner: V4L2 priorities_autoselect: true < ----- This instance components' status -------> ALL - true SMOOTHING - true BLACKBORDER - true FORWARDER - false BOBLIGHTSERVER - false GRABBER - false V4L - true LEDDEVICE - true < ----- Current Log --------------------------- > 2021-08-18T21:03:20.144Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240] 2021-08-18T21:03:20.145Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off 2021-08-18T21:03:20.530Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:215:sendClose()) Previous line repeats 1 times 2021-08-18T21:03:20.530Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.4.65 2021-08-18T21:03:20.530Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.4.65' switch to Hyperion instance 0 2021-08-18T21:03:20.837Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.4.65 2021-08-18T21:03:20.838Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.4.65' switch to Hyperion instance 0 2021-08-18T21:03:20.915Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.4.65 2021-08-18T21:03:22.964Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-08-18T21:03:22.965Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-08-18T21:03:22.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255] 2021-08-18T21:03:22.966Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-08-18T21:03:24.615Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now inactive 2021-08-18T21:03:24.615Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255 2021-08-18T21:03:24.615Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240] 2021-08-18T21:03:24.616Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off 2021-08-18T21:03:24.964Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-08-18T21:03:24.965Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-08-18T21:03:24.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255] 2021-08-18T21:03:24.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-08-18T21:03:26.014Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now inactive 2021-08-18T21:03:26.015Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255 2021-08-18T21:03:26.015Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240] 2021-08-18T21:03:26.015Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off 2021-08-18T21:03:28.364Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-08-18T21:03:28.364Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-08-18T21:03:28.365Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255] 2021-08-18T21:03:28.365Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-08-18T21:03:29.314Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now inactive 2021-08-18T21:03:29.314Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255 2021-08-18T21:03:29.315Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240] 2021-08-18T21:03:29.315Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off 2021-08-18T21:03:29.964Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-08-18T21:03:29.964Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-08-18T21:03:29.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255] 2021-08-18T21:03:29.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-08-18T21:03:32.144Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now inactive 2021-08-18T21:03:32.144Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255 2021-08-18T21:03:32.145Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240] 2021-08-18T21:03:32.145Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off 2021-08-18T21:03:34.963Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-08-18T21:03:34.964Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-08-18T21:03:34.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255] 2021-08-18T21:03:34.965Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-08-18T21:03:36.013Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now inactive 2021-08-18T21:03:36.013Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255 2021-08-18T21:03:36.014Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240] 2021-08-18T21:03:36.014Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off 2021-08-18T21:03:37.364Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active 2021-08-18T21:03:37.364Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240 2021-08-18T21:03:37.365Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255]
-
New User here... Installed Hyperion on a RPi3 about 4 months ago using DrZzzs video and my LED TV amblight was working wonderfully – I was filled with undeserved self-satisfaction and my wife thought at long last I was a genius (or smart, or less of an idiot). A few weeks ago, the LEDs would not shutdown when the TV was turned off and the effects would revert to the Background Effect showing that Hyperion was “idle”. At first I was able to turn it off manually through Home Assistant but eventually that did not work. Since this was always right before bed, the nuclear option appealed to me - I pulled the plug to the power supply – waiving the plug towards the Pi just to show dominance. Overnight, the idle effects would sometimes come back on – taunting me.
I got mad, called it names and changed control switches. I performed the required ritual sacrifices… I then decided to reflash with the same Hyperion-9 software and start from scratch. Now, the USB image capture software seems to be doing its job, the hyperion WebUI says everything set up nicely on there, I did the systemctl --now enable/disable hyperiond (a few times) and the LEDs don't seem to be responding. Network wise- everything seems to be on the consistent ports I had previous.
Being a newbie, Log reading is weak – at best… but it seems to show that the LEDs are disabled
(ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
and ports are not working correctly –
(INFO) Connecting to Hyperion: 127.0.0.1:19401
(INFO) Started on port 19400
(ERROR) Failed to bind port 19445
and a Code 19 error...
Anyone have any ideas?
Code
Alles anzeigen2021-08-17T19:35:06.930Z [hyperiond DAEMON] (INFO) CEC handler created 2021-08-17T19:35:06.970Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-08-17T19:35:06.983Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-08-17T19:35:06.985Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects/ 2021-08-17T19:35:07.170Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' 2021-08-17T19:35:07.174Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created 2021-08-17T19:35:07.180Z [hyperiond V4L2] (INFO) Set new frames per second to: 5 fps 2021-08-17T19:35:07.181Z [hyperiond V4L2] (INFO) Set flipmode to NO_CHANGE 2021-08-17T19:35:07.285Z [hyperiond V4L2] (INFO) Started 2021-08-17T19:35:07.288Z [hyperiond JSONSERVER] (INFO) Started on port 19445 2021-08-17T19:35:07.177Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'. 2021-08-17T19:35:07.182Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed' 2021-08-17T19:35:07.187Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401 2021-08-17T19:35:07.202Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 1 2021-08-17T19:35:07.263Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started 2021-08-17T19:35:07.320Z [hyperiond HYPERION] (INFO) Hyperion instance 'GPIO 18' has been started 2021-08-17T19:35:07.310Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 2021-08-17T19:35:07.311Z [hyperiond PROTOSERVER] (ERROR) Failed to bind port 19445 2021-08-17T19:35:07.418Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' 2021-08-17T19:35:08.064Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' 2021-08-17T19:35:10.408Z [hyperiond EFFECTENGINE] (INFO) effect finished 2021-08-17T20:04:57.728Z [hyperiond V4L2] (ERROR) Throws error nr: VIDIOC_DQBUF error code 19, No such device 2021-08-17T20:04:57.731Z [hyperiond V4L2] (ERROR) VIDIOC_STREAMOFF error code 19, No such device 2021-08-17T20:04:57.734Z [hyperiond V4L2] (INFO) Stopped 2021-08-17T20:34:17.481Z [hyperiond V4L2] (INFO) Started 2021-08-17T20:44:10.548Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:215:sendClose()) send close: 1000 2021-08-17T20:44:10.865Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.4.65 2021-08-17T20:44:10.866Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.4.65' switch to Hyperion instance 0 2021-08-17T20:44:11.219Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.4.65