First of all, you will need to determine how much memory you wish to apportion to graphics. You can do this on the first boot of your Raspberry Pi or in the configuration menu later on, accessed by opening the command line and entering raspi-config where you should use the keys to navigate to memory_split
