Chinaunix首页 | 论坛 | 博客
  • 博客访问: 103643780
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-04-02 13:02:02

来源:赛迪网    作者:skid

问题描述:linux登陆前后分辨率不一致,登陆前分辨率高,登陆后正常。两台显卡一样的机器遇到同样的问题,但解决办法不同。

解决办法:修改/etc/x11/xorg.conf文件。

1、现将机器1的xorg.conf的文件列出:

.......
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
Viewport 0 0
Depth 24
EndSubSection
EndSection

2、现将机器2的xorg.conf的文件列出:

Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
#ModeLine "1024x768_75.00" 81.8 1024 1080 1192 1360 768 769 772 802 -hsync +vsync
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
Viewport 0 0
Depth 24
EndSubSection
EndSection
阅读(380) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~