Skip to content
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

Attract Mode crashes when cycling between different videos #750

Open
Lukesvr opened this issue Jul 21, 2023 · 1 comment
Open

Attract Mode crashes when cycling between different videos #750

Lukesvr opened this issue Jul 21, 2023 · 1 comment

Comments

@Lukesvr
Copy link

Lukesvr commented Jul 21, 2023

Attract Mode crashes when cycling between different videos

Hi, when i'm using Attract Mode while viewing several videos in sequence, causes it to crash.

These are the errors reported in console with attract --loglevel debug

(Several errors like these)
FFmpeg: MMAL error 3 when sending output buffer.
Error decoding video (sending packet): Unknown error occurred
FFmpeg: MMAL error 3 when sending output buffer.
Error decoding video (sending packet): Unknown error occurred
FFmpeg: MMAL error 3 when sending output buffer.
...
mmal: mmal_port_disable: port vc.ril.video_decode:out:0(I420)(0xd899a0) is not enabled
mmal: mmal_vc_port_enable: failed to enable port vc.ril.video_decode:out:0(I420): ENOMEM
mmal: mmal_port_enable: failed to enable port vc.ril.video_decode:out:0(I420)(0xd899a0) (ENOMEM)
FFmpeg: MMAL flush error: 1
mmal: mmal_port_disable: port vc.ril.video_decode:out:0(I420)(0x19f6dd0) is not enabled
FFmpeg: Did not get output frame from MMAL.

(Several errors like these)
FFmpeg: Did not get output frame from MMAL.
Error decoding video (sending packet): Unknown error occurred
FFmpeg: MMAL error 2 on control port

FFmpeg: Did not get output frame from MMAL.
Error decoding video (sending packet): Unknown error occurred
terminate called without an active exception
/usr/bin/attract: line 12: 1288 Aborted LD_LIBRARY_PATH="/opt/retropie/supplementary/attractmode/sfml/lib" "/opt/retropie/supplementary/attractmode/bin/attract" "$@"
pi@RASPY4:~ $

The crashes are random, sometimes I can view dozens of videos without problems, other times after a few videos the system crashes

Can someone help me?
Thanks in advance

My system:
Raspberry Pi 4 Model B Rev 1.2p
RETROPIE VERSION: 4.8.4
Using default video mode: 1280x1024 @ 60
Attract-Mode v2.7.0 (Linux, SFML 2.5.1 +FontConfig +SWF +Curl)
avcodec 58.35.100 / avformat 58.20.100 / swscale 5.3.100 / avutil 56.22.100 / swresample 3.3.100
OpenGL 2.1 Mesa 19.3.2
hdmi_group=2
hdmi_mode=35 (1280×1024 60 Hz)
gpu_mem=256

@meduzapat
Copy link

meduzapat commented Apr 14, 2024

I have the same issue in an x86_64
My system:
12th Gen Intel® Core™ i7-12700K × 20 with a nivida video card 1920x1080
compiled with the suggested libraries
the issue is not happening with version 2.6.2

Updating the libraries fixed the issue, I think that the issue is the library version needed need to be later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants