System hangs when building QTWebEnginem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

System hangs when building QTWebEnginem

跳至解决方案
2,951 次查看
hankwang
Contributor V

Hey,

        We want to build 6.6.23 and include QT6.7. We have added qtwebenigne to the BSP and masked the meta-chromium recipe.

        When the system bitbake qtwebenigne, the system will hang. But my system has 32G RAM.

        Bitbake thread set 4.

        How to set up an environment for compiling qtwebengine?

 

标签 (1)
0 项奖励
回复
1 解答
2,875 次查看
hankwang
Contributor V

I solved this problem. SWAP can be modified from the default 2G to 8G.

在原帖中查看解决方案

9 回复数
2,876 次查看
hankwang
Contributor V

I solved this problem. SWAP can be modified from the default 2G to 8G.

2,876 次查看
hankwang
Contributor V

Regarding step 3: Added the following information, set thread 8.

BB_NUMBER_THREADS="8"

PARALLEL_MAKE = "-j 8"

0 项奖励
回复
2,925 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Are you using Ubuntu? How many cpu core in your system?

0 项奖励
回复
2,904 次查看
hankwang
Contributor V

I set threads to 8.But I still can't bitbake qtwebenigine.

bitbake's do_compile progress is still stay at 0%.

0 项奖励
回复
2,898 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Could you show me the steps so I can try it on my side?

Is there any error message? where is it stop?

0 项奖励
回复
2,870 次查看
hankwang
Contributor V

The step is very simple.

1. Download BSP 6.6.23 BSP from NXP.

2. DISTRO=fsl-imx-xwayland MACHINE=imx8mm-lpddr4-evk source imx-setup-release.sh -b
build-xwayland

3. Modify the local.conf (set thread to

4. Add IMAGE_INSTALL:append = " packagegroup-qt6-webengine" in local.conf

5. Mask #BBLAYERS += "${BSPDIR}/sources/meta-browser/meta-chromium" in bblayer.conf

6.bitbake imx-image-full

0 项奖励
回复
2,909 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Your host system is good enough to build the BSP.

In the conf/local.conf, please try to add below:

BB_NUMBER_THREADS="8"

PARALLEL_MAKE = "-j 8"

 

0 项奖励
回复
2,913 次查看
hankwang
Contributor V

Yes, I use Ubuntu 20.04. The Core has 16.

0 项奖励
回复
2,922 次查看
hankwang
Contributor V

I monitor memory usage. 32G memory becomes empty. Do you have any idea?  We can reduce the memory usage or how we need to increase the memory size.

hankwang_0-1726646171107.png

 

0 项奖励
回复