Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Watchdog timeout (Joris) 2. Re: Watchdog timeout (Kevin) ---------------------------------------------------------------------- Message: 1 Date: Fri, 8 May 2020 14:10:17 +0200 From: Joris <jo...@v5.be> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Watchdog timeout Message-ID: <CAL_dZs=BYgKyVpQApSMc+B-raAO+r7Bp+x2DaHKO19o=4k5...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi Kevin, This is a (very) long shot. I assume you are saving to the microsd card. But it might not have the performance needed to flush all the images and then Weird Things (tm) can happen in the Linux kernel. There are many reasons cards may be slower than you expect. Could you try to reduce the framerate from 100 to say 10 or 3? Additionally you could run a benchmark utility like iozone and tell it to write representatively sized files and see how much margin the card has. Kind regards, J Op vr 8 mei 2020 om 08:43 schreef Kevin <kmg...@bigpond.com>: > 1) gdb: Motion crashed so I hoped that gdb would provide a useful > backstack trace, obviously it hasn't. > > 2) ffmpeg: the command you gave me does not work: > > error: XDG_RUNTIME_DIR not set in the environment. > Could not initialize SDL - > (Did you set the DISPLAY variable?) > > All my Pi' are headless. However, if it means anything, after Motion has > finished a recording, I use ffmpeg to create a timelapse version. The > command I use is; > > ffmpeg -y -i $file -filter:v setpts=0.3*PTS -an > $output_dir/${output_name}" > > BTW: If it will help, I'm willing to try and compile the source and use > gdb to track the error - but I'd need your help to know where to place > break points. > > I'm pretty busy right now so this would not be until some time next week. > It could also take a while for me to compile the source as all my > experience is with Fedora and dnf/yum. > ------------------------------ > *From:* tosiara > *Sent:* Fri May 08 15:28:15 GMT+10:00 2020 > *To:* Motion discussion list > *Subject:* Re: [Motion-user] Watchdog timeout > > You did not mention that motion crashes. Can you explain the gdb log you > attached? > > And try to run "ffplay -f video4linux2 /dev/video0" on your motion box - > does it play? > > On Fri, May 8, 2020 at 1:15 AM Kevin <kmg...@bigpond.com> wrote: > >> Sadly, no change. >> >> >> >> # rpi-eeprom-update >> >> BCM2711 detected >> >> BOOTLOADER: up-to-date >> >> CURRENT: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >> >> LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >> >> FW DIR: /lib/firmware/raspberrypi/bootloader/critical >> >> VL805: up-to-date >> >> CURRENT: 000137ad >> >> LATEST: 000137ad >> >> >> >> See attachments for other "stuff". >> >> >> >> On 2020 M05 7, Thu 15:26:30 AEST tosiara thou dist spake thusly: >> >> > Could you try to update to mmotion 4.3.1 as well as latest Rpi firmware? >> >> > There were similar issues with USB and Rpi in the past and usually >> firmware >> >> > update helped >> >> >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > ------------------------------ > > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Sat, 09 May 2020 07:23:35 +1000 From: Kevin <kmg...@bigpond.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Watchdog timeout Message-ID: <c492a82b-d65e-4722-a065-87555869f...@bigpond.com> Content-Type: text/plain; charset="utf-8" Hi Joris, Firstly, the recording is to an NFS attached SSD drive. Secondly, I initially tried different values for framerate - as low as three - without success. Cheers Kevin ? -------- Original Message -------- From: Joris <jo...@v5.be> Sent: Fri May 08 22:10:17 GMT+10:00 2020 To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Watchdog timeout Hi Kevin, This is a (very) long shot. I assume you are saving to the microsd card. But it might not have the performance needed to flush all the images and then Weird Things (tm) can happen in the Linux kernel. There are many reasons cards may be slower than you expect. Could you try to reduce the framerate from 100 to say 10 or 3? Additionally you could run a benchmark utility like iozone and tell it to write representatively sized files and see how much margin the card has. Kind regards, J Op vr 8 mei 2020 om 08:43 schreef Kevin <kmg...@bigpond.com>: > 1) gdb: Motion crashed so I hoped that gdb would provide a useful > backstack trace, obviously it hasn't. > > 2) ffmpeg: the command you gave me does not work: > > error: XDG_RUNTIME_DIR not set in the environment. > Could not initialize SDL - > (Did you set the DISPLAY variable?) > > All my Pi' are headless. However, if it means anything, after Motion has > finished a recording, I use ffmpeg to create a timelapse version. The > command I use is; > > ffmpeg -y -i $file -filter:v setpts=0.3*PTS -an > $output_dir/${output_name}" > > BTW: If it will help, I'm willing to try and compile the source and use > gdb to track the error - but I'd need your help to know where to place > break points. > > I'm pretty busy right now so this would not be until some time next week. > It could also take a while for me to compile the source as all my > experience is with Fedora and dnf/yum. > ------------------------------ > *From:* tosiara > *Sent:* Fri May 08 15:28:15 GMT+10:00 2020 > *To:* Motion discussion list > *Subject:* Re: [Motion-user] Watchdog timeout > > You did not mention that motion crashes. Can you explain the gdb log you > attached? > > And try to run "ffplay -f video4linux2 /dev/video0" on your motion box - > does it play? > > On Fri, May 8, 2020 at 1:15 AM Kevin <kmg...@bigpond.com> wrote: > >> Sadly, no change. >> >> >> >> # rpi-eeprom-update >> >> BCM2711 detected >> >> BOOTLOADER: up-to-date >> >> CURRENT: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >> >> LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >> >> FW DIR: /lib/firmware/raspberrypi/bootloader/critical >> >> VL805: up-to-date >> >> CURRENT: 000137ad >> >> LATEST: 000137ad >> >> >> >> See attachments for other "stuff". >> >> >> >> On 2020 M05 7, Thu 15:26:30 AEST tosiara thou dist spake thusly: >> >> > Could you try to update to mmotion 4.3.1 as well as latest Rpi firmware? >> >> > There were similar issues with USB and Rpi in the past and usually >> firmware >> >> > update helped >> >> >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > ------------------------------ > > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user https://motion-project.github.io/ Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 167, Issue 8 *******************************************