Resolutions must be multiples of 64. 512x512 is the standard size, if you change either, add 64 or subtract 64. For example, 576x640 will work, as will 448x384. So long as both numbers are multiples of 64 and you have enough vram, you should be fine.