红联Linux门户
Linux帮助

LINUX下945G+19 宽屏分辨率1440*900设置

发布时间:2008-03-01 00:06:36来源:红联作者:Ooiqtd
作者:D版乞丐
时间:2008-02-27
邮箱: ihacker8@163.com
主页:http://blog.chinaunix.net/u1/59345/
版权: 该文章版权由D版乞丐所有。可在非商业目的下任意传播和复制。对于商业目的下对本文的任何行为需经作者同意。

我的电脑配置是945G+19宽屏的,最近装了一个Fedora core 6但是分辨率不是1440 * 900的看着很不爽,在网上搜索了很多资料都不行,最后在一个外国的网站上找了解决办法。现把设置过程总结一下,以方便像我这样的菜鸟们!

1.下载一个915resolution,最新版本是0.5.3的,下载后直接把文件915resolution放在bin目录下面,运行915resolution -l查看下类似的提示:

Intel 800/900 Series VBIOS Hack : version 0.5.3

Chipset: 945G
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 27

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 : 1440x900, 8 bits/pixel
Mode 3c : 1440x900, 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 : 1440x900, 16 bits/pixel
Mode 4d : 1440x900, 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 : 1440x900, 32 bits/pixel
Mode 5c : 1440x900, 32 bits/pixel

2.运行gtf 1440 900 60得到类似下面的输出

# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932
-HSync +Vsync

将Modeline部分COPY到/etc/X11/xorg.conf文件的"Screen"段下面,并做相应的修改,重点的地方

我用下线标出来,现在给出我的xorg.conf大家可以根据自己的实际情况自己改:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
Option "DPMS"
Option "DDC" "false"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31-83
VertRefresh 60
ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 +hsync +vsync

EndSection

Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
#Viewport 0 0

Depth 24
Modes "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768" "800x600" "640x480"
Virtual 1440 900
EndSubSection
EndSection

3.运行下面的这些命令:
915resolution 3a 1440 900 8 1904 934
915resolution 4b 1440 900 16 1904 934
915resolution 5a 1440 900 32 1904 934

4.按control+alt+backspace之后分辨率变为1440*900,为了每次启动之后分辨率为1440*900,把

915resolution 3a 1440 900 8 1904 934
915resolution 4b 1440 900 16 1904 934
915resolution 5a 1440 900 32 1904 934

这三条命令放在etc/rc.d/rc.local里面。
文章评论

共有 2 条评论

  1. gzdhome 于 2008-09-25 14:53:54发表:

    搞好了,谢谢!

  2. HioDxm 于 2008-03-01 16:53:07发表:

    留着哪天我也要用到