On PDK 5.02, I can get the Chromium (chromium-ozone-wayland, to be precise) running on Weston desktop. However, I need the browser running within the IVI shell:
root@sg3:/usr/share/qt5/examples# layer-add-surfaces -l 4000 -s 2 &
[8] 2129
layer-add-surfaces: layer (4000) on display () created, waiting for 2 surfaces ...
layerid=4000 is already used.
layer-add-surfaces: layer (4000) destination region: x:0 y:0 w:1920 h:1080
layer-add-surfaces: layer (4000) visibility TRUE
layer-add-surfaces: layer (2000) created
layer-add-surfaces: layer (4000) created
layer-add-surfaces: layer (1000) created
root@sg3:/usr/share/qt5/examples# chromium --start-fullscreen --kiosk --no-sandbox --no-first-run --incognito 10.111.221.40 --fast --fast-start --noerrdialogs --disable-infobars
[2131:2131:0108/113744.205998:ERROR:browser_process_platform_part_ozone.cc(20)] Not implemented reached in virtual void BrowserProcessPlatformPart::RegisterInProcessServices(content::ContentBrowserClient::StaticServiceMap*)
[2131:2161:0108/113744.323123:ERROR:wayland_connection.cc(70)] No xdg_shell object
[2131:2161:0108/113744.323171:FATAL:ozone_platform_wayland.cc(93)] Failed to initialize Wayland platform
The qtwebbrowser appears to be broken as well:
root@sg3:/usr/share/qt5/examples# export QT\_WAYLAND\_SHELL\_INTEGRATION=ivi-shell
root@sg3:/usr/share/qt5/examples# qtwebbrowser
Using Wayland-EGL
wlpvr: PVR Services Initialised
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
wlpvr: Creating Wayland Client surface 2 buffers for process pid=2173!
[2173:2191:0108/114353.932420:ERROR:surface_factory_qt.cpp(82)] eglGetProcAddress not found.
Using the 'ivi-shell' shell integration
layer-add-surfaces: surface (2173) created
layer-add-surfaces: surface (2173) created
layer-add-surfaces: surface (2173) created
layer-add-surfaces: surface (2173) created
layer-add-surfaces: surface (2173) created
layer-add-surfaces: surface (2173) created
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
wlpvr: Creating Wayland Client surface 2 buffers for process pid=2173!
Non-blocking swap buffers not supported. Subsurface rendering can be affected.
wlpvr: Creating Wayland Client surface 2 buffers for process pid=2173!
wlpvr: Creating Wayland Client surface 2 buffers for process pid=2173!
layer-add-surfaces: surface (2173) configured with:
dst region: x:0 y:0 w:506 h:533
src region: x:0 y:0 w:506 h:533
visibility: TRUE
added to layer (4000)
layer-add-surfaces: surface (2173) configured with:
dst region: x:0 y:0 w:506 h:533
src region: x:0 y:0 w:506 h:533
visibility: TRUE
added to layer (4000)
layer-add-surfaces: surface (2173) configured with:
dst region: x:0 y:0 w:506 h:533
src region: x:0 y:0 w:506 h:533
visibility: TRUE
added to layer (4000)
layer-add-surfaces: surface (2173) configured with:
dst region: x:0 y:0 w:506 h:533
src region: x:0 y:0 w:506 h:533
visibility: TRUE
added to layer (4000)
layer-add-surfaces: surface (2173) configured with:
dst region: x:0 y:0 w:506 h:533
layer-add-surfaces: surface (2173) configured with:
dst region: x:0 y:0 w:506 h:533
src region: x:0 y:0 w:506 h:533
visibility: TRUE
added to layer (4000)
src region: x:0 y:0 w:506 h:533
visibility: TRUE
added to layer (4000)
qrc:///qml/HomeScreen.qml:260:17: QML Image: Host www.openstreetmap.org not found
qrc:///qml/HomeScreen.qml:260:17: QML Image: Host www.topgear.com not found
qrc:///qml/HomeScreen.qml:260:17: QML Image: Host www.redditstatic.com not found
qrc:///qml/HomeScreen.qml:260:17: QML Image: Host duckduckgo.com not found
qrc:///qml/HomeScreen.qml:260:17: QML Image: Host www.blogsmithmedia.com not found
[2173:2191:0108/114358.180665:ERROR:gl_surface_qt.cpp(667)] Requested OpenGL implementation is not supported. Implementation: 0
*** stack smashing detected ***: <unknown> terminated
[4] Done layer-add-surfaces -l 4000 -s 2 (wd: ~)
(wd now: /usr/share/qt5/examples)
[5] Done layer-add-surfaces -l 4000 -s 2 (wd: ~)
(wd now: /usr/share/qt5/examples)
[6] Done layer-add-surfaces -l 4000 -s 2 (wd: ~)
(wd now: /usr/share/qt5/examples)
[7] Done layer-add-surfaces -l 4000 -s 2 (wd: ~)
(wd now: /usr/share/qt5/examples)
Aborted (core dumped)
layer-add-surfaces: surface (2173) destroyed
layer-add-surfaces: surface (2173) destroyed
Any hints or pointers will be appreciated!