Your screen might not support that exact resolution.
Here is a link with just about everything you need to set custom resolutions on your Pi.
https://www.raspberrypi.org/documentation/configuration/config-txt.mdYou might have to get it close, and then play with the overscan to eliminate the black bars. (mine ended up needing to be about -30 all around in config.txt.)
I did see a page once with references to very custom resolutions, but in the end your TV is the deciding factor. The pi is great for letting you set it how you like.
Enter the following command to give a list of CEA supported modes:
/opt/vc/bin/tvservice -m CEA
Enter the following command to give a list of DMT supported modes:
/opt/vc/bin/tvservice -m DMT
Mine currently uses:
hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0
display_rotate=1
hdmi_mode=87 <---custom mode
hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace> <rb>
width width in pixels
height height in pixels
framerate framerate in Hz
aspect aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9, 7=21:9, 8=64:27
margins 0=margins disabled, 1=margins enabled
interlace 0=progressive, 1=interlaced
rb 0=normal, 1=reduced blanking
You can also dig deeper and set the timings
hdmi_timings=<h_active_pixels> <h_sync_polarity <h_front_porch> <h_sync_pulse> <h_back_porch> <v_active_lines> <v_sync_polarity> <v_front_porch> <v_sync_pulse> <v_back_porch> <v_sync_offset_a> <v_sync_offset_b> <pixel_rep> <frame_rate> <interlaced> <pixel_freq> <aspect_ratio>
This link goes a little deeper:
http://elinux.org/RPiconfig