Skip to content

[Impeller] PowerVR devices rendering incorrectly if vertex/fragment stage varyings have mismatched relaxed precision. #143573

@woutervanwijk

Description

@woutervanwijk

Steps to reproduce

Build and run app with impeller enabled on a Galaxy Tab 7 Lite (Android 14)
Immediately visible

Expected results

Properly working app

Actual results

Ugly font, unreadable
Green backgrounds
Missing icons
See screenshots

Code sample

Code sample Just use the default demo app. And add this to the AndroidManifest.xml in release:
<meta-data
    android:name="io.flutter.embedding.android.EnableImpeller"
    android:value="true" />

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Screenshot_20240216_113751

Screenshot_20240216_104341

Logs

Logs
wouter$ flutter run --release -d "SM T220"

Launching lib/main.dart on SM T220 in release mode...
Running Gradle task 'assembleRelease'...                           94.3s
✓  Built build/app/outputs/flutter-apk/app-release.apk (6.9MB).
Installing build/app/outputs/flutter-apk/app-release.apk...        16.9s

Flutter run key commands.
h List all available interactive commands.
c Clear the screen
q Quit (terminate the application on the device).
E/flutter (23388): [ERROR:flutter/shell/platform/android/android_context_vulkan_impeller.cc(52)] Using the Impeller rendering backend (Vulkan).

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.3.1 23D60 darwin-arm64, locale en-NL)
    • Flutter version 3.19.0 on channel stable at /Users/wouter/.flutter_sdk
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (2 days ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/wouter/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = /Users/wouter/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (3 available)
    • Touwer (mobile) • 00008110-000864E211FB801E • ios            • iOS 17.3.1 21D61
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: tabletTablets and landscape phonesc: renderingUI glitches reported at the engine/skia or impeller rendering levele: device-specificOnly manifests on certain devicese: impellerImpeller rendering backend issues and features requestsplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions