Skip to content

[Impeller] Visual glitches on Tecno Camon 19 Neo. #160370

Closed

Description

@noti0nS

Steps to reproduce

This situation is happening only on our customer side. As we don't have the devices and the app is source-closed, I can't reproduce the bug or show the code. But when I disable the impeller, everything works as expected.

Expected results

The screen renders with no glitches.

Actual results

The screen is rendering with a lot of glitches.

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

imagem

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.27.0, on Microsoft Windows [Version 10.0.22631.4602], locale pt-BR)
    • Flutter version 3.27.0 on channel stable at C:\dev\flutter\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8495dee1fd (6 days ago), 2024-12-10 14:23:39 -0800
    • Engine revision 83bacfc525
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Josel\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.12.35527.113
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.6+0-b2043.56-10027231)

[✓] VS Code (version 1.96.0)
    • VS Code at C:\Users\Josel\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.102.0

[✓] Connected device (4 available)
    • SM A032M (mobile) • R9QT605V0DM • android-arm    • Android 13 (API 33)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22631.4602]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 130.0.6723.92
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 131.0.2903.99

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

Activity

  1. added
    team-engine
    e: impeller
    on Dec 16, 2024
  2. jonahwilliams commented on Dec 16, 2024

    @jonahwilliams
    Contributor

    Can you share a screenshot of what the app looks like with Skia? Just off the top of my head the bottom right could be a bug in the box blur used by material shadows. But I'm not sure what is going on at the top of the screen

  3. jonahwilliams commented on Dec 16, 2024

    @jonahwilliams
    Contributor

    I can't say for sure if it will fix your issues, but we did just issue a hotfix that disable our Android SurfaceControl swapchain that you might want to try too.

  4. noti0nS commented on Dec 17, 2024

    @noti0nS
    Author

    thanks! I'll try to notify our customer tomorrow and get the feedback.

  5. jonahwilliams commented on Dec 17, 2024

    @jonahwilliams
    Contributor

    @lucas404x please also see #160370 (comment)

  6. noti0nS commented on Dec 17, 2024

    @noti0nS
    Author

    oh, I'm sorry! i missed it 😅
    here's how screen should look (the screenshot below was captured by my device, not the buggy one):
    Screenshot_20241216-235901

  7. jonahwilliams commented on Dec 17, 2024

    @jonahwilliams
    Contributor

    Thank you!

  8. noti0nS commented on Dec 19, 2024

    @noti0nS
    Author

    hi there @jonahwilliams ! unfortunately the bugs still persist on the devices.
    please take a look at the images captured by our customers:

    bug01

    bug02

    bug03.mp4

    I had enabled the impeller once again in that release. The weirdest thing is that apparently this happening only in two devices, while in the others (even the model being the same) is not.

  9. jonahwilliams commented on Dec 19, 2024

    @jonahwilliams
    Contributor

    Confusing! Are the different phones on different patch versions of Android? Perhaps with different driver versions?

  10. noti0nS commented on Dec 19, 2024

    @noti0nS
    Author

    oops! actually the models are different. i forgot to delete the last section 😅

  11. jonahwilliams commented on Dec 19, 2024

    @jonahwilliams
    Contributor

    Ah no worries, can you tell me which models have the bug and which ones are working?

  12. noti0nS commented on Dec 19, 2024

    @noti0nS
    Author

    The models that we detected this behavior are:

    • Tecno CH6i
    • OPPO CPH2239

    The working models are:

    • Infinix X670
    • Samsung A03 Core

    I noticed that both non-working models are in Android 10 while the working ones are in Android 13.
    I don't know what is the model, but one of our employees tested our app on a device with Android 9 and it worked as expected.

  13. 9 remaining items

  14. VadymPinchuk commented on Jan 7, 2025

    @VadymPinchuk

    Thanks for getting back @jonahwilliams.

    I have tried on the latest main:

    Flutter (Channel main, 3.26.0-1.0.pre.15, on macOS 15.2 24C101 darwin-arm64, locale en-US)
    

    Setup

    Samsung Galaxy S22 5G : /$ adb shell dumpsys SurfaceFlinger | grep "OpenGL"
    
    GLES: Samsung Electronics Co., Ltd., ANGLE (Samsung Xclipse 920) on Vulkan 1.1.179, OpenGL ES 3.2 ANGLE git hash: c7c78c41d520
    
    

    Still having these issues.

    Screenshot 2025-01-07 at 13 22 01
  15. jonahwilliams commented on Jan 7, 2025

    @jonahwilliams
    Contributor

    based on my testing I believe the original issue should be fixed, but I'm waiting to hear back from @lucas404x . @VadymPinchuk can you please file a new bug? I haven't seen any of the Xclipse 920 devices before and I suspect that one has some "unique" bugs.

  16. VadymPinchuk commented on Jan 7, 2025

    @VadymPinchuk

    Thank you @jonahwilliams I will create it shortly

  17. VadymPinchuk commented on Jan 8, 2025

    @VadymPinchuk

    Hi @jonahwilliams, I hope this one helps: #161334
    Now it is separately reported.

  18. noti0nS commented on Jan 8, 2025

    @noti0nS
    Author

    Hello @jonahwilliams, thank you for the quick fix!
    As I need to test it on our customers, it may take some weeks because that's out of my scope for now. I'm gonna try to manage it ASAP.

  19. nerder commented on Jan 9, 2025

    @nerder
  20. jonahwilliams commented on Jan 9, 2025

    @jonahwilliams
    Contributor

    @nerder see #161334 . That is probably a different issue

  21. nerder commented on Jan 9, 2025

    @nerder

    We've got reported a different one (more severe), i'm not able to understand if this is related with this issue or the other one reported for S22

    Device
    image

    OS
    image

    image

  22. jonahwilliams commented on Jan 9, 2025

    @jonahwilliams
    Contributor

    @nerder is that phone a Tecno Camon 19 Neo?

  23. nerder commented on Jan 9, 2025

    @nerder

    Nope, it seems to be a Blackview Pro, but I'm not sure it this issue should be considered as the umbrella issue for all this kinds of visual glitches or should I open a separate issue for each report we got where the device is different.

  24. jonahwilliams commented on Jan 9, 2025

    @jonahwilliams
    Contributor

    K. Well I'm going to close this bug if lucas404x gets back to me with confirm those devices are working. So if you want me to look at that issue specifically then you'll need to file a new bug.

  25. jonahwilliams commented on Jan 23, 2025

    @jonahwilliams
    Contributor

    Status update: we think this is fixed, as we confirmed an issue on similar devices + GPU models and have landed fixed for that.

  26. github-actions commented on Feb 6, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  27. locked as resolved and limited conversation to collaborators on Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1e: impellerteam-enginetriaged-engine

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions