Bug #215
closed
Make sure gpu_mem is properly set in firmware config file
Added by Hammel over 11 years ago.
Updated over 1 year ago.
Category:
04 - Root File System
Description
The config file ends up in <pkg>/firmware/config.txt. There is currently no line for the gpu_mem option. A line for gpu_mem=128 needs to be added for PiBox's that will display video (like for XBMC).
gpu_mem=16 should be used for the media server version of PiBox. A utility for switching the two from within PiBox should be created, perhaps integrated into bui_network_config and renamed "pibox_config"?
- % Done changed from 0 to 10
The config file can be accessed from the rootfs by mounting /dev/mmcblk0p1. The way to do this is
- mkdir -p /mnt/boot
- mount /dev/mmcblk0p1 /mnt/boot
The file is then accessible rw. If a tool is used for this, it should do the mkdir/mount, then edit the file and save it, then umount/rmdir. That way we don't accidentally leave the boot files open to corruption.
- Status changed from New to In Progress
- % Done changed from 10 to 20
A few quick tests show this doesn't appear to work on my Pi. There may be a couple of reasons.
- My Pi is too old and this setting doesn't work on it.
- My firmware is too old and this setting doesn't work on it.
I believe the former more than the latter as I built the rootfs from the latest firmware not long ago.
I can try it with the newer Pi's I have and see if that makes a difference.
- Status changed from In Progress to Closed
- % Done changed from 20 to 100
Extremely stale request. Use gpu_mem has not been an issue on any recent releases.
Closing issue.
Also available in: Atom
PDF