Skip to content

Commit f2ff6cd

Browse files
authored
Update memory.md
1 parent 45e7e2c commit f2ff6cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

configuration/config-txt/memory.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
## Memory options in config.txt
1+
# Memory options in config.txt
22

3-
### gpu_mem
3+
## gpu_mem
44

55
GPU memory in megabytes. This sets the memory split between the CPU and GPU; the CPU gets the remaining memory. Minimum value is `16`; maximum value is `192`, `448`, or `944`, depending on whether you are using a 256M, 512MB, or 1024MB Pi. The default value is `64`.
66

77
Setting `gpu_mem` to low values may automatically disable certain firmware features, as there are some things the GPU cannot do if it has access to too little memory. So if a feature you are trying to use isn't working, try setting a larger GPU memory split.
88

99
Using `gpu_mem_256`, `gpu_mem_512`, and `gpu_mem_1024` allows you to swap the same SD card between 256MB, 512MB, and 1024MB Pis without having to edit `config.txt` each time:
1010

11-
### gpu_mem_256
11+
## gpu_mem_256
1212

1313
The `gpu_mem_256` command sets the GPU memory in megabytes for the 256MB Raspberry Pi (it is ignored if memory size is not 256MB). This overrides `gpu_mem`. The maximum value is `192` and the default is not set.
1414

15-
### gpu_mem_512
15+
## gpu_mem_512
1616

1717
The `gpu_mem_512` command sets the GPU memory in megabytes for the 512MB Raspberry Pi (it is ignored if memory size is not 512MB). This overrides `gpu_mem`. The maximum value is `448` and the default is not set.
1818

19-
### gpu_mem_1024
19+
## gpu_mem_1024
2020

2121
The `gpu_mem_1024` command sets the GPU memory in megabytes for the 1024MB Raspberry Pi 2 (it is ignored if memory size is not 1024MB). This overrides `gpu_mem`. The maximum value is `944` and the default is not set.
2222

23-
### disable_l2cache
23+
## disable_l2cache
2424

2525
Setting this to `1` disables the CPU's access to the GPU's L2 cache, and requires a corresponding L2 disabled kernel. Default value is `0`.
2626

0 commit comments

Comments
 (0)