Runing chromium on Apalis TK1 reference multimedia image

Hello, I’ve got problem with launch browser on Apalis TK1 (on board Ixora V1.1A)

I have built tdk-reference-multimedia-image, as it is described in tutorial:
Build a Reference Image with Yocto Project/OpenEmbedded

I need to add browser to my image, which could serve Node.js in the future, so I have started from chromium.
I’ve added “IMAGE_INSTALL_append = < chromium-x11>” to conf/local.conf, cloned layers meta-browser and meta-clang (branch dunfell) to /layers directory and add them to conf/bblayers.conf

After this I built tdx- reference-multimedia-image again, with success. After boot into Tegra chromium packet is installed, but during run I’ve got this errors:

root@apalis-tk1-06737470:/# chromium --no-sandbox --disable-gpu --disable-software-rasterizer
[0126/122737.768869:FATAL:semaphore_posix.cc(99)] Check failed: . sem_timedwait: Invalid argument (22)
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1079:1111:0126/122738.005043:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[1079:1111:0126/122738.005137:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[1079:1079:0126/122738.045869:ERROR:cursor_loader.cc(114)] Failed to load a platform cursor of type kNull
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1079:1079:0126/122738.133692:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1109:1121:0126/122738.231575:ERROR:ssl_client_socket_impl.cc(983)] handshake failed; returned -1, SSL error code 1, net_error -167
*** stack smashing detected ***: terminated
[1109:1121:0126/122738.238040:ERROR:ssl_client_socket_impl.cc(983)] handshake failed; returned -1, SSL error code 1, net_error -167
[1079:1079:0126/122738.240240:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1079:1079:0126/122738.282339:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
[1079:1079:0126/122738.282941:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
Trace/breakpoint trap

I also tried to launch fancybrowser from QtWebKit/QtWebEngine packet, but couldn’t manage it.

I know that Apalis TK1 is not good choice at this moment, but in few days I’m gonna need to do the same things on IM8X.

Have you got any advice how to add chromium, or other working web browser into image? Or maybe using reference multimedia image is not good idea, and I should build my own Linux distribution on Tegra?

Hi @ml_man,

First of all, could you please confirm the module you will use in the future? Are you intending to use Apalis iMX8?

As you’re going to use a module that has at least one GPU on board. Maybe you would like to use a browser that uses hardware acceleration. For this you can refer to this.

We already did some testing with chromium and cog on iMX modules and it works.

Best Regards
Kevin

Thank you for reply Kevin,

yes, I’m going to use iMX8 in the future, I’ll try with this WPE WebKit after supply.