-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layers/meta-opentrons: address robot app g2d crashes (#135)
* layers/meta-opentrons: weston increases cma size This may help with occasional CMA OOMs (see https://opentrons.atlassian.net/browse/RQA-2353) * layers/meta-opentrons: restart app on failure Because otherwise it's ugly. Closes RQA-2353
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
layers/meta-opentrons/recipes-graphics/wayland/files/imx-nxp-bsp/increase-cma.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# increase the amount of contiguous memory area for buffer allocations | ||
[Service] | ||
ExecStartPre=/bin/echo '671088640' > /sys/module/galcore/parameters/contiguousSize |
8 changes: 6 additions & 2 deletions
8
layers/meta-opentrons/recipes-graphics/wayland/weston-init.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
SRC_URI += " file://manage-users.conf" | ||
SRC_URI += " file://manage-users.conf file://increase-cma.conf" | ||
|
||
do_install:append() { | ||
install -D -p -m0644 ${WORKDIR}/manage-users.conf ${D}${systemd_system_unitdir}/weston.service.d/manage-users.conf | ||
install -D -p -m0644 ${WORKDIR}/increase-cma.conf ${D}${systemd_system_unitdir}/weston.service.d/increase-cma.conf | ||
} | ||
|
||
FILES:${PN} += " ${systemd_system_unitdir}/weston.service.d ${systemd_system_unitdir}/weston.service.d/manage-users.conf" | ||
FILES:${PN} += " \ | ||
${systemd_system_unitdir}/weston.service.d ${systemd_system_unitdir}/weston.service.d/manage-users.conf \ | ||
${systemd_system_unitdir}/weston.service.d ${systemd_system_unitdir}/weston.service.d/increase-cma.conf \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters