From 8187c2e039c172ea49553d6c8baa5ed73a62fd53 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Sun, 5 Jul 2020 12:17:49 +0100 Subject: [PATCH 01/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index af52870eb9..35b3fa3127 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -2,7 +2,7 @@ ## gpu_mem -GPU memory in megabytes, sets the memory split between the CPU and GPU; the CPU gets the remaining memory. The minimum value is `16`; the technical maximum value is `192`, `448`, or `944`, depending on whether you are using a 256MB, 512MB, or 1024MB Pi. The default value is `64`, values above `512` will not provide increased performance and should not be used. For the Raspberry Pi 4, which is available in 1GB, 2GB and 4GB versions, the minimum and maximum values are the same as for a 1GB device. +Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU. The remaining memory is allocated to the ARM CPU. The minimum value is `16`; the technical maximum value is `192`, `448`, or `944`, depending on whether you are using a 256MB, 512MB, or 1024MB Pi. The default value is `64`, values above `512` will not provide increased performance and should not be used. For the Raspberry Pi 4B, which is available with different memory capacities, the minimum and maximum values are the same as for a 1GB device. `gpu_mem` refers to memory that is addressable from the GPU, which includes the VPU, HVS, legacy codecs (e.g. H264), and camera, and on devices before the Raspberry Pi 4, the 3D system. The Raspberry Pi 4 3D system has it's own Memory Mangement Unit (MMU) so textures and other GL resources are not allocated from the `gpu_mem` but Linux system memory instead. This means that `gpu_mem` can be set to a lower value, so even if you are using the H264 and camera then 128MB will probably be enough. On earlier models without the 3D MMU, you may need up to 256 or 512 in some more unusual cases. From 66b059ecce0b97e07f136329b8f569f9272a79c7 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Sun, 5 Jul 2020 12:20:38 +0100 Subject: [PATCH 02/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 35b3fa3127..7bd5c23262 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -2,7 +2,7 @@ ## gpu_mem -Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU. The remaining memory is allocated to the ARM CPU. The minimum value is `16`; the technical maximum value is `192`, `448`, or `944`, depending on whether you are using a 256MB, 512MB, or 1024MB Pi. The default value is `64`, values above `512` will not provide increased performance and should not be used. For the Raspberry Pi 4B, which is available with different memory capacities, the minimum and maximum values are the same as for a 1GB device. +Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU. The remaining memory is allocated to the ARM CPU. The minimum value is `16`; the technical maximum value is `192`, `448`, or `944`, depending on whether you are using a 256MB, 512MB, or 1024MB Pi. The default value is `64`, values above `512` will not provide increased performance and should not be used. For the Raspberry Pi 4, which is available with different memory capacities, the minimum and maximum values are the same as for a 1GB device. `gpu_mem` refers to memory that is addressable from the GPU, which includes the VPU, HVS, legacy codecs (e.g. H264), and camera, and on devices before the Raspberry Pi 4, the 3D system. The Raspberry Pi 4 3D system has it's own Memory Mangement Unit (MMU) so textures and other GL resources are not allocated from the `gpu_mem` but Linux system memory instead. This means that `gpu_mem` can be set to a lower value, so even if you are using the H264 and camera then 128MB will probably be enough. On earlier models without the 3D MMU, you may need up to 256 or 512 in some more unusual cases. From 52ccfa39071fd3afa86d8b6cfef66975ab2f2bed Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Sun, 5 Jul 2020 22:00:42 +0100 Subject: [PATCH 03/14] Lose the technical maximums - they're not relevant Give recommended maximums instead - that's what 99% of users actually need from the documentation. --- configuration/config-txt/memory.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 7bd5c23262..28b9d9e32f 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -2,15 +2,19 @@ ## gpu_mem -Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU. The remaining memory is allocated to the ARM CPU. The minimum value is `16`; the technical maximum value is `192`, `448`, or `944`, depending on whether you are using a 256MB, 512MB, or 1024MB Pi. The default value is `64`, values above `512` will not provide increased performance and should not be used. For the Raspberry Pi 4, which is available with different memory capacities, the minimum and maximum values are the same as for a 1GB device. +Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. The recommended maximum values are as follows: -`gpu_mem` refers to memory that is addressable from the GPU, which includes the VPU, HVS, legacy codecs (e.g. H264), and camera, and on devices before the Raspberry Pi 4, the 3D system. The Raspberry Pi 4 3D system has it's own Memory Mangement Unit (MMU) so textures and other GL resources are not allocated from the `gpu_mem` but Linux system memory instead. This means that `gpu_mem` can be set to a lower value, so even if you are using the H264 and camera then 128MB will probably be enough. On earlier models without the 3D MMU, you may need up to 256 or 512 in some more unusual cases. +| total RAM | `gpu_mem` recommended maximum | +--------------------------------------------- +| 256MB | `128` | +| 512MB | `384` | +| 1GB or greater | `512` | -For performance reasons, you should set `gpu_mem` as low as possible to give the Linux system as much memory as possible. However, setting `gpu_mem` to too 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. +The minimum value of `gpu_mem` is `16`, however this disables certain GPU features. You should set `gpu_mem` to the lowest possible value for best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. It is possible to set `gpu_mem` to larger values, however this can cause problems for the operating system so should generally be avoided. -Values of `gpu_mem` over 512 are not recommended, will provide no performance improvements, and are untested. +On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically by the operating system. -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: +You can also use `gpu_mem_256`, `gpu_mem_512`, and `gpu_mem_1024` to allow swapping the same SD card between Pis with different amounts of RAM without having to edit `config.txt` each time: ## gpu_mem_256 From 74464ceae9375d72e87faf8decb7eefd4de57f38 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Sun, 5 Jul 2020 22:02:07 +0100 Subject: [PATCH 04/14] fix table --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 28b9d9e32f..043e5cbc14 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -5,7 +5,7 @@ Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. The recommended maximum values are as follows: | total RAM | `gpu_mem` recommended maximum | ---------------------------------------------- +|-----------|-------------------------------| | 256MB | `128` | | 512MB | `384` | | 1GB or greater | `512` | From d3a0de9550a86fdb9331166376c8769c5acf5fae Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Sun, 5 Jul 2020 22:02:56 +0100 Subject: [PATCH 05/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 043e5cbc14..1f4b290bfb 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -10,7 +10,7 @@ Specifies how much memory, in megabytes, to reserve for the exclusive use of the | 512MB | `384` | | 1GB or greater | `512` | -The minimum value of `gpu_mem` is `16`, however this disables certain GPU features. You should set `gpu_mem` to the lowest possible value for best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. It is possible to set `gpu_mem` to larger values, however this can cause problems for the operating system so should generally be avoided. +The minimum value is `16`, however this disables certain GPU features. You should set `gpu_mem` to the lowest possible value for best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. It is possible to set `gpu_mem` to larger values, however this can cause problems for the operating system so should generally be avoided. On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically by the operating system. From b937325845d05740589a15942b2829948264b7c8 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Sun, 5 Jul 2020 22:05:05 +0100 Subject: [PATCH 06/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 1f4b290bfb..d7d27eff95 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -10,7 +10,7 @@ Specifies how much memory, in megabytes, to reserve for the exclusive use of the | 512MB | `384` | | 1GB or greater | `512` | -The minimum value is `16`, however this disables certain GPU features. You should set `gpu_mem` to the lowest possible value for best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. It is possible to set `gpu_mem` to larger values, however this can cause problems for the operating system so should generally be avoided. +The minimum value is `16`, however this disables certain GPU features. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. It is possible to set `gpu_mem` to larger values, however this can cause problems for the operating system so should generally be avoided. On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically by the operating system. From 76d0959681cc988e45c7373e5b47b3f1c8dd7c2f Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:28:50 +0100 Subject: [PATCH 07/14] Update memory.md --- configuration/config-txt/memory.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index d7d27eff95..0add001a3d 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -2,7 +2,9 @@ ## gpu_mem -Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. The recommended maximum values are as follows: +Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. + +The recommended maximum values are as follows: | total RAM | `gpu_mem` recommended maximum | |-----------|-------------------------------| @@ -10,27 +12,26 @@ Specifies how much memory, in megabytes, to reserve for the exclusive use of the | 512MB | `384` | | 1GB or greater | `512` | -The minimum value is `16`, however this disables certain GPU features. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. It is possible to set `gpu_mem` to larger values, however this can cause problems for the operating system so should generally be avoided. + It is possible to set `gpu_mem` to larger values, however can cause problems, such as preventing Linux from booting, so should be avoided. There is no performance advantage to specifying values larger than is necessary. The minimum value is `16`, however this disables certain GPU features. -On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically by the operating system. +On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically within Linux. You can also use `gpu_mem_256`, `gpu_mem_512`, and `gpu_mem_1024` to allow swapping the same SD card between Pis with different amounts of RAM without having to edit `config.txt` each time: ## gpu_mem_256 -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. +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`. ## gpu_mem_512 -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. +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`. ## gpu_mem_1024 -The `gpu_mem_1024` command sets the GPU memory in megabytes for Raspberry Pi devices with 1024MB or more of memory. (It is ignored if memory size is smaller than 1024MB). This overrides `gpu_mem`. The maximum value is `944`, and the default is not set. +The `gpu_mem_1024` command sets the GPU memory in megabytes for Raspberry Pi devices with 1GB or more of memory. (It is ignored if memory size is smaller than 1GB). ## disable_l2cache -Setting this to `1` disables the CPU's access to the GPU's L2 cache and requires a corresponding L2 disabled kernel. Default value on BCM2835 is `0`. On BCM2836, BCM2837, and BCM2711, the ARMs have their own L2 cache and therefore the default is `1`. -The standard Pi kernel.img and kernel7.img builds reflect this difference in cache setting. +Setting this to `1` disables the CPU's access to the GPU's L2 cache and requires a corresponding L2 disabled kernel. Default value on BCM2835 is `0`. On BCM2836, BCM2837, and BCM2711, the ARMs have their own L2 cache and therefore the default is `1`. The standard Pi kernel.img and kernel7.img builds reflect this difference in cache setting. *This article uses content from the eLinux wiki page [RPiconfig](http://elinux.org/RPiconfig), which is shared under the [Creative Commons Attribution-ShareAlike 3.0 Unported license](http://creativecommons.org/licenses/by-sa/3.0/)* From 13486e7f3f20f3deb78499e4afb54a0ea766238f Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:30:37 +0100 Subject: [PATCH 08/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 0add001a3d..5bea161252 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -2,7 +2,7 @@ ## gpu_mem -Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommendations in the above table. +Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommended maximums shown below. The recommended maximum values are as follows: From 49278a59be8dfaa38a979130cd80666cd968fa25 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:39:37 +0100 Subject: [PATCH 09/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 5bea161252..7168478c98 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -14,7 +14,7 @@ The recommended maximum values are as follows: It is possible to set `gpu_mem` to larger values, however can cause problems, such as preventing Linux from booting, so should be avoided. There is no performance advantage to specifying values larger than is necessary. The minimum value is `16`, however this disables certain GPU features. -On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically within Linux. +On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically within Linux. This may allow a smaller value to be specified for `gpu_mem` on the Pi 4, compared to previous models. You can also use `gpu_mem_256`, `gpu_mem_512`, and `gpu_mem_1024` to allow swapping the same SD card between Pis with different amounts of RAM without having to edit `config.txt` each time: From c1b75fa91af7c55e5d1af9e0c6465188ffd15e24 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:41:25 +0100 Subject: [PATCH 10/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 7168478c98..b9b6f22299 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -12,7 +12,7 @@ The recommended maximum values are as follows: | 512MB | `384` | | 1GB or greater | `512` | - It is possible to set `gpu_mem` to larger values, however can cause problems, such as preventing Linux from booting, so should be avoided. There is no performance advantage to specifying values larger than is necessary. The minimum value is `16`, however this disables certain GPU features. + It is possible to set `gpu_mem` to larger values, however this can cause problems, such as preventing Linux from booting, so should be avoided. There is no performance advantage to specifying values larger than is necessary. The minimum value is `16`, however this disables certain GPU features. On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically within Linux. This may allow a smaller value to be specified for `gpu_mem` on the Pi 4, compared to previous models. From 351b6cc0baaa42ffc05ade6dca0f8834f8e5d3d7 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:42:23 +0100 Subject: [PATCH 11/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index b9b6f22299..473eea3e02 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -12,7 +12,7 @@ The recommended maximum values are as follows: | 512MB | `384` | | 1GB or greater | `512` | - It is possible to set `gpu_mem` to larger values, however this can cause problems, such as preventing Linux from booting, so should be avoided. There is no performance advantage to specifying values larger than is necessary. The minimum value is `16`, however this disables certain GPU features. + It is possible to set `gpu_mem` to larger values, however this should be avoided since it can cause problems, such as preventing Linux from booting. There is no performance advantage to specifying values larger than is necessary. The minimum value is `16`, however this disables certain GPU features. On the Raspberry Pi 4 the 3D component of the GPU has its own memory management unit (MMU), and does not use memory from the `gpu_mem` allocation. Instead memory is allocated dynamically within Linux. This may allow a smaller value to be specified for `gpu_mem` on the Pi 4, compared to previous models. From 0eca4710904733746ce62ff5301db7556bb9fc6b Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:43:34 +0100 Subject: [PATCH 12/14] Update memory.md --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 473eea3e02..9581e74c2a 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -28,7 +28,7 @@ The `gpu_mem_512` command sets the GPU memory in megabytes for the 512MB Raspber ## gpu_mem_1024 -The `gpu_mem_1024` command sets the GPU memory in megabytes for Raspberry Pi devices with 1GB or more of memory. (It is ignored if memory size is smaller than 1GB). +The `gpu_mem_1024` command sets the GPU memory in megabytes for Raspberry Pi devices with 1GB or more of memory. (It is ignored if memory size is smaller than 1GB). This overrides `gpu_mem`. ## disable_l2cache From 8e38e744b62dbdf1a4de6413bbb41495ed89ce1a Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Mon, 6 Jul 2020 13:02:50 +0100 Subject: [PATCH 13/14] default is now 76MB on Pi 2 and later --- configuration/config-txt/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index 9581e74c2a..d4bb553b7f 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -2,7 +2,7 @@ ## gpu_mem -Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `64`. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommended maximums shown below. +Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU. The default value is `76`, except on the Pi Zero and Pi 1 where it is `64`. You should set `gpu_mem` to the lowest possible value to ensure best performance. If a particular graphics feature is not working correctly, try increasing the value of `gpu_mem`, being mindful of the recommended maximums shown below. The recommended maximum values are as follows: From 81ebe5073832e8828abbd5e195cdd1cb810b4963 Mon Sep 17 00:00:00 2001 From: andrum99 <58046090+andrum99@users.noreply.github.com> Date: Tue, 7 Jul 2020 13:44:05 +0100 Subject: [PATCH 14/14] Update memory.md --- configuration/config-txt/memory.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration/config-txt/memory.md b/configuration/config-txt/memory.md index d4bb553b7f..04d13d869c 100644 --- a/configuration/config-txt/memory.md +++ b/configuration/config-txt/memory.md @@ -20,15 +20,15 @@ You can also use `gpu_mem_256`, `gpu_mem_512`, and `gpu_mem_1024` to allow swapp ## gpu_mem_256 -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 `gpu_mem_256` command sets the GPU memory in megabytes for Raspberry Pis 256MB of memory. (It is ignored if memory size is not 256MB). This overrides `gpu_mem`. ## gpu_mem_512 -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 `gpu_mem_512` command sets the GPU memory in megabytes for Raspberry Pis with 256MB of memory. (It is ignored if memory size is not 512MB). This overrides `gpu_mem`. ## gpu_mem_1024 -The `gpu_mem_1024` command sets the GPU memory in megabytes for Raspberry Pi devices with 1GB or more of memory. (It is ignored if memory size is smaller than 1GB). This overrides `gpu_mem`. +The `gpu_mem_1024` command sets the GPU memory in megabytes for Raspberry Pis with 1GB or more of memory. (It is ignored if memory size is smaller than 1GB). This overrides `gpu_mem`. ## disable_l2cache