Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression][GNU/Linux] FlTextureGL is no longer working on Flutter 3.9.x #124009

Closed
alexmercerind opened this issue Apr 3, 2023 · 5 comments · Fixed by flutter/engine#40899
Closed
Labels
a: desktop Running on desktop c: regression It was better in the past than it is now customer: crowd Affects or could affect many people, though not necessarily a specific customer. engine flutter/engine repository. See also e: labels. found in release: 3.9 Found to occur in 3.9 has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-linux Building on or for Linux specifically r: fixed Issue is closed as already fixed in a newer version

Comments

@alexmercerind
Copy link

alexmercerind commented Apr 3, 2023

Steps to Reproduce

  1. Execute cd example && flutter run on the code sample.
  2. The content painted using GL is not displayed.
  3. The code sample works on the last stable release of Flutter 3.7.x, but it is no longer working on master channel (3.9.x).

This is a regression & it makes the video rendering completely broken on package:media_kit. Thus, making various applications depending upon package unusable. The degree of severity will be higher if this regression makes it's way to the stable channel of Flutter.

Expected results:

The content painted using GL on native side is displayed on the Texture widget.

Actual results:

The content painted using GL on native side is not displayed on the Texture widget.

Code Sample

https://github.com/alexmercerind/flutter-linux-texture-issue

