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

本文介绍了如何通过VGA启动参数来调整Linux发行版的屏幕分辨率和颜色深度。提供了常用的VGA启动值及其对应的分辨率和颜色深度表,适用于大多数Live Linux系统。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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×1200
8 bit     vga=771     vga=773     vga=353     vga=775     vga=796
16 bit     vga=788     vga=791     vga=355     vga=794     vga=798
24 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.youkuaiyun.com/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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值