[Android][FCNT] IMGeglMakeCurrent crash on affected devices – Will the rive-android #468 fix be ported to rive-flutter?

Đang mở
#668 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Công nghệ
android, dart, flutter
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ả

known
Submission checklist
  • I have confirmed the issue is present in the latest version of the rive Flutter 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rive-app/rive-flutter

Tất cả issue của rive-app/rive-flutter

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.