-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Video playback broken on Android 10 arm64 #445
Comments
Cannot reproduce this issue. @nikolowry perhaps you can test too? |
Can't reproduce this issue either. Video played fine for me. |
@subi54 thanks for testing. @proteriax any clue in your adb logcat? perhaps your Android OS does not have some codec decoding capability? |
I'm also experiencing this, on Twitter for example. The first couple of frames play (with sound), then the player crashes. On Chrome 79.0.3945.93 the same videos do play without any issues. I'm on a Pixel 2 XL with Android 10 (Dec). Will try to pull a logcat. |
I'm able to reproduce the issue on YouTube. As @kkkrist said,
This exactly describes the issue. Pulling a logcat now, few moments please... |
I'm have this issue for most videos as well. I actually get the Bronite keeps stopping dialog. Although, the Close App button doesn't kill Bromite. It did not happen on the last release. And the sites work in Chrome stable. This is from a Rooted, but otherwise stock Pixel 3 XL with Android 10 and the December patch. [logcat_12-21-2019_16-10-15.zip] |
Here are some logs: [removed] This issue wasn't present in v78 on my end, would've noticed for sure I think. |
The crash found in your logcat:
It is a stagefright/ImageReader crash, and I think it's already reported upstream: https://bugs.chromium.org/p/chromium/issues/detail?id=977583
@proteriax the bug can most likely be reproduced with Chromium, you could not test with the corresponding version because it was/is not yet released. |
There is already a patch in Bromite to counteract the buggy AImageReader in Android 10, I will add in next release the additional workaround specified in the upstream issue; please follow the upstream issue for the proper solution. |
Thanks for having looked into it! The Chrome version I mentioned above and which plays videos just fine is indeed 32-bit (came pre-installed and was updated via Play Store), the Bromite version I was using is 64-bit. |
@kkkrist we use Chromium to verify whether bugs like these are from upstream or from Bromite patches, unfortunately the Chromium version matching to current Bromite version is not available at the moment but will be in the next days. If upstream does not test/release/maintain the 64-bit version we might have to drop it too, although there are some advantages in using it. |
@csagan5 Thank you. I didn’t notice the latest Chromium version does not match. |
This is still happening on 79.0.3945.100. For me, I just open a YouTube link, sometime it plays for 1-2 seconds, then refreshes the page and plays for another 1-2 secs, then it doesn't play at all. Sometimes, I'm lucky and after the first crash, it loads the video just fine. |
@tiagossa1 @proteriax @kkkrist @luisnogueira @godwintgn can you please test with the corresponding Chromium version |
Yes, it's still crashing on Twitter videos with the 64-bit version, whereas 32-bit works. Same with Chromium 79.0.3945.100. |
@kkkrist thanks for testing. Since it is happening with the corresponding Chromium version then the best way to get this fixed is to ask about it upstream (no need to mention Bromite, the Chromium issue tracker is about Chromium). The fixes reported in https://bugs.chromium.org/p/chromium/issues/detail?id=977583 were not effective as they are already in place for current version. |
I have read that |
Just wanted to add some more context to this issue, I cannot replicate it but I believe that's due to being on Android 9 (Lineageos 16 with MicroG) -- so this seems to be isolated to Android 10. |
@csagan5 That fixes the problem. Looks like there's no force closing disabling Accelerated Video Decode. It's working just fine. |
@nikolowry the issue can be replicated on Android 9 without Bromite's patch; for Android 10 the patch is instead ineffective. It seems to be a bug within Android stagefright itself, so we have to wait upstream on this. |
This comment has been minimized.
This comment has been minimized.
Can confirm that this solves the issue in Android 10 (December Security Patch). |
Actually, even playing videos from imgur in the m.reddit.com, then clicking forward and then going back to an auto resuming video can trigger freezing. |
You need to report it when it happens, including the release number and the crash log.
Do you have a crash log? It could be a regression in v83. |
Good points. I've hesitated to file a bug since I cannot consistently reproduce it. There are no errors printed out in chrome://gpu, and bromite does not crash, just freezes until I switch away then switch back. Just tested the arm32 version, and it definitely freezes far less than the arm64 version. Hopefully v84 of chrome fixes this regression. |
@aluo-x only ways forward would be to check the upstream issue tracker and/or attach the Android Studio profiler to see what's going on. |
https://www.androidcentral.com/chrome-android-finally-get-64-bit-variant-and-much-better-performance Looks like Google has been testing Chrome 84 with 64bit builds. Maybe the work around will no longer be necessary? |
For those interested I am running some tests for v86 in #755 |
I am going to disable AImageReader for Qualcomm chipsets, see discussion in #814 if interested. |
I am planning to have the AImageReader flag enabled by default in a future release of Bromite; please test on the current release by going to |
Working flawlessly here on OnePlus 6 (Adreno 630), tested on both Facebook and Youtube using the latest build available on the F-Droid repo. |
And you enabled the |
Great, thanks; I will enable AImageReader by default on next release. |
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Revert "gpu/android: Remove setup for disabling AImageReader." This reverts commit dcd5a39. Revert "Remove flags to enable/disable AImageReader." This reverts commit 463fa0f. Restore GPU bug blacklist for AImageReader on ARM and Qualcomm CPUs Restore the AImageReader blacklist for ARM/Qualcomm chipsets which causes crashes on Android 9 and 10 (at different code locations). See discussions at: * bromite/bromite#445 * bromite/bromite#814 * bromite/bromite#1005 License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I0db87f4107c94f68e846f06f365b8eefd0076599
Affected device/platforms
Bromite version
Version: 79.0.3945.94
Arch:
arm64
Android version: 10.0.3
Device model: OnePlus 7
Is this bug about the SystemWebView?
No
Is the bug reproducible with latest version?
Yes
Can the bug be reproduced with corresponding Chromium version?
No
Is the bug a crash?
No
Describe the bug
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Video starts playing.
Actual behavior
It does not.
Screenshots
The text was updated successfully, but these errors were encountered: