https://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers

Linux video mode numbers

The Linux kernel allows the user to select the VESA mode at boot time by passing a code in memory to the kernel. The LILO boot loader passes this code based on a "vga" parameter in its configuration file. It takes the form 'vga=XXX', where XXX is the decimal value, or 'vga=0xHHH', where HHH is the hexadecimal value. However, the 'vga=' boot loader parameter does not directly accept VESA video mode numbers; rather, the Linux video mode number is the VESA number plus 512 (in the case of the decimal representation) or plus 0x200 (in the case of the hexadecimal representation). For example, the defined VESA value of 257 (0x101), representing 640x480 and 256 colours, has an equivalent Linux video mode value of 769 (0x301).

See the kernel documentation in Documentation/svga.txt and Documentation/fb/vesafb.txt.

As indicated earlier, the VESA standard defines a limited set of modes; in particular, none above 1,280×1,024 are covered and, instead, their implementation is completely optional for graphics adapter manufacturers. As vendors are free to utilize whatever additional values they please, this means that, in the table below, the modes denoted in red (and expressed in decimal form) may not apply to your graphics adapter!



320

×

200

640

×

400

640

×

480

800

×

500

800

×

600

896

×

672

1,024

×

640

1,024

×

768

1,152

×

720

1,280

×

1,024

1,400

×

1,050

1,440

×

900

1,600

×

1,200

1,920

×

1,200

16 colors

770

772

774

256 colors

768

769

879

771

815

874

773

869

775

835

864

796

893

15-bit (5:5:5)

781

801

784

880

787

816

875

790

870

793

865

797

16-bit (5:6:5)

782

802

785

881

788

817

876

791

871

794

837

866

798

24-bit (8:8:8)

783

803

786

882

789

818

877

792

872

795

838

867

799

32-bit (8:8:8)1

804

809

883

814

819

878

824

873

829

868

834