Page 1 of 1
GPU memory split help!
Posted: Tue Oct 14, 2014 6:00 pm
by northernmonkeyz
Hey,
I am trying to amend my Memory (System/GPU configuration ) in Openelec and I am bit confused.
Its a 512mb Pi and I am trying to do a 256/256 split.
Is this what the config should read -
# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=256
# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
# gpu_mem_256=128
# gpu_mem_512=256
Sorry for the dumb question, just new to this!
Also do I need to lose the #?
e.g
# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=256
# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
gpu_mem_256=128
gpu_mem_512=256
If someone could amend what it should be so I can paste into the config that would be great!
Re: GPU memory split help!
Posted: Tue Oct 14, 2014 6:08 pm
by W. H. Heydt
Either one will work. Bear in mind that the *last* command encountered will govern behavior, so--for clarity and future debugging--pick one scheme or the other.
Unless you are contemplating getting and using a Model A, at this point any Pi you get will have 512MB. If you want the most general solution, is the _512, _256 versions.
Re: GPU memory split help!
Posted: Tue Oct 14, 2014 6:13 pm
by northernmonkeyz
cheers for the reply.
I am not sure what you mean however as I already have a 512mb pi.
I want to allocate a 256/256 split to the memory but I am not sure what the config.txt file should say,
Also being new to this I don't want to mess it up!!
Can you provide the code to change in this section?
# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=256 (do I change this to 512 as I have a 512 pi)
# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
# gpu_mem_256=128 (what do I do here??)
# gpu_mem_512=256 (what do I do here??)
Re: GPU memory split help!
Posted: Tue Oct 14, 2014 6:43 pm
by rpdom
The code you have is already correct for a 256/256 split on a 512MB Pi.
gpu_mem=256 allocates 256 MB to the GPU and the remaining 256MB is allocated to the ARM CPU.
Re: GPU memory split help!
Posted: Tue Oct 14, 2014 7:07 pm
by northernmonkeyz
Cheers mate.
So its just as follows -
# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=256 (do I change this to 512 as I have a 512 pi)
# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
gpu_mem_256=128
gpu_mem_512=256
Are the bottom 2 lines the only ones that dont have the hash?
Re: GPU memory split help!
Posted: Tue Oct 14, 2014 7:33 pm
by rpdom
You should leave the hashes on the bottom two lines. The # is commenting the lines out so they don't take effect.
gpu_mem_256=128 won't do anything on your 512MB Pi. The _256 means it is only for the 256MB Pi.
gpu_mem_512=256 will do exactly the same as gpu_mem=256 on a 512MB Pi. You don't need both lines enabled.
So, all you need is
Code: Select all
# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=256 (do I change this to 512 as I have a 512 pi)
# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
#gpu_mem_256=128
#gpu_mem_512=256