Howto:Build and run FlightGear on Raspberry Pi 4: Difference between revisions

Jump to navigation Jump to search
Line 1,258: Line 1,258:


=== Memory split ===
=== Memory split ===
The memory split option is found in the raspi-config program, under "7 Advanced Options."
The memory split option is found in the <code>raspi-config</code> program, under "7 Advanced Options."
<syntaxhighlight lang="diff">
<syntaxhighlight lang="diff">
sudo raspi-config
sudo raspi-config
</syntaxhighlight>
</syntaxhighlight>


This option adjusts gpu_mem and thus allots the GPU memory. Starting with the Pi4, most of the GPU memory is controlled by the the Linux kernal and there is a disadvantage when gpu_mem is set too high. Never exceed  512MB, less is better.
This option adjusts <code>gpu_mem</code> and thus allots the GPU memory. Starting with the Pi4, most of the GPU memory is controlled by the the Linux kernal and there is a disadvantage when <code>gpu_mem</code> is set too high. Never exceed  512MB, less is better. <code> vcgencmd get_mem gpu</code> will report GPU memory set by <code>gpu_mem</code>.
 
For more information see [https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md Memory options in config.txt]


==Interfacing==
==Interfacing==
320

edits

Navigation menu