Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI5 with Qt5 Webengine Webview Failure #1364

Open
sefram opened this issue Sep 5, 2024 · 6 comments
Open

RPI5 with Qt5 Webengine Webview Failure #1364

sefram opened this issue Sep 5, 2024 · 6 comments

Comments

@sefram
Copy link

sefram commented Sep 5, 2024

Description
Hello,
We try using RPI5 with Yocto and Qt5 with QtWebengine, QtWebview.
Building the Yocto image is ok, same for the SDK.
But once we launch a Qt example like "https://doc.qt.io/qt-5/qtwebengine-webengine-recipebrowser-example.html", we always get an errors when displaying Web:
FATAL:page_allocator_internals_posix.h(169) Check failed: . : Invalid argument (22)
FATAL:page_allocator_internals_posix.h(169) Check failed: . : Invalid argument (22)
FATAL:page_allocator_internals_posix.h(169) Check failed: . : Invalid argument (22)

Steps to reproduce the issue:

  1. Build a X11 (Same behaviour with Wayland) image using Yocto with Qt and module webengine, webview.
  2. Install the SDK generated on a PC
  3. Try to compile and launch the example "Recipebrowser" (available in the example)
  4. It lead to the error above.

Additional details (revisions used, host distro, etc.):

  • Raspberry PI5
  • Yocto Scarthgap
  • Qt 5.15.8

Thanks in advance for your help.

@kraj
Copy link
Collaborator

kraj commented Sep 5, 2024

is there more information you can dig e.g. are there any crash reported or some sort of backtrace ?
we did have issue with rpi4 where it would assume hw crypto which was not part of ISA implemented on
the SOC and it would cause illegal instruction traps on qt6 but perhaps might happen on qt5 as well, depends on what version of chromium is used

https://codereview.qt-project.org/c/yocto/meta-qt6/+/511153

@sefram
Copy link
Author

sefram commented Sep 5, 2024

is there more information you can dig e.g. are there any crash reported or some sort of backtrace ? we did have issue with rpi4 where it would assume hw crypto which was not part of ISA implemented on the SOC and it would cause illegal instruction traps on qt6 but perhaps might happen on qt5 as well, depends on what version of chromium is used

https://codereview.qt-project.org/c/yocto/meta-qt6/+/511153

Hello,
This error occurs during execution of the example (not during the build).
How i can add trace to give you more details for the webengine plugin ?

@sefram
Copy link
Author

sefram commented Sep 10, 2024

Hello to all,

It's working on Ubuntu 24.04.1 from rpi imager...

@learmj
Copy link

learmj commented Sep 23, 2024

Hi. Qt5 seems incompatible with a 16kB page size.
recipes-kernel/linux/linux-raspberrypi.inc will currently generate a 16kB page size kernel by default because of
KBUILD_DEFCONFIG:raspberrypi5 ?= "bcm2712_defconfig"
The error does not occur with a 4kB page size kernel (ie kernel8.img in Raspberry Pi OS terms).

@learmj
Copy link

learmj commented Sep 23, 2024

ref: raspberrypi/bookworm-feedback#107

@sefram
Copy link
Author

sefram commented Oct 8, 2024

Thanks a lot matthew for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants