I try to integrate chromium-ozone-wayland with Toradex BSP 5.0.0 on a Colibri i.MX 6 ULL 512MB IT.
Configuration, build and deployment is going well but the launch of chromium if failing.
root@colibri-imx6ull-06998483:~# chromium --no-sandbox
[1129/151531.190601:FATAL:semaphore_posix.cc(99)] Check failed: . sem_timedwait: Invalid argument (22)
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1062:1129/151532.128455: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")
[1028:1062:1129/151532.129715: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")
[1028:1028:1129/151532.647718:ERROR:cursor_loader.cc(114)] Failed to load a platform cursor of type kNull
*** stack smashing detected ***: terminated
[1028:1028:1129/151533.170557:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1060:1065:1129/151533.904225:ERROR:ssl_client_socket_impl.cc(983)] handshake failed; returned -1, SSL error code 1, net_error -167
[1060:1065:1129/151533.931573:ERROR:ssl_client_socket_impl.cc(983)] handshake failed; returned -1, SSL error code 1, net_error -167
[1028:1028:1129/151534.418232:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1028:1129/151535.340585: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
[1028:1028:1129/151535.547653:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1028:1129/151535.732104:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1028:1129/151535.848003:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1028:1129/151535.942893:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1028:1129/151536.040585:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1028:1028:1129/151536.130569:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
[1028:1028:1129/151536.133392:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap
I tried some command line options (e.g. : --kiosk, -no-gpu) but nothing is working.
Hi @henrique.tx
I forked the multimedia image, delete the dev-tools and src-package to lower the size.
I added chromium for wayland (chromium-ozone-wayland) and some very small additionnal configuration and startup files.
I have an image that fit into the flash but use it on a SD card (dev purpouse).
I use this module because it is a really low power module and cheap. We do not need a performant web browser that display e.g. videos.
The browser is used only to display a set of “static” web page.
I’m not attached to chromium but it is IMO the most followed web browser.
I am having a somehow similar issue with an image I am building. My image is a slightly modified version of TorizonCore that includes x11 natively rather than virtualization. The chromium package i am including in the image is the x11 one. I just added a bbappend to use kiosk-mode, use-egl and proprietary-codecs with PACKAGECONFIG. Here is a sample of the console when I try to start chromium:
[1217/090248.724244:FATAL:semaphore_posix.cc(99)] Check failed: . sem_timedwait: Invalid argument (22)
[1482:1506:1217/090250.375375: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")
[1482:1506:1217/090250.377354: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")
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1506:1217/090250.749719: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")
[1482:1506:1217/090250.750012: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")
[1482:1506:1217/090251.208071: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")
[1482:1506:1217/090251.208457: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")
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.540144:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.683853:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
[1482:1547:1217/090251.707482:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1482:1547:1217/090251.708927:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
*** stack smashing detected ***: terminated
[1482:1547:1217/090251.711991:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.747252:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.785328:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.832194:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.865168:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.904212:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.935103:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[1482:1482:1217/090251.967622:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=6
[1482:1482:1217/090251.967822:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
*** stack smashing detected ***: terminated
I also tried using different packageconfig options but could not make it work.
Maybe this will help us find the cause.
After searching for a while I found something here and here. It seems to be related to the dunfell branch of poky/OE that both images have. A reply on github says that in hardknott this is no longer an issue.
I added webkit to my image. It works well but it is not as configurable as I need, so right now I am running a build to install firefox and a couple of tweaks I made to see if I can make chromium work.
I will let you know how this goes.
So after some time on an other project, I come back to send some feedback.
I tried a build with X11 instead of Wayland. this was not successful
I tried as well the solution suggested by @saijanani.tx not successful as well
I didn’t try this for the moment but it is interesting. I need to update all branches (I don’t know if it will be the best idea but will try as last solution)
Anyway, I have an other size problem and need to schrink a bit the distro to fill the NAND flash. I wtill do not understand why I could install a Yocto distribution that is larger than the maximum size. (I installed thru Toradex Easy Installer). But this should be a new topic if needed.
After a long time I dig the post out.
I use an other solution that worked for me. I use a X11 solution with surf webbrowser on top in kiosk mode.
I think this post could be tagged as resolved.