YoeDistro / yoe-distro

Embedded Linux distribution optimized for product development (based on OE/Yocto)
MIT License
198 stars 46 forks source link

kiosk browser is not running correctly on rPI4/Weston #940

Open cbrake opened 6 months ago

cbrake commented 6 months ago

The app starts, and I see the QML loading screen, but the webengine screen never loads.

Trying various other combinations of platforms ...

log:

YOE_KIOSK_BROWSER_URL= "https://yoedistro.org"
YOE_KIOSK_BROWSER_EXCEPTION_URL= ""
YOE_KIOSK_BROWSER_ROTATE= "0"
YOE_KIOSK_BROWSER_KEYBOARD_SCALE= "1"
YOE_KIOSK_BROWSER_RETRY_INTERVAL= "5"
qt.qpa.wayland: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULE=qtvirtualkeyboard at compositor-side.
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/libexec/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/libexec/qtwebengine_dictionaries'
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
cbrake commented 6 months ago

seeing same thing on rPI EGLFS -- trying imx8 nano ...

kraj commented 6 months ago

seeing same thing on rPI EGLFS -- trying imx8 nano ...

I can see something similar, where a white window appears but nothing gets creared in it. I wonder if you see same issue on imx based system as well, this could mean its a common problem.

cbrake commented 6 months ago

kiosk-browser works fine on mx8m-nano, so appears to be a Qt webengine/rPI issue

kraj commented 6 months ago

kiosk-browser works fine on mx8m-nano, so appears to be a Qt webengine/rPI issue

RPI uses upstream mesa for graphics and its likely that its broken there somehow or its specific to webengine/chromium that does not work for ISA used in rpi ( maybe miscompiled ), I will try to look a bit more.

cbrake commented 5 months ago

kiosk-browser works fine on rpi + elgfs v24.3.0. Uploaded to:

https://files.bec-systems.com/yoe/testing/

This was before my changes to implement the loading screen, etc. Would be interesting to try kiosk browser binary from v24.4.0 just to further isolate things, or the other way.

cbrake commented 5 months ago

v24.5.0 from the Github Yoe release works :-)

image