Commit 936c6f2
fix(image): drop the gpu_mem settings from config.txt
Nothing in FPP has drawn on the firmware GPU memory split for years. The
comment justifying these still referenced omxplayer, which is long gone --
that comment was the last mention of it in the tree. Video now goes through
GStreamer, and the display, DPI and virtual-matrix buffers all come from the
vc4-KMS CMA pool, which the installer already sizes to 256MB on the overlay
line just above. There is no MMAL/OpenMAX path left to feed.
What the settings were actually doing:
pi5 256 no effect at all -- the firmware does not implement a GPU
memory split on this SoC, and vcgencmd reports the key as
unknown on a running board
pi4 256 ~180MB carved out of usable RAM, 3.4x the documented maximum
of 76 for this model, where the 3D block has its own MMU and
allocates from Linux instead
pi3 128 ~52MB above the 76 default
pi02 128 64MB above the default, on a board with only 512MB total
pi2 64 actually BELOW the 76 default for a 1GB board
pi1 64 equals the default -- no-op
pi0 64 equals the default -- no-op
So the entries were a mix of no-ops and waste, with the worst on the two
most memory-constrained cases. Removing them restores the firmware defaults
(64 below 1GB, 76 at 1GB and up) rather than substituting fresh guesses. The
model blocks that held nothing else go with them; the ones that carried real
settings keep them.
Verified on a Pi 5: with the entries gone the board boots clean, CMA is
unchanged at 256MB, and the web UI and daemon come up normally.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 39cd25c commit 936c6f2
1 file changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
1157 | 1165 | | |
1158 | | - | |
1159 | 1166 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | 1167 | | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
| 1168 | + | |
| 1169 | + | |
1170 | 1170 | | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | 1171 | | |
1176 | 1172 | | |
1177 | 1173 | | |
| |||
0 commit comments