-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Bus error at moments of video playback #17151
Comments
We're you using PPSSPP FFMPEG or system one? The latter is probably broken and it's heavily discouraged to use it, but still commonly used by Linux users regardless of warnings. |
Apart from the issue of PPSSPP's vs system FFMPEG, since this stuff is working on a ton of other Linux/ARM platforms, I'd say this is likely to be some kind of platform bug, maybe something gets the stack misaligned, but that shouldn't matter: From the callstack, it looks like it faults in some assembler code that uses NEON SIMD instructions. What's confusing to me here is that NEON is generally very lax about alignment, it never crashes, just gets slower, so why you'd get a bus error there I don't understand. |
We build an armv7 version of the PPSSPP FFMPEG. That I can't seem to bisect it does raise the possibility of an environment issue. Perhaps I shall have to try reinstalling my system from old images until it works. Although I'm not sure a success there would aid an actual fix. |
You could try building without the NEON stuff and see if that helps, usually it's fast enough.. |
Configured your FFMPEG with |
NEON does support instructions that indicate the address is aligned, so I guess it somehow wasn't in this case. Not sure why. -[Unknown] |
Oh right, those are gone in arm64 though which might be what I was thinking about.. |
Game or games this happens in
M.A.C.H. Modified Air Combat Heroes, Tekken 6. Basically anything with a video segment.
What area of the game / PPSSPP
Whenever there is video playback PPSSPP crashes with a
Bus error
.Most games have a video intro so cannot be played from the beginning. Playing from a savestate is a workaround, until a video is encountered again...
What should happen
It shouldn't crash.
Logs
I assumed an ffmpeg/libavcodec issue.
I ran though
gdb
and got:Backtrace gave:
So it looks like that may be the case.
Platform
Linux / BSD
Mobile phone model or graphics card
Vero4K - Amlogic S905x - Mali 450 GPU.
PPSSPP version affected
Built from 1.14.4 and been building back as far as 1.13.2
Last working version
Sorry, tried to bisect but not found a working version again.
Graphics backend (3D API)
OpenGL / GLES
Checklist
The text was updated successfully, but these errors were encountered: