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

オープン
#668 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, dart, flutter

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Dart
スター
1.5k
フォーク
244
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rive-app/rive-flutter のほかの issue

rive-app/rive-flutter の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。