On 10/10/19 6:02 PM, Alexander Kanavin wrote:
On Thu, 10 Oct 2019 at 08:16, Changqing Li <[email protected]
<mailto:[email protected]>> wrote:
After switch from -vga vmware to -vga std (use qemux86-64), start
image by "runqemu nographic",
Memory used by process Xorg raised a lot, for my image, from
~%7 to ~%34 (check by ps aux --sort -rss)
also check memory by command "systemctl status xserver-nodm",
raised from ~60M to ~120M.
with the high raise of memory usage of Xorg, when run oe-test on
the target, OOM is happened like:
[ 1038.221438]*Out of memory*: Killed process 180 (Xorg)
total-vm:335368kB, anon-rss:68824kB, file-rss:0kB, shmem-rss:140kB
Also test with poky distro, and image core-image-sato, also
installed procps.
1. "ps aux --sort -rss": Xorg from ~3.6% to ~ 17.4%
2. "systemctl status xserver-nodm": from ~65M to ~131M
Any idea about how to resolve this problem? do we really need
unify all boards to -vga=std? Thanks.
The increased memory usage is due to glamor loading the full 3D stack,
mesa and friends. You can drop opengl from DISTRO_FEATURES, or
otherwise disable glamor in xorg recipe via PACKAGECONFIG.
Or you can bump the available RAM for your image like is already done
for core-image-sato.
Alex
Thanks!
Sandy
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core