[Android][FCNT] IMGeglMakeCurrent crash on affected devices – Will the rive-android #468 fix be ported to rive-flutter?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- computer-graphics, mobile
Hướng nghiên cứu
Read the linked rive-android issue #468 and fix commit ff0d95c402ecfe5a5443e76e3c98b8ba0dd4b8f4 to understand the Android rendering workaround. Then trace the corresponding renderer path in rive-flutter or rive_native and check how affected FCNT devices select a backend. Done means affected devices render animations without the IMGeglMakeCurrent crash; the issue does not name relevant files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Submission checklist
- I have confirmed the issue is present in the latest version of the
riveFlutter package - I have searched the documentation and forums and could not find an answer
- I have searched existing issues and this is not a duplicate
Description
We are experiencing a native Android crash related to Rive animation rendering on specific FCNT devices running Android 16.
The crash appears to be related to IMGeglMakeCurrent in the OpenGL driver.
This issue has already been reported and addressed in the Android Rive runtime:
Issue: https://github.com/rive-app/rive-android/issues/468
Fix commit: https://github.com/rive-app/rive-android/commit/ff0d95c402ecfe5a5443e76e3c98b8ba0dd4b8f4
The Android runtime fix disables OpenGL on affected FCNT firmware and uses Vulkan or Canvas as an alternative rendering backend.
We would like to know whether a corresponding fix is planned for the Flutter runtime (rive / rive_native).
Affected Devices
We have identified the issue on the following devices running Android 16:
Manufacturer Model
FCNT F-52E
FCNT FCG02
FCNT A402FC
FCNT M07
Current Workaround
As a temporary workaround, we detect the affected devices and disable Rive animations to prevent crashes.
However, we would prefer to restore animations once the underlying rendering issue is resolved.
Expected Behavior
Rive animations should render correctly on affected FCNT devices without causing native OpenGL crashes.
Questions
Is the fix from rive-android (#468 / commit ff0d95c) planned to be incorporated into rive-flutter / rive_native?
Does the Flutter runtime use the same OpenGL rendering path affected by this issue?
If a fix is planned, is there an estimated release version or timeline?
Thank you for your support!
Reproduction steps / code
No response
Upload your reproduction files / stack trace
No response
Source .riv / .rev file
No response
Screenshots / video
No response
Rive Flutter package version
0.14.11
Flutter version
Flutter 3.47.8
Device
FCNT F-52E
OS version
Android 16 Only
Additional context
No response
- Ngôn ngữ chính
- Dart
- Star
- 1.5k
- Fork
- 244
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rive-app/rive-flutter
-
bug known
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rive-app/rive-flutter#617 · 6 bình luận · 15 reaction ·
-
known
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
rive-app/rive-flutter#669 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
rive-app/rive-flutter#667 ·
-
known
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
rive-app/rive-flutter#664 · 1 bình luận ·
-
needs-repro
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
rive-app/rive-flutter#663 · 1 bình luận ·
Tất cả issue của rive-app/rive-flutter
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dart-lang/ai#746 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
google/skills_lint.dart#220 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile chore good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CommandLineCoding/Elephant#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] 删除会话的成功提示遮挡输入框,导致无法输入Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ccch1mneyyy/dsh-Go#912 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
difficulty: medium duration: small type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
duobaseio/forui#1237 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày