From 813e9a29bbb59ce1bee2e6713d550885fe1f9c74 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 2 Feb 2023 13:41:30 +0100 Subject: [PATCH] RPi2: increase CMA size to 384MB The default of 256MB often leads to kodi crashes because mesa driver can't allocate memory for textures / images. Signed-off-by: Matthias Reichl --- projects/RPi/devices/RPi2/config/distroconfig.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 projects/RPi/devices/RPi2/config/distroconfig.txt diff --git a/projects/RPi/devices/RPi2/config/distroconfig.txt b/projects/RPi/devices/RPi2/config/distroconfig.txt new file mode 100644 index 0000000000..f1d1544d91 --- /dev/null +++ b/projects/RPi/devices/RPi2/config/distroconfig.txt @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv) + +# WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING! +display_auto_detect=1 +dtoverlay=vc4-kms-v3d,cma-384 +dtoverlay= +disable_overscan=1 +disable_fw_kms_setup=1