Linux Kernel Video Modes

I figured this may be of some use to someone, as you can’t really find these in any obvious spot. To use any of these codes, all you need to do is add vga=code to the kernel parameters when booting. Using 1600×[email protected] bits as an example, the kernel parameter would be vga=799. If you want to be asked every time you boot the kernel, use vga=ask.

320×200 640×400 640�480 800×500 800�600 896×672 1024×640 1024�768 1152�720 1280�1024 1440�900 1600�1200
4 bits 770 (302) 774 (306)
8 bits 768 (300) 769 (301) 879 (36F) 701 (303) 815 (32F) 874 (36A) 773 (305) 869 (365) 775 (307) 864 (360) 796 (31C)
15 bits 781 (30D) 801 (321) 784 (310) 880 (370) 787 (313) 816 (330) 875 (36B) 790 (316) 870 (366) 793 (319) 865 (361) 797 (31D)
16 bits 782 (30E) 802 (322) 785 (311) 881 (371) 788 (314) 817 (331) 876 (36C) 791 (317) 871 (367) 794 (31A) 866 (362) 798 (31E)
24 bits 783 (30F) 803 (323) 786 (312) 882 (372) 789 (315) 818 (332) 877 (36D) 792 (318) 872 (368) 795 (31B) 867 (363) 799 (31F)
32 bits 804 (324) 809 (329) 883 (373) 814 (32E) 819 (333) 878 (36E) 824 (338) 873 (369) 829 (33D) 868 (364) 834 (342)

Edit: For the record, I do realize that this table does not fit entirely within this layout. If you want to see the whole thing, just copy and paste it into a spreadsheet or something. Otherwise, I may make it into it’s own page or something eventually.

Leave a Reply

Your email address will not be published. Required fields are marked *