Logs
[  +32 ms] executing: [/home/alexmercerind/.flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +18 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f4caee6efbc0b0094f3cee9e31a7486e3d030819
[        ] executing: [/home/alexmercerind/.flutter/] git tag --points-at f4caee6efbc0b0094f3cee9e31a7486e3d030819
[  +27 ms] Exit code 0 from: git tag --points-at f4caee6efbc0b0094f3cee9e31a7486e3d030819
[   +2 ms] executing: [/home/alexmercerind/.flutter/] git describe --match *.*.* --long --tags f4caee6efbc0b0094f3cee9e31a7486e3d030819
[  +35 ms] Exit code 0 from: git describe --match *.*.* --long --tags f4caee6efbc0b0094f3cee9e31a7486e3d030819
[        ] 3.9.0-16.0.pre-8-gf4caee6efb
[   +4 ms] executing: [/home/alexmercerind/.flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/master
[        ] executing: [/home/alexmercerind/.flutter/] git ls-remote --get-url origin
[   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[   +1 ms] executing: uname -m
[   +7 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +51 ms] executing: [/home/alexmercerind/.flutter/] git rev-parse --abbrev-ref HEAD
[  +24 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[        ] Failed to initialize analytics reporting: FileSystemException: Cannot create file, path = '/home/alexmercerind/.flutter' (OS Error: Is a directory, errno = 21)
[  +35 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +124 ms] executing: /usr/lib/android-sdk/platform-tools/adb devices -l
[ +142 ms] List of devices attached
[  +10 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +162 ms] executing: [/home/alexmercerind/flutter-linux-texture-issue/example/] /home/alexmercerind/.flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics --color --verbose --directory . get --example
FINE: Pub 3.0.0-365.0.dev
MSG : Resolving dependencies...
SLVR: fact: external_texture_example is 0.0.0
SLVR: derived: external_texture_example
SLVR: fact: external_texture_example depends on flutter from sdk
SLVR: fact: external_texture_example depends on external_texture from path
SLVR: fact: external_texture_example depends on cupertino_icons ^1.0.2
SLVR: fact: external_texture_example depends on flutter_test from sdk
SLVR:   selecting external_texture_example
SLVR:   derived: flutter_test from sdk
SLVR:   derived: cupertino_icons ^1.0.2
SLVR:   derived: external_texture from path
SLVR:   derived: flutter from sdk
SLVR:   fact: flutter_test 0.0.0 from sdk depends on flutter from sdk
SLVR:   fact: flutter_test 0.0.0 from sdk depends on test_api 0.4.18
SLVR:   fact: flutter_test 0.0.0 from sdk depends on path 1.8.3
SLVR:   fact: flutter_test 0.0.0 from sdk depends on fake_async 1.3.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on clock 1.1.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.11.0
SLVR:   fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.4
SLVR:   fact: flutter_test 0.0.0 from sdk depends on async 2.11.0
SLVR:   fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on characters 1.3.0
SLVR:   fact: flutter_test 0.0.0 from sdk depends on collection 1.17.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on js 0.6.7
SLVR:   fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.14
SLVR:   fact: flutter_test 0.0.0 from sdk depends on material_color_utilities 0.2.0
SLVR:   fact: flutter_test 0.0.0 from sdk depends on meta 1.9.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on source_span 1.9.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.1
SLVR:   fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.2.0
SLVR:   fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.1
SLVR:     selecting flutter_test 0.0.0 from sdk
SLVR:     derived: term_glyph 1.2.1
SLVR:     derived: string_scanner 1.2.0
SLVR:     derived: stream_channel 2.1.1
SLVR:     derived: source_span 1.9.1
SLVR:     derived: meta 1.9.1
SLVR:     derived: material_color_utilities 0.2.0
SLVR:     derived: matcher 0.12.14
SLVR:     derived: js 0.6.7
SLVR:     derived: collection 1.17.1
SLVR:     derived: characters 1.3.0
SLVR:     derived: boolean_selector 2.1.1
SLVR:     derived: async 2.11.0
SLVR:     derived: vector_math 2.1.4
SLVR:     derived: stack_trace 1.11.0
SLVR:     derived: clock 1.1.1
SLVR:     derived: fake_async 1.3.1
SLVR:     derived: path 1.8.3
SLVR:     derived: test_api 0.4.18
SLVR:       selecting cupertino_icons 1.0.3
SLVR:       fact: external_texture 0.0.0 from path depends on flutter from sdk
SLVR:         selecting external_texture 0.0.0 from path
SLVR:         fact: flutter 0.0.0 from sdk depends on characters 1.3.0
SLVR:         fact: flutter 0.0.0 from sdk depends on collection 1.17.1
SLVR:         fact: flutter 0.0.0 from sdk depends on js 0.6.7
SLVR:         fact: flutter 0.0.0 from sdk depends on material_color_utilities 0.2.0
SLVR:         fact: flutter 0.0.0 from sdk depends on meta 1.9.1
SLVR:         fact: flutter 0.0.0 from sdk depends on vector_math 2.1.4
SLVR:         fact: flutter 0.0.0 from sdk depends on sky_engine from sdk
SLVR:           selecting flutter 0.0.0 from sdk
SLVR:           derived: sky_engine from sdk
SLVR:             selecting term_glyph 1.2.1
SLVR:             fact: string_scanner 1.2.0 depends on source_span ^1.8.0
SLVR:               selecting string_scanner 1.2.0
SLVR:               fact: stream_channel 2.1.1 depends on async ^2.5.0
SLVR:                 selecting stream_channel 2.1.1
SLVR:                 fact: source_span 1.9.1 depends on collection ^1.15.0
SLVR:                 fact: source_span 1.9.1 depends on path ^1.8.0
SLVR:                 fact: source_span 1.9.1 depends on term_glyph ^1.2.0
SLVR:                   selecting source_span 1.9.1
SLVR:                     selecting meta 1.9.1
SLVR:                       selecting material_color_utilities 0.2.0
SLVR:                       fact: matcher 0.12.14 depends on meta ^1.8.0
SLVR:                       fact: matcher 0.12.14 depends on stack_trace ^1.10.0
SLVR:                         selecting matcher 0.12.14
SLVR:                         fact: js 0.6.7 depends on meta ^1.7.0
SLVR:                           selecting js 0.6.7
SLVR:                             selecting collection 1.17.1
SLVR:                               selecting characters 1.3.0
SLVR:                               fact: boolean_selector 2.1.1 depends on source_span ^1.8.0
SLVR:                               fact: boolean_selector 2.1.1 depends on string_scanner ^1.1.0
SLVR:                                 selecting boolean_selector 2.1.1
SLVR:                                 fact: async 2.11.0 depends on collection ^1.15.0
SLVR:                                 fact: async 2.11.0 depends on meta ^1.1.7
SLVR:                                   selecting async 2.11.0
SLVR:                                     selecting vector_math 2.1.4
SLVR:                                     fact: stack_trace 1.11.0 depends on path ^1.8.0
SLVR:                                       selecting stack_trace 1.11.0
SLVR:                                         selecting clock 1.1.1
SLVR:                                         fact: fake_async 1.3.1 depends on clock ^1.1.0
SLVR:                                         fact: fake_async 1.3.1 depends on collection ^1.15.0
SLVR:                                           selecting fake_async 1.3.1
SLVR:                                             selecting path 1.8.3
SLVR:                                             fact: test_api 0.4.18 depends on async ^2.5.0
SLVR:                                             fact: test_api 0.4.18 depends on boolean_selector ^2.1.0
SLVR:                                             fact: test_api 0.4.18 depends on collection ^1.15.0
SLVR:                                             fact: test_api 0.4.18 depends on meta ^1.3.0
SLVR:                                             fact: test_api 0.4.18 depends on source_span ^1.8.0
SLVR:                                             fact: test_api 0.4.18 depends on stack_trace ^1.10.0
SLVR:                                             fact: test_api 0.4.18 depends on stream_channel ^2.1.0
SLVR:                                             fact: test_api 0.4.18 depends on string_scanner ^1.1.0
SLVR:                                             fact: test_api 0.4.18 depends on term_glyph ^1.2.0
SLVR:                                             fact: test_api 0.4.18 depends on matcher >=0.12.11 <0.12.15
SLVR:                                               selecting test_api 0.4.18
SLVR:                                                 selecting sky_engine 0.0.99 from sdk
SLVR: Version solving took 0:00:00.541995 seconds.
    | Tried 1 solutions.
FINE: Resolving dependencies finished (0.656s).
MSG :   cupertino_icons 1.0.3 (1.0.5 available)
    |   matcher 0.12.14 (0.12.15 available)
    |   material_color_utilities 0.2.0 (0.3.0 available)
    |   test_api 0.4.18 (0.5.1 available)
MSG : Got dependencies!
IO  : Writing 4978 characters to text file pubspec.lock.
FINE: Contents:
    | # Generated by pub
    | # See https://dart.dev/tools/pub/glossary#lockfile
    | packages:
    |   async:
    |     dependency: transitive
    |     description:
    |       name: async
    |       sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.11.0"
    |   boolean_selector:
    |     dependency: transitive
    |     description:
    |       name: boolean_selector
    |       sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.1.1"
    |   characters:
    |     dependency: transitive
    |     description:
    |       name: characters
    |       sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.3.0"
    |   clock:
    |     dependency: transitive
    |     description:
    |       name: clock
    |       sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.1.1"
    |   collection:
    |     dependency: transitive
    |     description:
    |       name: collection
    |       sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.17.1"
    |   cupertino_icons:
    |     dependency: "direct main"
    |     description:
    |       name: cupertino_icons
    |       sha256: "486b7bc707424572cdf7bd7e812a0c146de3fd47ecadf070254cc60383f21dd8"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.0.3"
    |   external_texture:
    |     dependency: "direct main"
    |     description:
    |       path: ".."
    |       relative: true
    |     source: path
    |     version: "0.0.0"
    |   fake_async:
    |     dependency: transitive
    |     description:
    |       name: fake_async
    |       sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.3.1"
    |   flutter:
    |     dependency: "direct main"
    |     description: flutter
    |     source: sdk
    |     version: "0.0.0"
    |   flutter_test:
    |     dependency: "direct dev"
    |     description: flutter
    |     source: sdk
    |     version: "0.0.0"
    |   js:
    |     dependency: transitive
    |     description:
    |       name: js
    |       sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.6.7"
    |   matcher:
    |     dependency: transitive
    |     description:
    |       name: matcher
    |       sha256: c94db23593b89766cda57aab9ac311e3616cf87c6fa4e9749df032f66f30dcb8
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.12.14"
    |   material_color_utilities:
    |     dependency: transitive
    |     description:
    |       name: material_color_utilities
    |       sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.2.0"
    |   meta:
    |     dependency: transitive
    |     description:
    |       name: meta
    |       sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.9.1"
    |   path:
    |     dependency: transitive
    |     description:
    |       name: path
    |       sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.8.3"
    |   sky_engine:
    |     dependency: transitive
    |     description: flutter
    |     source: sdk
    |     version: "0.0.99"
    |   source_span:
    |     dependency: transitive
    |     description:
    |       name: source_span
    |       sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.9.1"
    |   stack_trace:
    |     dependency: transitive
    |     description:
    |       name: stack_trace
    |       sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.11.0"
    |   stream_channel:
    |     dependency: transitive
    |     description:
    |       name: stream_channel
    |       sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.1.1"
    |   string_scanner:
    |     dependency: transitive
    |     description:
    |       name: string_scanner
    |       sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.2.0"
    |   term_glyph:
    |     dependency: transitive
    |     description:
    |       name: term_glyph
    |       sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.2.1"
    |   test_api:
    |     dependency: transitive
    |     description:
    |       name: test_api
    |       sha256: "6182294da5abf431177fccc1ee02401f6df30f766bc6130a0852c6b6d7ee6b2d"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.4.18"
    |   vector_math:
    |     dependency: transitive
    |     description:
    |       name: vector_math
    |       sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.1.4"
    | sdks:
    |   dart: ">=3.0.0-0 <4.0.0"
    |   flutter: ">=1.20.0"
FINE: Sending analytics hit for "pub-get" of stack_trace version 1.11.0 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of term_glyph version 1.2.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of test_api version 0.4.18 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of material_color_utilities version 0.2.0 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of vector_math version 2.1.4 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of matcher version 0.12.14 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of cupertino_icons version 1.0.3 as dependency-kind direct
FINE: Sending analytics hit for "pub-get" of fake_async version 1.3.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of collection version 1.17.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of clock version 1.1.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of string_scanner version 1.2.0 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of characters version 1.3.0 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of source_span version 1.9.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of path version 1.8.3 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of async version 2.11.0 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of meta version 1.9.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of stream_channel version 2.1.1 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of js version 0.6.7 as dependency-kind transitive
FINE: Sending analytics hit for "pub-get" of boolean_selector version 2.1.1 as dependency-kind transitive
FINE: Sending analytics timing "pub-get" took 540 miliseconds
IO  : Writing 4595 characters to text file .dart_tool/package_config.json.
FINE: Contents:
    | {
    |   "configVersion": 2,
    |   "packages": [
    |     {
    |       "name": "async",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/async-2.11.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "boolean_selector",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.17"
    |     },
    |     {
    |       "name": "characters",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/characters-1.3.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "clock",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/clock-1.1.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "collection",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/collection-1.17.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "cupertino_icons",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.3",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "external_texture",
    |       "rootUri": "../../",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "fake_async",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/fake_async-1.3.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "flutter",
    |       "rootUri": "file:///home/alexmercerind/.flutter/packages/flutter",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.0"
    |     },
    |     {
    |       "name": "flutter_test",
    |       "rootUri": "file:///home/alexmercerind/.flutter/packages/flutter_test",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.0"
    |     },
    |     {
    |       "name": "js",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/js-0.6.7",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.19"
    |     },
    |     {
    |       "name": "matcher",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/matcher-0.12.14",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "material_color_utilities",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/material_color_utilities-0.2.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.13"
    |     },
    |     {
    |       "name": "meta",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/meta-1.9.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "path",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/path-1.8.3",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "sky_engine",
    |       "rootUri": "file:///home/alexmercerind/.flutter/bin/cache/pkg/sky_engine",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.0"
    |     },
    |     {
    |       "name": "source_span",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/source_span-1.9.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.14"
    |     },
    |     {
    |       "name": "stack_trace",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/stack_trace-1.11.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "stream_channel",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/stream_channel-2.1.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.14"
    |     },
    |     {
    |       "name": "string_scanner",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/string_scanner-1.2.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "term_glyph",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/term_glyph-1.2.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "test_api",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/test_api-0.4.18",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "vector_math",
    |       "rootUri": "file:///home/alexmercerind/.pub-cache/hosted/pub.dev/vector_math-2.1.4",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.14"
    |     },
    |     {
    |       "name": "external_texture_example",
    |       "rootUri": "../",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     }
    |   ],
    |   "generated": "2023-04-03T11:10:40.123230Z",
    |   "generator": "pub",
    |   "generatorVersion": "3.0.0-365.0.dev"
    | }
IO  : Writing 29252 characters to text file /home/alexmercerind/.pub-cache/log/pub_log.txt.
MSG : Logs written to /home/alexmercerind/.pub-cache/log/pub_log.txt.
[+1338 ms] Found plugin external_texture at /home/alexmercerind/flutter-linux-texture-issue/
[ +106 ms] Found plugin external_texture at /home/alexmercerind/flutter-linux-texture-issue/
[ +172 ms] Initializing file store
[  +19 ms] Skipping target: gen_localizations
[  +11 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/package_config_subset}
[  +66 ms] Found plugin external_texture at /home/alexmercerind/flutter-linux-texture-issue/
[   +7 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] _composite: Starting due to {}
[        ] _composite: Complete
[   +6 ms] complete
[  +16 ms] Launching lib/main.dart on Linux in debug mode...
[   +9 ms] /home/alexmercerind/.flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/alexmercerind/.flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/home/alexmercerind/.flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/tmp/flutter_tools.CGKHBW/flutter_tool.LIRCNL/app.dill --packages /home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[  +45 ms] Building Linux application...
[  +32 ms] <- compile package:external_texture_example/main.dart
[  +13 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/alexmercerind/flutter-linux-texture-issue/example/linux
[ +406 ms] -- The CXX compiler identification is Clang 14.0.0
[  +23 ms] -- Detecting CXX compiler ABI info
[ +429 ms] -- Detecting CXX compiler ABI info - done
[  +19 ms] -- Check for working CXX compiler: /usr/bin/clang++ - skipped
[        ] -- Detecting CXX compile features
[        ] -- Detecting CXX compile features - done
[  +19 ms] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
[   +1 ms] -- Checking for module 'gtk+-3.0'
[  +47 ms] --   Found gtk+-3.0, version 3.24.33
[ +178 ms] -- Checking for module 'glib-2.0'
[  +33 ms] --   Found glib-2.0, version 2.72.4
[ +106 ms] -- Checking for module 'gio-2.0'
[  +64 ms] --   Found gio-2.0, version 2.72.4
[ +134 ms] CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindOpenGL.cmake:315 (message):
[   +4 ms]   Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
[        ]   available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
[        ]   cmake_policy command to set the policy and suppress this warning.
[   +8 ms]   FindOpenGL found both a legacy GL library:
[   +9 ms]     OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
[        ]   and GLVND libraries for OpenGL and GLX:
[   +1 ms]     OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
[   +6 ms]     OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
[   +2 ms]   OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
[        ]   compatibility with CMake 3.10 and below the legacy GL library will be used.
[        ] Call Stack (most recent call first):
[        ]   flutter/ephemeral/.plugin_symlinks/external_texture/linux/CMakeLists.txt:22 (find_package)
[        ] This warning is for project developers.  Use -Wno-dev to suppress it.
[        ] -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
[   +1 ms] -- Configuring done
[   +2 ms] -- Generating done
[  +26 ms] -- Build files have been written to: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug
[  +17 ms] executing: ninja -C build/linux/x64/debug install
[  +28 ms] ninja: Entering directory `build/linux/x64/debug'
[+36011 ms] [1/10] Generating /home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/alexmercerind/flutter-linux-texture-issue/example/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +42 ms] [  +62 ms] executing: [/home/alexmercerind/.flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] [        ] f4caee6efbc0b0094f3cee9e31a7486e3d030819
[        ] [        ] executing: [/home/alexmercerind/.flutter/] git tag --points-at f4caee6efbc0b0094f3cee9e31a7486e3d030819
[        ] [  +36 ms] Exit code 0 from: git tag --points-at f4caee6efbc0b0094f3cee9e31a7486e3d030819
[   +1 ms] [   +3 ms] executing: [/home/alexmercerind/.flutter/] git describe --match *.*.* --long --tags f4caee6efbc0b0094f3cee9e31a7486e3d030819
[   +1 ms] [  +44 ms] Exit code 0 from: git describe --match *.*.* --long --tags f4caee6efbc0b0094f3cee9e31a7486e3d030819
[   +1 ms] [        ] 3.9.0-16.0.pre-8-gf4caee6efb
[   +1 ms] [   +6 ms] executing: [/home/alexmercerind/.flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] [   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] [        ] origin/master
[        ] [        ] executing: [/home/alexmercerind/.flutter/] git ls-remote --get-url origin
[        ] [   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [   +1 ms] executing: uname -m
[        ] [   +7 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [  +34 ms] executing: [/home/alexmercerind/.flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [        ] Failed to initialize analytics reporting: FileSystemException: Cannot create file, path = '/home/alexmercerind/.flutter' (OS Error: Is a directory, errno = 21)
[        ] [  +31 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [ +265 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +4 ms] [   +2 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +14 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +5 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +86 ms] Initializing file store
[        ] [  +33 ms] Skipping target: gen_localizations
[        ] [  +36 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/package_config_subset}
[   +3 ms] [   +7 ms] unpack_linux: Starting due to {}
[        ] [ +243 ms] unpack_linux: Complete
[   +7 ms] [+1748 ms] Found plugin external_texture at /home/alexmercerind/flutter-linux-texture-issue/
[        ] [  +24 ms] gen_dart_plugin_registrant: Complete
[        ] [   +2 ms] kernel_snapshot: Starting due to {}
[   +3 ms] [  +18 ms] /home/alexmercerind/.flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/alexmercerind/.flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/home/alexmercerind/.flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --packages /home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/package_config.json --output-dill
/home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/flutter_build/40eccdfda08a8b776b5e95af139d9082/app.dill --depfile
/home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/flutter_build/40eccdfda08a8b776b5e95af139d9082/kernel_snapshot.d --incremental --initialize-from-dill
/home/alexmercerind/flutter-linux-texture-issue/example/.dart_tool/flutter_build/40eccdfda08a8b776b5e95af139d9082/app.dill --verbosity=error package:external_texture_example/main.dart
[  +12 ms] [+29697 ms] kernel_snapshot: Complete
[   +7 ms] [ +383 ms] debug_bundle_linux-x64_assets: Starting due to {}
[   +1 ms] [ +230 ms] shaderc command: [/home/alexmercerind/.flutter/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --iplr,
--sl=/home/alexmercerind/flutter-linux-texture-issue/example/build/flutter_assets/shaders/ink_sparkle.frag,
--spirv=/home/alexmercerind/flutter-linux-texture-issue/example/build/flutter_assets/shaders/ink_sparkle.frag.spirv, --input=/home/alexmercerind/.flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag,
--input-type=frag, --include=/home/alexmercerind/.flutter/packages/flutter/lib/src/material/shaders, --include=/home/alexmercerind/.flutter/bin/cache/artifacts/engine/linux-x64/shader_lib]
[   +1 ms] [ +453 ms] debug_bundle_linux-x64_assets: Complete
[        ] [ +813 ms] Persisting file store
[        ] [  +20 ms] Done persisting file store
[        ] [  +10 ms] build succeeded.
[        ] [  +23 ms] "flutter assemble" took 34,141ms.
[        ] [   +3 ms] ensureAnalyticsSent: 0ms
[  +16 ms] [        ] Running 0 shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[+2242 ms] [2/10] Building CXX object CMakeFiles/external_texture_example.dir/main.cc.o
[ +598 ms] [3/10] Building CXX object CMakeFiles/external_texture_example.dir/flutter/generated_plugin_registrant.cc.o
[ +121 ms] [4/10] Building CXX object plugins/external_texture/CMakeFiles/external_texture_plugin.dir/opengl_renderer.cpp.o
[ +264 ms] [5/10] Building CXX object CMakeFiles/external_texture_example.dir/my_application.cc.o
[ +486 ms] [6/10] Building CXX object plugins/external_texture/CMakeFiles/external_texture_plugin.dir/fl_my_texture_gl.cc.o
[ +322 ms] [7/10] Building CXX object plugins/external_texture/CMakeFiles/external_texture_plugin.dir/external_texture_plugin.cc.o
[ +283 ms] [8/10] Linking CXX shared library plugins/external_texture/libexternal_texture_plugin.so
[ +436 ms] [9/10] Linking CXX executable intermediates_do_not_run/external_texture_example
[   +2 ms] [9/10] Install the project...
[  +45 ms] -- Install configuration: "Debug"
[   +3 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/external_texture_example
[   +3 ms] -- Set runtime path of "/home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/external_texture_example" to "$ORIGIN/lib"
[   +1 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/icudtl.dat
[   +7 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[ +142 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/lib/libexternal_texture_plugin.so
[   +2 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/packages
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.bin
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/shaders
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/shaders/ink_sparkle.frag
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +1 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[ +104 ms] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing: /home/alexmercerind/flutter-linux-texture-issue/example/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[  +40 ms] Building Linux application... (completed in 42.9s)
[ +856 ms] VM Service URL on device: http://127.0.0.1:32871/_lRrnUdzIAo=/
[   +8 ms] Caching compiled dill
[ +102 ms] Connecting to service protocol: http://127.0.0.1:32871/_lRrnUdzIAo=/
[ +128 ms] ** (external_texture_example:6308): WARNING **: 16:41:24.871: Unable to retrieve framework response: Message is not valid JSON
[        ] ** (external_texture_example:6308): WARNING **: 16:41:24.872: Unable to retrieve framework response: Message is not valid JSON
[        ] ** (external_texture_example:6308): WARNING **: 16:41:24.872: Unable to retrieve framework response: Message is not valid JSON
[        ] ** (external_texture_example:6308): WARNING **: 16:41:24.872: Unable to retrieve framework response: Message is not valid JSON
[        ] ** (external_texture_example:6308): WARNING **: 16:41:24.872: Unable to retrieve framework response: Message is not valid JSON
[        ] ** (external_texture_example:6308): WARNING **: 16:41:24.872: Unable to retrieve framework response: Message is not valid JSON
[ +244 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:32871/_lRrnUdzIAo=/.
[ +337 ms] ** (external_texture_example:6308): WARNING **: 16:41:25.392: Unable to retrieve framework response: Message is not valid JSON
[  +20 ms] DDS is listening at http://127.0.0.1:45889/ommWZDnMrgY=/.
[ +115 ms] ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
                    The following assertion was thrown during a platform message callback:
                    A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs
                    in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure
                    that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the
                    event: KeyUpEvent#18613(physicalKey: PhysicalKeyboardKey#ec9ed(usbHidUsage: "0x0007002c", debugName:
                    "Space"), logicalKey: LogicalKeyboardKey#5aa20(keyId: "0x00000020", keyLabel: " ", debugName:
                    "Space"), character: null, timeStamp: 0:14:33.306000)
                    'package:flutter/src/services/hardware_keyboard.dart':
                    Failed assertion: line 434 pos 16: '_pressedKeys.containsKey(event.physicalKey)'
                    
                    Either the assertion indicates an error in the framework itself, or we should provide substantially
                    more information in this error message to help you determine and fix the underlying cause.
                    In either case, please report this assertion by filing a bug on GitHub:
                      https://github.com/flutter/flutter/issues/new?template=2_bug.md
                    
                    When the exception was thrown, this was the stack:
                    #2      HardwareKeyboard._assertEventIsRegular.<anonymous closure> (package:flutter/src/services/hardware_keyboard.dart:434:16)
                    #3      HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:445:6)
                    #4      HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:537:5)
                    #5      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:956:37)
                    #6      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:212:49)
                    #7      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:479:35)
                    #8      _invoke2 (dart:ui/hooks.dart:174:13)
                    #9      _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:40:5)
                    #10     _Channel._drainStep (dart:ui/channel_buffers.dart:223:31)
                    (elided 4 frames from class _AssertionError and dart:async)
                    ════════════════════════════════════════════════════════════════════════════════════════════════════
[  +14 ms] Successfully connected to service protocol: http://127.0.0.1:32871/_lRrnUdzIAo=/
[  +73 ms] DevFS: Creating new filesystem on the device (null)
[  +34 ms] DevFS: Created new filesystem on the device (file:///tmp/exampleDAPAHU/example/)
[   +6 ms] Updating assets
[ +369 ms] Syncing files to device Linux...
[   +5 ms] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +3 ms] <- recompile package:external_texture_example/main.dart 1f1354f1-6ae7-4ab3-8e07-d7b7ad577f05
[        ] <- 1f1354f1-6ae7-4ab3-8e07-d7b7ad577f05
[   +5 ms] Bundle processing done.
[ +310 ms] Updating files.
[        ] DevFS: Sync finished
[   +2 ms] Syncing files to device Linux... (completed in 328ms)
[   +1 ms] Synced 0.0MB.
[   +5 ms] <- accept
[   +4 ms] Connected to _flutterView/0x55b652a9cd50.
[   +5 ms] Flutter run key commands.
[   +4 ms] r Hot reload. 🔥🔥🔥
[   +2 ms] R Hot restart.
[   +1 ms] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[   +1 ms] c Clear the screen
[        ] q Quit (terminate the application on the device).
[   +1 ms] A Dart VM Service on Linux is available at: http://127.0.0.1:45889/ommWZDnMrgY=/
[ +862 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:45889/ommWZDnMrgY=/
Analyzing example...                                                    
No issues found! (ran in 1.8s)
[✓] Flutter (Channel master, 3.9.0-17.0.pre.8, on elementary OS 7 Horus 5.15.0-58-generic, locale en_US.UTF-8)
    • Flutter version 3.9.0-17.0.pre.8 on channel master at /home/alexmercerind/.flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f4caee6efb (10 days ago), 2023-03-24 10:33:05 -0700
    • Engine revision 7b91f9d08f
    • Dart version 3.0.0 (build 3.0.0-365.0.dev)
    • DevTools version 2.22.2

[✗] Android toolchain - develop for Android devices
    • Android SDK at /usr/lib/android-sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code (version 1.75.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.60.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • elementary OS 7 Horus 5.15.0-58-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 2 categories.
Flutter 3.7.x (stable channel) Flutter 3.9.x (master channel)
@alexmercerind
Copy link
Author

alexmercerind commented Apr 3, 2023

The pixel buffer based FlTexture still seems to work but provides no H/W acceleration.
You may run our test application for more complex usage environment.


Disclaimer: I have no precise knowledge about internal workings of Flutter.

As it seems, following PR seems to introduce this bug:

flutter/engine#40208

@alexmercerind
Copy link
Author

alexmercerind commented Apr 3, 2023

Hey @huycozy, it seems we (I & @bdlukaa) filed the same issue twice due to some misunderstanding. Would it be possible to close that one & keep this one opened as it has more number of likes & descriptive details?

Duplicate: #123974.

Just wanted to inform. Please proceed according to your understanding.

Thanks!

@TahaTesser TahaTesser added c: regression It was better in the past than it is now engine flutter/engine repository. See also e: labels. platform-linux Building on or for Linux specifically a: desktop Running on desktop has reproducible steps The issue has been confirmed reproducible and is ready to work on found in release: 3.9 Found to occur in 3.9 customer: crowd Affects or could affect many people, though not necessarily a specific customer. labels Apr 3, 2023
@loic-sharma
Copy link
Member

/cc @cbracken @robert-ancell @jpnurmi

robert-ancell added a commit to robert-ancell/engine that referenced this issue Apr 3, 2023
This stops a regression in code that uses the original method.

Once all new code uses fl_texture_get_id, we could re-enable the more
predictable incremental texture IDs.

Fixes flutter/flutter#124009
@robert-ancell
Copy link
Contributor

This might be due to 1cb1e820d64c03129c7300ba4f5a44ea0e43cb9a - the texture ID changed. So the code from media_kit_video/linux/video_output.cc is no longer valid.

i.e.

gint64 video_output_get_texture_id(VideoOutput* self) {
  // H/W
  if (self->texture_gl) {
    return (gint64)self->texture_gl;
  }
  // S/W
  if (self->texture_sw) {
    return (gint64)self->texture_sw;
  }
  g_assert_not_reached();
  return -1;
}

This should now be done with fl_texture_get_id.

I've made flutter/engine#40899 to revert to using the memory address as an ID so this should hopefully remove the regression. In the future when all code uses the new fl_texture_get_id we can change to using an incremental value for the IDs.

@huycozy huycozy added the r: fixed Issue is closed as already fixed in a newer version label Apr 4, 2023
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: desktop Running on desktop c: regression It was better in the past than it is now customer: crowd Affects or could affect many people, though not necessarily a specific customer. engine flutter/engine repository. See also e: labels. found in release: 3.9 Found to occur in 3.9 has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-linux Building on or for Linux specifically r: fixed Issue is closed as already fixed in a newer version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants