OSSystems / meta-browser

OpenEmbedded/Yocto BSP layer for Web Browsers
MIT License
184 stars 191 forks source link

Version 92.0.4515.107 - ozone/wayland fails to boot weston 8.0.0 #582

Open JeroenHid opened 2 years ago

JeroenHid commented 2 years ago

Hi,

I've build version 92.0.4515.107 and try to start Chromium on my platform (which is running iMX8M Mini, weston 8.0.0). During boot (chromium --no-sandbox) , the following error occurs:

[2851030.448] wl_display@1.error(wl_display@1, 1, "invalid arguments for zwp_linux_explicit_synchronization_v1@5.get_synchronization ")

clientlog.txt

CHROME_EXTRA_ARGS=" --use-gl=egl --ozone-platform=wayland --disable-features=VizDisplayCompositor --in-process-gpu"

The weston serverlog: [04:10:40.939] libwayland: unknown object (19), message get_synchronization(no) [04:10:40.940] libwayland: error in client communication (pid 2536) [04:10:40.953] libwayland: invalid object (6), type (wp_viewporter), message attach(?oii) [04:10:40.953] libwayland: error in client communication (pid 2536)

Object (19) is the 'wl_surface@19' parameter in the zwp_linux_explicit_synchronization_v1@14.get_synchronization-call. However, this object has been created just before that (client log): wl_compositor@4.create_surface(new id wl_surface@19)

So, I'm a bit confused what is going wrong here.

Eventually, after a few seconds, this error pops up: [2536:2591:0101/041040.953989:ERROR:wayland_event_watcher.cc(249)] Fatal Wayland communication error: Broken pipe And EGL: errno=22 (Invalid argument)

Also, nothing is shown on the display.

When I run Chromium with --disable-gpu-compositing, all works ok, except for the hardware acceleration which results in significant higher CPU-load.

Maybe anyone can help me with this? For example, is this version of Chromium wayland compatible woth weston 8.0.0 / wayland protocol 1.18 ?

Thanks!

msisov commented 2 years ago

https://chromium-review.googlesource.com/c/chromium/src/+/2964936 and https://chromium-review.googlesource.com/c/chromium/src/+/3160336 fixed the issue.

rakuco commented 2 years ago

@msisov the first commit landed in M93 but the second is M96 material. Does it need to be backported?

msisov commented 2 years ago

It'll be part of the next release.

rakuco commented 2 years ago

OK, then I guess it makes sense to keep this issue open until then?

Also, does it mean it's unrelated to the Wayland/Weston versions?

msisov commented 2 years ago

OK, then I guess it makes sense to keep this issue open until then?

Ok.

Also, does it mean it's unrelated to the Wayland/Weston versions?

It doesn't.

JeroenHid commented 2 years ago

https://chromium-review.googlesource.com/c/chromium/src/+/2964936 and https://chromium-review.googlesource.com/c/chromium/src/+/3160336 fixed the issue.

Thanks, I'll have a look there.

JeroenHid commented 2 years ago

Building M96 for test, see also #583