mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
RPi4: add config.txt with default 320MB gpu mem
Several 4k HEVC files were reported to play with artifacts unless gpu mem is bumped to at least 288MB. Use 320MB for now to have a bit more headroom, just in case. Unfortunately this can't be changed via distroconfig.txt so we have to do it in config.txt. Also drop the disable_overscan block as that's enabled by default via distroconfig.txt. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
06a4a58835
commit
c010cd4852
38
projects/RPi/devices/RPi4/config/config.txt
Normal file
38
projects/RPi/devices/RPi4/config/config.txt
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||||
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
################################################################################
|
||||||
|
# Bootloader configuration - config.txt
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Memory (System/GPU configuration )
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Default GPU memory split - at least 288M is needed for some 4k HEVC files
|
||||||
|
gpu_mem=320
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# For overclocking and various other settings, see:
|
||||||
|
# https://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||||
|
################################################################################
|
||||||
|
# Set 'force_turbo=1' to disable dynamic overclocking and enable overclocking always.
|
||||||
|
force_turbo=0
|
||||||
|
|
||||||
|
# Force HDMI even if unplugged or powered off
|
||||||
|
# hdmi_force_hotplug=1
|
||||||
|
|
||||||
|
# Doesn't sent initial active source message.
|
||||||
|
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
|
||||||
|
# rebooting.
|
||||||
|
hdmi_ignore_cec_init=1
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# End of default configuration
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Include distribution specific config file if it exists.
|
||||||
|
################################################################################
|
||||||
|
[all]
|
||||||
|
include distroconfig.txt
|
Loading…
x
Reference in New Issue
Block a user