System hangs when building QTWebEnginem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

System hangs when building QTWebEnginem

ソリューションへジャンプ
2,974件の閲覧回数
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,898件の閲覧回数
hankwang
Contributor V

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

元の投稿で解決策を見る

9 返答(返信)
2,899件の閲覧回数
hankwang
Contributor V

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

2,899件の閲覧回数
hankwang
Contributor V

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

BB_NUMBER_THREADS="8"

PARALLEL_MAKE = "-j 8"

0 件の賞賛
返信
2,948件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
2,927件の閲覧回数
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,921件の閲覧回数
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,893件の閲覧回数
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,932件の閲覧回数
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,936件の閲覧回数
hankwang
Contributor V

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

0 件の賞賛
返信
2,945件の閲覧回数
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 件の賞賛
返信