Main Page‎ > ‎

Vesa modes

Vesa modes

Introduction

I use the Xorg server with vesa driver to obtain the full list of vesa modes supported by the card. Parsing the /var/log/Xorg.0.log with the following quick and dirty perl script outputs the tables provided below in wiki style. Note that if you wish to use the vesa modes provided below in the kernel boot command with the vesafb driver you need to add 0x200 to it.

File: xorg_log2vesa_modes.pl
#!/usr/bin/perl -w

my $resolution;
my $bpp;
my $vesamode;
my $curline;

printf STDOUT ("{| border=\"1\" cellpadding=\"2\"\n");
printf STDOUT ("!width=\"75\"|Resolution\n");
printf STDOUT ("!width=\"50\"|Bits per pixel\n");
printf STDOUT ("!width=\"50\"|Vesa mode\n");
printf STDOUT ("|-\n");
while ($curline=<>)
{
  if ( $curline =~ /Mode: ([0-9a-f]+) \(([0-9]+x[0-9]+)\).*$/s )
  {
    $vesamode=$1;
    $resolution=$2;
  }
  if ( $curline =~ /BitsPerPixel: ([0-9]+)$/s )
  {
    $bpp=$1;
#    printf STDOUT ("vesamode %s for resolution %s at %s bpp\n",$vesamode,$resolution,$bpp);
    printf STDOUT ("| %s || %s || %s\n",$resolution,$bpp,$vesamode);
    printf STDOUT ("|-\n");
  }
}
printf STDOUT ("|}\n");

The goal of this excercie is to seek for modes to be used on LCD TVs.

EpiaM vesa modes

ResolutionBits per pixelVesa mode
640x4808101
640x48016111
640x48032112
720x4808171
720x48016173
720x48032175
720x576817c
720x5761617e
720x5763217f
800x480819c
800x4801619d
800x4803219e
800x6008103
800x60016114
800x60032115
848x480815c
848x4801615d
848x4803215f
1024x7688105
1024x76816117
1024x76832118
1280x7688179
1280x7681617a
1280x7683217b
1280x10248107
1280x10241611a
1280x10243211b
1368x7688183
1368x76816184
1368x76832185
1400x1050813b
1400x10501613c
1400x10503213e
80x604108
800x6004102

EpiaSP vesa modes

ResolutionBits per pixelVesa mode
640x4808101
640x48016111
640x48032112
720x4808171
720x48016173
720x48032175
720x54081b9
720x540161ba
720x540321bb
720x576817c
720x5761617e
720x5763217f
800x6008103
800x60016114
800x60032115
848x480815c
848x4801615d
848x4803215f
852x4808196
852x48016197
852x48032198
1024x576820b
1024x5761620c
1024x5763220d
1024x7688105
1024x76816117
1024x76832118
1280x7688179
1280x7681617a
1280x7683217b
1280x10248107
1280x10241611a
1280x10243211b
1360x768816c
1360x7681616d
1360x7683216e
1368x7688183
1368x76816184
1368x76832185
1400x1050813b
1400x10501613c
1400x10503213e
1600x1024820e
1600x10241620f
1600x102432210
1600x12008120
1600x120016122
1600x120032124
1680x1050812b
1680x10501612c
1680x10503212d
1920x14408199
1920x14401619a
1920x14403219b
2048x15368156
2048x153616158
2048x153632159
800x480822e
800x4801622f
800x48032230
80x604108
800x6004102
Comments