DELLD420笔记本主板是Intel945,集成GMA950显卡,安装完RHEL5/5.1后,分辨率保持在1024X768,无法填满1280X800的屏幕,于是(确保在root权限下安装)
1.修正/etc/X11/xorg.conf;查看类似下面的一段;
QUOTE: |
Section"Screen"
Identifier"Screen0"
Device"Videocard0"
Monitor"Monitor0"
DefaultDepth24
SubSection"Display"
Viewport00
Depth24
Modes"1280x800"
EndSubSection
EndSection
添加的内容
2.下载915resolution软件包。
到下载915resolution-0.5.2-5.0.el5.i386.rpm然后在图形界面下右键选择用包管理器安装,自动安装完成
3.用915resolution列出vbios的模式:用-l参数;
QUOTE: |
#915resolution-l
915resolutionversion0.4,byAlainPoirier
Chipset:915GM(id=0x35808086)
VBIOStype:2
VBIOSVersion:3360
Mode30:640x480,8bits/pixel
Mode32:800x600,8bits/pixel
Mode34:1024x768,8bits/pixel
Mode38:1280x1024,8bits/pixel
Mode3a:1600x1200,8bits/pixel
Mode3c:1920x1440,8bits/pixel
Mode41:640x480,16bits/pixel
Mode43:800x600,16bits/pixel
Mode45:1024x768,16bits/pixel
Mode49:1280x1024,16bits/pixel
Mode4b:1600x1200,16bits/pixel
Mode4d:1920x1440,16bits/pixel
Mode50:640x480,32bits/pixel
Mode52:800x600,32bits/pixel
Mode54:1024x768,32bits/pixel
Mode58:1280x1024,32bits/pixel
Mode5a:1600x1200,32bits/pixel
Mode5c:1920x1440,32bits/pixel
Mode7c:1280x768,8bits/pixel
Mode7d:1280x768,16bits/pixel
Mode7e:1280x768,32bits/pixel
然后运行915resolution,把Mode54的1024X768@32(当前分辨率)改成1280X800
#915resolution541280800
分辨率立即就会变成1280X800@32bit。但是重启后还是1024X768的分辨率
4.自动在开机时加再915resolution调整分辨率
编辑/etc/rc.d/rc.local文件,添加
915resolution541280800
保存重启,就可在登录界面时获得1280X800的分辨率。
下载本文示例代码
阅读(473) | 评论(0) | 转发(0) |