歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux基礎知識 >> Linux系統登陸前後 分辨率不一致的問題

Linux系統登陸前後 分辨率不一致的問題

日期:2017/3/2 14:56:21   编辑:Linux基礎知識
問題描述: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
Copyright © Linux教程網 All Rights Reserved