|
今天在找git的时候在extras程序库里发现的,
安装包为 915resolution-0.5.2-4.fc6.i386.rpm
支持下列芯片
845G, 855GM, 865G, 915G, 915GM, 945G, and 945GM chipsets
具体怎么设置,请参照\usr\share\doc\915resolution-0.5.2\README.txt
这个文件是英文的,
这里提供最简单的中文介绍
在运行之前确定拥有root权限!!!
使用方法
915resolution [-l] [模式 X Y] [颜色位数]
X Y 即你要设置的分辨率.
设置
# 915resolution -l //列出所有模式
Intel 800/900 Series VBIOS Hack : version 0.5.2
Chipset: 915GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36
Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1920x1440, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel
Mode 60 : 1280x770, 8 bits/pixel
Mode 61 : 1280x770, 16 bits/pixel
Mode 62 : 1280x770, 32 bits/pixel
Mode 63 : 512x771, 8 bits/pixel
Mode 64 : 512x771, 16 bits/pixel
Mode 65 : 512x771, 32 bits/pixel
将模式为38的分辨率改为1280x800
# 915resolution 38 1280 800
再
# 915resolution -l //列出所有模式
你会发现38那个模式被改掉啦,
如果要将颜色位数设为24位
# 915resolution 38 1280 800 24
OK,这是手动设置的方法,当然您可以把它写在脚本里,在启动X的时候自动调用
注意,必要在启动X之前启动915resolution.
xorg.conf的参考设置
Section "Screen"
Identifier "Screen 1"
Device "device"
Monitor "LCD"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1280x800"
EndSubsection
EndSectio |
|