Hello, we are using BSP 6.6.23_2.0.0 and 6.6.36_2.1.0 and browsers of qtwebengine on the https://jsfiddle.net/92Wc8/3/ and https://www.filestash.app/ websites. The display is abnormal.
Attached is our test file. You can see the code move to the middle of the screen.
And test board is 8MP EVK board.
We also tried boot2qt on the 8MP EVK board. But we don't see this problem. We think that the NXP patch may have an impact on the screen display.
Hello hankwang
As u have mentioned that u have tried boot2qt in i.MX8MP.
So, Can u suggest me the proper steps to test boot2QT in i.MX8MP
Regards
Ashritha
Hey, you can refer to this website.
https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html
Dear @hankwang
I am following the steps provided in the website, but i am facing issue while giving bitbake command.
Below provided is the error i am getting while giving bitbake command
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt$ mkdir yocto-boot2qt
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt$ cd yocto-boot2qt/
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$ repo init -u https://code.qt.io/yocto/boot2qt-manifest -m v6.9.1.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Your identity is: ashritha.shrinivasa <ashritha.shrinivasa@iwave-global.com>
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/iwave/PROJECTS/Boot2qt/yocto-boot2qt
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$ repo sync
Fetching: 100% (13/13), done in 1m35.354s
Checking out: 100% (13/13), done in 0.352s
repo sync has finished successfully.
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$ sync
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt$ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source setup-environment.sh -b build-imx8mp-boot2qt
You had no conf/local.conf file. This configuration file has therefore been
created for you from /home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/meta-boot2qt/meta-boot2qt-distro/conf/templates/default/local.conf.sample
You may wish to edit it to, for example, select a different MACHINE (target
hardware).
The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
https://docs.yoctoproject.org
For more information about OpenEmbedded see the website:
https://www.openembedded.org/
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
b2qt-embedded-qt6-image
meta-toolchain-b2qt-embedded-qt6-sdk
QBSP target is:
meta-b2qt-embedded-qbsp
For creating toolchain or QBSP for Windows, set environment variable before running bitbake:
SDKMACHINE=x86_64-mingw32
For more information about Boot to Qt, see https://doc.qt.io/QtForDeviceCreation/
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt/build-imx8mp-boot2qt$ sync
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt/build-imx8mp-boot2qt$ sync
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt/build-imx8mp-boot2qt$
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt/build-imx8mp-boot2qt$ export LANG=en_US.UTF-8
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt/build-imx8mp-boot2qt$ bitbake meta-b2qt-embedded-qbsp
Timeout while waiting for a reply from the bitbake server (60s at 16:30:24.287064)
iwave@iwave-Precision-3460:~/PROJECTS/Boot2qt/yocto-boot2qt/build-imx8mp-boot2qt$ bitbake meta-b2qt-embedded-qbsp
NOTE: Reconnecting to bitbake server...
NOTE: No reply from server in 30s (for command setFeatures at 16:31:08.195188)
NOTE: Retrying server connection (#1)... (16:31:38.225840)
NOTE: Reconnecting to bitbake server...
NOTE: No reply from server in 30s (for command setFeatures at 16:32:08.232493)
NOTE: Retrying server connection (#2)... (16:32:38.263132)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#3)... (Traceback (most recent call last):
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/main.py", line 489, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/server/process.py", line 708, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 16:32:38.264973)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#4)... (Traceback (most recent call last):
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/main.py", line 489, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/server/process.py", line 708, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 16:32:38.265693)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#5)... (Traceback (most recent call last):
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/main.py", line 489, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/server/process.py", line 708, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 16:32:43.271993)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#6)... (Traceback (most recent call last):
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/main.py", line 489, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/server/process.py", line 708, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 16:32:48.278565)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#7)... (Traceback (most recent call last):
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/main.py", line 489, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/server/process.py", line 708, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 16:32:53.285111)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#8)... (Traceback (most recent call last):
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/main.py", line 489, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/iwave/PROJECTS/Boot2qt/yocto-boot2qt/sources/poky/bitbake/lib/bb/server/process.py", line 708, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 16:32:58.289778)
ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).
Could u give solution for the same?
Regards,
Ashritha
Hey @Zhiming_Liu Thank you for the information.
We also have the same problem using the boot2qt image on the 8MP EVK board on our side.
We use the boot2qt of Raspberry Pi 4 on the Raspberry Pi board. There is no such problem.
The QT used is 6.7.3 on Raspberry Pi board and 8MP EVK board.
boot2qt : https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html
command for Raspberry Pi.
export MACHINE=raspberrypi-armv8 source ./setup-environment.sh
bitbake b2qt-embedded-qt6-image
We thought that the same QT 6.7.3 has different results on different boards.
We would think it is an issue with NXP BSP.
what you think?
Hi
We are waiting for reply from internal team
Best Regards
Zhiming
Thanks for the update. We would be grateful if we could get the results as soon as possible.
Hi
Please try to set 'export QT_QUICK_BACKEND=software' before launching app.
Or Call QQuickWindow::setSceneGraphBackend() in code
Reference: https://doc.qt.io/qt-6/qtquick-visualcanvas-adaptations.html
Best Regards
Zhiming
Hey, @Zhiming_Liu this solution can work. But after the Qt performance is changed from hardware to software, the system performance becomes worse.
Is there a solution that can solve this problem and keep the hardware solution instead of software.
Hi
Find the root cause and solve it based on hardware render may take serval months, at least one month, they wait for patched GPU library release may take half month. If you can wait, then I can then have the internal team continue the process.
Best Regards
Zhiming
@Zhiming_LiuSo far, we can wait. Please help me look into this issue. Thanks.
Hello,
Update: The search for a solution is still ongoing.
Best Regards,
Zhiming
Thanks for the update.
Hey, we tested the site. General computers also have the same information.
@Zhiming_Liu Thank you for providing this information.
On our side we tested boot2qt of i.mx8mp on 8mp evk board. QT6.7.3 also has the same problem.
But for the Raspberry Pi 4, we tested boot2qt for the Raspberry Pi board. QT 6.7.3 does not have this problem.
boot2qt: https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html
command :
export MACHINE=raspberrypi-armv8 source ./setup-environment.sh
bitbake b2qt-embedded-qt6-image
So we think the same QT 6.7.3 has different results on different evk boards. We believe this is an issue with the NXP EVK BSP.
What do you think?
So we think the same QT 6.7.3 has different results on different evk boards. We believe this is an issue with the NXP EVK BSP.
What do you think?
Hey @Zhiming_Liu Can you replicate this problem?
Hi
I don't think this is an issue from NXP, there are some issue when access https://jsfiddle.net/92Wc8/3/, but i think this is an issue from website or brower while we can see below log.
js: Unrecognized feature: 'notifications'.
js: Unrecognized feature: 'payment-handler'.
js: Unrecognized feature: 'persistent-storage'.
js: Unrecognized feature: 'background-sync'.
js: Unrecognized feature: 'ambient-light-sensor'.
js: Unrecognized feature: 'accessibility-events'.
js: Unrecognized feature: 'speaker-selection'.
js: Uncaught (in promise) Error: No ads to show.
Sometime the display can be normal.
For another website, there is an error about X-Frame-Options.
js: Unrecognized feature: 'speaker'.
js: Refused to display 'https://demo.filestash.app/' in a frame because it set 'X-Frame-Options' to 'deny'.
js: crbug/1173575, non-JS module files deprecated.
The issue could from quicknanobrowser/webengine as it's a demo brower. I also test other websites, no such issue.
Best Regards
Zhiming
Hi
It's in the process of compiling images, I'll keep updating it when I'm done test.
Best Regards
Zhiming
Hi
Can you provide test steps?
Best Regards
Zhiming
1. Build 8MP BSP EVK image and qtwebengine.(mask meta-browser)
2. Burn the image to sdcard or emmc
3. Use emmc or sdard to boot to the file system
4. Open your browser (quick nano browser) and link to the website I mentioned.
5. For filetash websites, you can move folders by scrolling with the mouse. You can see exception screen..
1. Build 8MP BSP EVK image and qtwebengine.
2. Burn the image to sdcard or emmc
3. Use emmc or sdard to boot to the file system
4. Open your browser (quick nano browser) and link to the website I mentioned.
5. For filetash websites, you can move folders by scrolling with the mouse. You can see exception screen..