Skip to content

Sony embedder moved to new org#758

Open
FredeHoey wants to merge 2 commits into
meta-flutter:masterfrom
FredeHoey:flutter-elinux-new-org
Open

Sony embedder moved to new org#758
FredeHoey wants to merge 2 commits into
meta-flutter:masterfrom
FredeHoey:flutter-elinux-new-org

Conversation

@FredeHoey

Copy link
Copy Markdown
Contributor

#740 seems stale and #741 is closed, so I'm opening this new PR to update the location of the sony embedder including warnings about deprecation of the sony recipes.

The FLUTTER_ELINUX_USE_SONY variable controls wheter or not the build uses sony's or flutter elinux's recipes.

  • When FLUTTER_ELINUX_USE_SONY == 1, show
WARNING: sony flutter-embedded-linux recipes are deprecated. Use recipes-graphics/flutter-elinux/ instead. FLUTTER_ELINUX_USE_SONY=1 currently set - remove to silence this warning.
  • When FLUTTER_ELINUX_USE_SONY is unset, use sony recipes and show
WARNING: FLUTTER_ELINUX_USE_SONY is unset. Defaulting to flutter-elinux recipes. Set FLUTTER_ELINUX_USE_SONY = "0" to silence this warning, or FLUTTER_ELINUX_USE_SONY = "1" to use the deprecated sony recipes.
  • When FLUTTER_ELINUX_USE_SONY == 0, Do nothing, use flutter-elinux recipes

@jwinarske

Copy link
Copy Markdown
Contributor

@FredeHoey looks good. How did you test this?

@lhoward

lhoward commented May 30, 2026

Copy link
Copy Markdown

Just checking the DRM EGLStream backend needs the Wayland dependency? (I've not used it so it might, just seems odd on first inspection.)

@jwinarske

Copy link
Copy Markdown
Contributor

@lhoward no idea. I know it’s not needed with the new IVI-homescreen drm/kms-EGL backend.

@FredeHoey

Copy link
Copy Markdown
Contributor Author

@FredeHoey looks good. How did you test this?

I built all the recipes provided by both repositories with

FLUTTER_ELINUX_USE_SONY = "1"

FLUTTER_ELINUX_USE_SONY = "0"

And with it unset, and it passed. I only use the drm gbm backend, so I haven't tested all programs at runtime, but if they worked from Sonys tree, I don't see what would have broken them in the fork.

Just checking the DRM EGLStream backend needs the Wayland dependency? (I've not used it so it might, just seems odd on first inspection.)

I'll double-check when I'm back at my desk :)

@FredeHoey FredeHoey force-pushed the flutter-elinux-new-org branch from 5812b19 to c6f8f7d Compare May 31, 2026 08:03
@FredeHoey

Copy link
Copy Markdown
Contributor Author

Just checking the DRM EGLStream backend needs the Wayland dependency? (I've not used it so it might, just seems odd on first inspection.)

I'll double-check when I'm back at my desk :)

It appears that it doesn't. I've also updated SRCREV to latest master.

@jwinarske, I just want to note that a lot of the sony recipes don't compile under GCC 15 which is the default gcc compiler for wrynose, so if the flag is not set, the warning will possibly drown in compiler output.

@FredeHoey FredeHoey closed this May 31, 2026
@FredeHoey FredeHoey reopened this May 31, 2026
@FredeHoey FredeHoey force-pushed the flutter-elinux-new-org branch 2 times, most recently from 449dda1 to c4a99ee Compare June 2, 2026 07:32
@jwinarske

Copy link
Copy Markdown
Contributor

@FredeHoey if the don’t build in wrynose, they won’t build in master. Any recipe that doesn’t build will be removed. I started roll to 3.44.2 yesterday. I’ll take a look at the Sony recipes next week. Also want to compare them to the new high performance backends in IVI-homescreen. If they are dismal in comparison, likely I will drop them.

@FredeHoey

FredeHoey commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

@jwinarske I can kick off a build of all the original Sony recipes to see which ones don't build on master/wrynose and remove them if you want?

EDIT: build came back almost all red, only the video-player-plugin from the sony recipes builds

  • flutter-drm-eglstream-backend
  • flutter-drm-gbm-backend
  • flutter-external-texture-plugin
  • flutter-video-player-plugin
  • flutter-wayland-client
  • flutter-wayland-so
  • flutter-x11-client

All recipes from flutter-elinux compile green

@FredeHoey

Copy link
Copy Markdown
Contributor Author

@jwinarske I just opened another merge request based off of this one, that removes the sony recipes. We can merge this one or both. Whatever you prefer :)

@FredeHoey

Copy link
Copy Markdown
Contributor Author

@jwinarske Do you have any further comments for this before it can be merged? 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants