I've got an 800x480 display running under Ubuntu 18.04.3LTS (within VirtualBox on Windows 10). The display is a square-pixel, 15:9 panel, but regardless of the modeline parameters and/or changes I make to xrandr, I cannot enforce this aspect ratio. I use the Universal Modeline Calculator (UMC) tool to generate the modeline, as it allows for additional options (namely the vertical-sync).
When I apply the custom resolution, the display aspect ratio appears 'squashed', with black bars above and below the actual Ubuntu window. I also note that once the custom resolution has been added via xrandr, the resolution displays as 800x480 (16:10) in the 'Screen Display' settings list.
Am I missing anything obvious, or is there anything else I can try?