System hangs when building QTWebEnginem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

System hangs when building QTWebEnginem

Jump to solution
2,659 Views
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?

 

Labels (1)
0 Kudos
Reply
1 Solution
2,583 Views
hankwang
Contributor V

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

View solution in original post

9 Replies
2,584 Views
hankwang
Contributor V

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

2,584 Views
hankwang
Contributor V

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

BB_NUMBER_THREADS="8"

PARALLEL_MAKE = "-j 8"

0 Kudos
Reply
2,633 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
2,612 Views
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 Kudos
Reply
2,606 Views
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 Kudos
Reply
2,578 Views
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 Kudos
Reply
2,617 Views
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 Kudos
Reply
2,621 Views
hankwang
Contributor V

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

0 Kudos
Reply
2,630 Views
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 Kudos
Reply