Running Storyboard engine on an imx8 with OpenGL support

Hi,

we are currently runnin gthe engine without OpenGL support on the framebuffer of an IMX6ULL.

Now, we try to switch to the IMX8-Nano. I have found two engines for the IMX8, one based on wayland and the oder I don't know.

I'm using a custom yocto build with X11 and xwayland enabled.

But I can't get the application to show anything on the screen....

I started the X server and than started the wayland based engine -> no image on the screen

When I try to start the engine without "wayland" in the directory name, than I get an error message that no rendered can be found.

Any tip would be highly appropriated.

Thanks,
Martin

1

Comments

4 comments
  • Hi Martin,

    It may be that there is a missing symbolic link in the filesystem so the Crank library cannot find the Wayland library.

    The suggestion is to try adding a symlink as follows:

    ln -s /usr/lib/libwayland-egl.so.1.0.0 /usr/lib/libwayland-egl.so

    In some instances, this addition to the launcher script for imx8 might be needed on their platform.

    export LD_PRELOAD=/usr/lib/libwayland-egl.so.1.0.0

    Let us know if this helps.

    Thanks,

    -Jamie

    1
  • Hi Martin,

    It might be that no wayland compositor was running when you tried to run the wayland-based engine. See if you can get weston running. Then try again with the wayland-based engine.

    Eric

    0
  • Thanks, this was an interessting hint.

    I rebuilded the whole image and checked my setting for yocto.

    Now,when I reboot I see something on the screen (kind of status bar, need to check where this comes from).

    But, the SBE still does not work. Running it with -vvvv I see the following error message:
    WARN [0.116]:Unable to load plugin: /home/root/sbe/plugins/librender-plugin-opengles_2.0.so Error: /home/root/sbe/plugins/librender-plugin-opengles_2.0.so: undefined symbol: wl_egl_window_create

    I think that is the reason why it does not find any rendered.
    Do you have any idea what's missing in my build?

    Thanks.
    Martin

    0
  • Hi Jamie,

    these 2 tips did the trick.

    Thanks a lot. You guys saved my weekend ;-)

    Martin

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post