-
Notifications
You must be signed in to change notification settings - Fork 115
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
AM Video Crashing #720
Comments
Update: Looks like they are separate issues. Line 800 in c209088
Though the location is somewhat different in attractplus. |
Apparently its not the same issue. Just compiled the current attract version and after less than 30 minutes attract crashed. With oomek fix i left my system more than 12 hours running and attract didn't crash. |
You will have to give some more detail on what your doing. Layout, Video file etc. |
Here is a loglevel debug until the problem appears. I am using hyperspin.nut as layout: https://pastebin.com/xt6uyMAw |
my dev computer has recently self destructed, but this is something I will look into once I’m up and running again!
… On Jun 5, 2022, at 11:28 AM, sergiohinniger ***@***.***> wrote:
I recently have experienced AM crashing when i leave the video looping (in rpi4 complied with mmal and xinerama).
I saw that Oomek have fix such issue in attractplus in that commit: ***@***.***
So i have used his fix in attract, manually editing src/fe_image.cpp from line 797, compiled and it worked, so AM is not crashing anymore. Maybe his solution should be adopted in AM.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Does it crash if your looping a video using the basic layout or is it only the hyperspin Theme Loader? |
Actually, after some testing i realize that the crash happens when in it is in the screensaver. The screensaver loads video, images and logos that start to play and loop. You can see a lot of videos being loaded by the screensaver in that log. |
Crash confirmed in under a minute when running video in the screensaver (Using Basic layout). Just compiled with oomek/attractplus@71022a3 |
I'm having this exact same issue on a Pi 4 (screensaver videos always eventually crash attractmode). It's not a specific video that causes it, as I finally removed all but 3 snap videos, and while it would loop and play every video fine for awhile, eventually attractmode would crash and I'd get the same error. It does happen faster if using movie collage, but it eventually happens even when using the single movie option (usually takes a little over an hour with single movie mode). If I have no video snaps, the machine goes to a black screen during screensaver time, but it never crashes, so it's definitely the screensaver videos. ---begin error--- The videos are all from emumovies, and standard quality or high quality versions make no difference. I even tried re-encoding to 30 frames per second, but still the same issue. I also tried setting both mmal and software for video processing. |
I am having a similar issue, seemingly very random, during screen saver. I am on a Raspberry Pi 4 using kms, and the latest Raspbian. Videos are all encoded for mmal, using these specs:
Compiled attract with debug symbols and ran through gdb for a few hours, here's what I get when it crashes:
I am using the latest git version of attract and sfml-pi. |
- Check if video thread is already running and shut it down before initating a new one in media play() function. Also added exception handling and error logging for errors creating video thread
Hi thanks for the reports and info. I've not been able to reproduce this myself locally but it looks to be an error during video thread creation. I think the code in the following pull request should fix it, if you could test and let me know that would be appreciated: #734 |
Thanks @mickelson ! Built and running now. Sometimes it takes several hours to crash on my Pi 4, I will let it run and will keep you posted. |
It's been running for almost 48 hours now with no crash, as far as I am concerned #734 is a valid fix for my issue. |
awesome, thanks for testing!
…On Mon, Jan 9, 2023 at 7:15 PM kwyxz ***@***.***> wrote:
It's been running for almost 48 hours now with no crash, as far as I am
concerned #734 <#734> is a valid
fix for my issue.
—
Reply to this email directly, view it on GitHub
<#720 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDN6Q42DFHZDMZ7NGIVGALWRTH5LANCNFSM5X5NIREQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Issue #720 - Try to fix video crashing
Fixed with #734 |
I recently have experienced AM crashing when i leave the video looping (in rpi4 complied with mmal and xinerama).
I saw that Oomek have fix such issue in attractplus in that commit: oomek/attractplus@71022a3
So i have used his fix in attract, manually editing src/fe_image.cpp from line 797, compiled and it worked, so AM is not crashing anymore. Maybe his solution should be adopted in AM.
The text was updated successfully, but these errors were encountered: