-
Notifications
You must be signed in to change notification settings - Fork 39
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
Some SWF files cause crashes or launch loop [AVM1/2] #50
Comments
Thanks for the report! Yes, attach the problematic SWFs please. The uploaded builds have no debug information in them to show where exactly the problem occurred. |
Thanks for the speedy reply! I'll attach some lightweight SWF files for now: List of workingList of not workingThese are some examples with a short size. I can attach the original SWFs that were causing problems as well. |
Interesting! My device specification is as below (I also mentioned them in the original message): Samsung Galaxy Tab S8 Ultra (SM-X906B) The screen resolution is 2960x1848. I used the nightly build with version of 20230807. Is there a way I can attach a debugger and send you a more through log? Additionally, can you please test that the following file also works when you press the PLAY button on the initial screen? https://archive.org/download/sonic-shorts-volume-1/Sonic%20Shorts%20Volume%201.swf |
Right, sorry, didn't read the edits, only the email with the original version of your report.
You could try following the build instructions in the README, and debug using Android Studio, but it's not exactly straightforward...
Yep, I can play the shorts no problem. Could you please try this build? This one uses OpenGL for rendering, not Vulkan. Many Android phones have buggy Vulkan drivers... |
Hi again, you were right! I did some extensive tests, and every SWF file works great with this build. So sorry for opening a duplicate issue, it never occured to me that the issue might be related to Vulkan builds. I wonder why this happens! Anyways, is there anything I can do to help identify problems such as this? I don't have any Rust knowledge, but I'd be glad if I can help with any testing, etc. OpenGL seems to also perform well on my device, so no issue there! I also had two unrelated questions/problems, that I was going to open a new issue, but since there are rather minor, I'd appreciate if I could ask them here as well:
Overall, thank you for bringing Ruffle to Android. Now I'm able to open many great nostalgic games such as Bloxorz on my tablet, which works great with the physical keyboard and the Dex mode! 🎉 |
Great, I'm glad! I'll soon push out a release where only the OpenGL backend is used for rendering, not Vulkan. Hopefully it will have fewer issues, and still perform well.
No worries, you couldn't have known.
Because of the buggy Vulkan drivers on Android by the device/SoC/GPU vendors... :)
Yeah I know about that, it happens for everybody, I just haven't gotten around to fixing it yet, sorry...
I started working on setting preferences (exactly so users can choose between OpenGL and Vulkan backends :D and maybe other player options as well...), but again, didn't have much time to get far with it... As a first step, it might be easier to simply make the keyboard visibility persistent.
Yaay! |
Well, actually... This build was going to be it: https://github.com/torokati44/ruffle-android/actions/runs/5835878401 |
You're right, the colors are not accurate. It seems to be brighter than it should be. I don't know what it could be caused by 🤷🏻 |
Hopefully this latest release (https://github.com/torokati44/ruffle-android/releases/tag/20230812) fixes the colors with OpenGL. |
Thank you for the through investigation! The colors are now accurate! However, a weird issue happened again, the SWF files that were causing a problem are again causing crashes or launch loops again! At first I thought I had installed the older release as the behavior is exactly the same 😢 Could it be related to the way the color space is presented/used in either Vulkan/OpenGL? Maybe the original issue is unrelated to Vulkan, and is indeed related to colors paces... |
Issue fixed on latest build! 🎉 |
That's strange, I don't know how this could be - but anyway, I'm glad! |
Hi there!
Description
Ruffle for Android works wonderfully on some SWF files, but on others, the app crashes, or re-launches continually until the user exists.
I can't figure out why this happens. Can you please take a look? Please also let me know if I need to send you the SWF files.
I also noticed that this happens on the SWF files that have a loading screen, or check for the loading.
NOTE: I am submitting the issue here, because the same SWF files work without an issue on the latest official nightly build of Ruffle, tested on Windows 11.
For example, if you open Sonic Shorts Volume 1, 2 or 3, the Ruffle app displays the flash correctly up until you click on "PLAY" button, after load screen. Then either the app would crash, or it would re-launch from the beginning.
Device info
Samsung Galaxy Tab S8 Ultra (SM-X906B)
Android Version: 13 (API 33)
Processor: Qualcomm SM8450 Snapdragon 8 Gen 1 Revision r2p0
Arch: armv8a-aarch64
Linux Kernel: 5.10.136
GPU: Qualcomm Adreno 730
ADB Logcat
I've attached the full logcat (with the D, V, I flags included as well) below:
📦 rufflerr.log
Here's the log without debug, verbose and information flags:
The text was updated successfully, but these errors were encountered: