-
Notifications
You must be signed in to change notification settings - Fork 908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motioneye on Zero W very unreliable #1908
Comments
Hello Clubeddie, Can you test this using the 20190119 build and see if it then works fine ? |
Tried your suggestion, Installled version 20190119 on a new SD card, minimal configuration. No extra's configured like SMB, motion, or whatsoever. No i don't have short interuptions, it looks like crashes. After failing connection no more reconnection. Log files from this session attached |
have a look at this post : raspberrypi/linux#1754 as i see the following error in the dmesg : bcm2835-v4l2: timed out waiting for frame completion |
Checked the post, was already starting with configure a rPI-3 to test if camera was defect. Not yet ready with configuration. I read about Only, there is no /var/lib/motion folder available on my setup, so i cannot chmod this and this out. |
@Clubeddie relevant error in your case is contained by
If the problem is still there with previous versions, it may be a hardware fault. |
Tested it on rpi3 for several hours, no issue at all. So camera and sd card and power supply and software are not the issues i guess. Probaly hardware as you mentioned. Any idea how to test/check this? Will testsome more with rpi3 and also zero again. Edit: founded this thread on another forum, sounds exactly zs my issue. Check hardware tomorrow and test the boot config adjustment if fhis works? |
@Clubeddie interesting. If you find a boot option that improves stability on the Zero W, I'd be happy to test it myself as well and add it to the next build. |
Because of child project (butterfly's at home) i may not use the camera on the moment of my kids :-) :-) :-) [:-)()...] http://vlinders.huizeveen.nl:8080 i now have plugged the Zero W in, without the camera module, and the connection is still stable. I will test the zero W today without camera module if the connection is stable without streaming. Then later on i will change the boot option with camera module. Hopefully this is be the issue. I will let you now asap. |
Do a little test, installed a Zero W with Raspbian Stretch Lite, attached a raspberry pi camera v1, and stream with raspivid to youtube. On basic setup the stream crashed every several minutes and must be manual restarted. Then i added the next two lines to to config.txt No with exactly the same setup i stream several hours to youtube with raspivid without any issues. As soon i can check the setup with motioneyeos and noir camera i will make the same adjustments. But for now the adjustment on config.txt has a succesfull result sofar. |
If a stock standard pi zero W requires overvoltage and force turbo, that suggests your pi is broken. |
@jasaw I think he's using overclocking presets. Remember, the overclocking presets will actually underclock/undervolt a Zero W. If you don't have a golden board going from over_voltage 6 to 4 will probably cause CPU failures at 1000 MHz. If he's using them it's highly likely that his preset is just unstable at the given voltage. #1194 See the table above the force_turbo header. The default settings are 1000 MHz @ OV6. https://www.raspberrypi.org/documentation/configuration/config-txt/overclocking.md The high preset in MotionEye is 950 MHz @ OV0, a difference of 0.15v. Undervolting the board that much won't kill it but obviously nothing's going to work. In my experience anyways most W's go to 1.1 GHz @ OV8 but this voids the warranty. OV simultaneously drives CPU/GPU voltage so the 8 setting creates huge overclocking headroom but boards tend to have high GPU clock variability. With OV8 GPU_freq (all GPU related clocks) can usually be set somewhere between 450-500 MHz and this also improves CPU performance.
I've found an appreciable FPS benefit on all the boards I've overclocked but Zero W boards benefit the most since they never thermal throttle and I'm not exaggerating. How does warranty work for a board so cheap anyways? |
With the adjustment I stream over 48 hours constantly without crashes. Temperature on the board is continue around the 50 degrees celcius. Is there a way to check the voltage of the board through the command line? To check if the board is broken as @jasaw is suggesting. I cannot test this settings with motioneye as early as this weekend. |
What is a solution to a problem? I run for testing Motioneyeos lite with new power supply and new sd card. Only stream 800x600 is ON. Motion , emails , movies , samba is OFF. System just crashed few times per day. Raspberry PI Zero W |
@Clubeddie |
@QSKONE From your logs, I see a lot of this:
Your motioneye process was not responding. I don't know why. |
This issue is probably the same as #1945 |
Could you please try the latest nightly dev build and see if the WiFi problem persists? |
Am I blind or is there no image for the raspberry pi zero? Edit: Ok I think the image for the raspberry 1 is also for the zero |
@FloRup as indicated in Supported Devices, models Zero and Zero W work with the image for the Raspberry Pi 1 models. There has never been a Zero-specific OS image. |
I had also problems with my Raspberry Pi Zero W. I could solve it with Interestingly, I have also the revision with H* as mentioned in raspberrypi/linux#2555 (comment) |
The file |
@avanc Yes, just create that file and put the @ccrisan You previously added some service that supposedly works around this bad RPi Zero hardware issue (similar to how Raspbian does it), but seems like it's still happening? Is it worth just setting the core frequency to 950MHz by default? |
I was to early: I get the same freezes also with 950MHz, although the Raspi runs for several hours. I'll try 600MHz... |
@avanc Even if it runs at 600MHz, it's still not working as advertised, i.e. broken product. I would return it to the seller. |
And it does not work reliable at 600MHz :-( |
Preliminary Docs
I confirm that I have read the CONTRIBUTING guide before opening this issue.
I confirm that I have read the FAQ before opening this issue.
motionEyeOS Version
I am running motionEyeOS version:
motionEye Version | 0.40rc5
Motion Version | 4.2.2
OS Version | motionEyeOS 20190413
Board Model
I am using the following board/model: Raspberry Pi Zero W
Camera
I am using the following type of camera: (choose from V4L2, MMAL, Network Camera, Fast Network Camera and Simple MJPEG Camera).
My camera model is: Raspberry PI Cam NoIr (v2)
Network Connection
My motionEyeOS unit is connected to the network via:
WiFi
Peripherals
I am using the following peripherals that I consider relevant to this issue:
Connected to SMB share synology
Configured Surveillance station to
Log Files
I consider the following log files relevant to this issue:
boot (1).log
dmesg (1).log
motioneye (2).log
messages (3).log
motion (2).log
I noticed that my installation is very unreliable. The connection is dropped every few minutes, reconnected itself after a couple of minutes. The web interface is sometimes not responding anymore (the software is running as i can see on my surveillance station the stream is active also i can ping the raspberry). After a couple of minutes i can connect.
The preview suddenly stops and after a while it shows the preview again.
I disconnected the SMB because i thought this could be the issue, but no results so far. Maybe someone can find something in the log files what is the issue?
I also tried several SD cards and tried several installations. Stil same issue.
use an original raspberry pi power supply, output 2,5A.
Hope someone can figured it out, because i love the software and possibilities!
The text was updated successfully, but these errors were encountered: