通过VGA启动参数来设置屏幕分辨率模式

来源:互联网 发布:linux 启动tomcat 编辑:程序博客网 时间:2024/06/06 08:45

VGA Boot modes to set screen resolution

A simple way to set your screen resolution and color depth for most Live Linux distro’s is via the use of the vga=parameter boot option. For example at boot you might type: Live vga=795. This would set your system to boot using the Live label with a screen resolution to 24bit 1280X1024. Here are some more examples of common vga boot values.

VGA Resolution and Color Depth reference Chart:

Depth     800×600     1024×768     1152×864     1280×1024     1600×12008 bit     vga=771     vga=773     vga=353     vga=775     vga=79616 bit     vga=788     vga=791     vga=355     vga=794     vga=79824 bit     vga=789     vga=792               vga=795     vga=799

http://www.pendrivelinux.com/vga-boot-modes-to-set-screen-resolution/

另附常见的分辨率对应vga编码:

VGA参数表

hwinfo --framebuffer | grep Mode  Model: "NVIDIA GW-P/N@PM898486GTQ14P:0"  Mode 0x0300:   640x400 (+640), 8 bits  Mode 0x0301:   640x480 (+640), 8 bits  Mode 0x0303:   800x600 (+800), 8 bits  Mode 0x0305:   1024x768 (+1024), 8 bits  Mode 0x0307:   1280x1024 (+1280), 8 bits  Mode 0x030e:   320x200 (+640), 16 bits  Mode 0x030f:    320x200 (+1280), 24 bits  Mode 0x0311:   640x480 (+1280), 16 bits  Mode 0x0312:   640x480 (+2560), 24 bits  Mode 0x0314:   800x600 (+1600), 16 bits  Mode 0x0315:   800x600 (+3200), 24 bits  Mode 0x0317:   1024x768 (+2048), 16 bits  Mode 0x0318:   1024x768 (+4096), 24 bits  Mode 0x031a:   1280x1024 (+2560), 16 bits  Mode 0x031b:   1280x1024 (+5120), 24 bits  Mode 0x0330:   320x200 (+320), 8 bits  Mode 0x0331:   320x400 (+320), 8 bits  Mode 0x0332:   320x400 (+640), 16 bits  Mode 0x0333:   320x400 (+1280), 24 bits  Mode 0x0334:   320x240 (+320), 8 bits  Mode 0x0335:   320x240 (+640), 16 bits  Mode 0x0336:   320x240 (+1280), 24 bits  Mode 0x033d:   640x400 (+1280), 16 bits  Mode 0x033e:   640x400 (+2560), 24 bits  Mode 0x0345:   1600x1200 (+1600), 8 bits  Mode 0x0346:   1600x1200 (+3200), 16 bits  Mode 0x0347:   1400x1050 (+1400), 8 bits  Mode 0x0348:   1400x1050 (+2800), 16 bits  Mode 0x0349:   1400x1050 (+5600), 24 bits  Mode 0x034a:   1600x1200 (+6400), 24 bits  Mode 0x0352:   2048x1536 (+8192), 24 bits  Mode 0x0360:   1280x800 (+1280), 8 bits  Mode 0x0361:   1280x800 (+5120), 24 bits  Mode 0x0362:   768x480 (+768), 8 bits  Mode 0x0364:   1440x900 (+1440), 8 bits  Mode 0x0365:   1440x900 (+5760), 24 bits  Mode 0x0368:   1680x1050 (+1680), 8 bits  Mode 0x0369:   1680x1050 (+6720), 24 bits  Mode 0x037c:   1920x1200 (+1920), 8 bits  Mode 0x037d:   1920x1200 (+7680), 24 bits

转自:http://blog.csdn.net/yeqishi/archive/2010/05/09/5573097.aspx

然后通常在内核参数后以vga=0x0361vga=788的方式添加

android-x86:

If you want to use higher resolution, you can edit the boot option by pressing TAB, change vga=788 (800x600) to vga=791 (1024x768) or vga=794 (1280x1024), and press Enter. You can also use vga=ask to see all available modes. But please note Android will only work under 16-bit mode.

0 0