郁闷,xvidtune定位后XF86Config文件出错
NVIDIA TNT2 32M显卡,PHILIPS 17'显示器在windows下调好的显示器
在linux下出现偏移
用xvidtune调整后
得到一组数据:
"1024x768" 94.50 1024 1088 1184 1376 768769772808 +hsync
+vsync
将其加入XF86Config的“Section "Monitor"”中,startx出现错误(以前曾经成功过几次,现在不知怎么不行了),
XFree86.0.log日志文件如下:
Module Loader present
OS Kernel: Linux version 2.4.18-14 ([email protected])
(gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4
12:13:11 EDT 2002
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon May 12 22:24:29 2003
(==) Using config file: "/etc/X11/XF86Config"
Parse error on line 266 of section Monitor in file /etc/X11/XF86Config
"1024x768" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
Fatal server error:
no screens found
-------------------------------
下面是可以正常进入X-window的XF86Config文件的显示部分:
Section "Monitor"
Identifier "PHILIPS"
HorizSync 30.0 - 70.0
VertRefresh50.0 - 160.0
EndSection
Section "Device"
Identifier"Standard VGA"
Driver "vga"
VendorName"Unknown"
BoardName "Unknown"
EndSection
Section "Device"
#VideoRam 32000
# Insert Clocks lines here if appropriate
Identifier"NVIDIA"
Driver "nv"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA"
Monitor "PHILIPS"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
-------------------------
下面是加入"1024x768" 94.50 1024 1088 1184 1376 768769772
808 +hsync +vsync的代码后的错误的XF86Config文件:
Section "Monitor"
Identifier "PHILIPS"
HorizSync 30.0 - 70.0
VertRefresh50.0 - 160.0
"1024x768" 94.50 1024 1088 1184 1376 768769772808 +hsync
+vsync
EndSection
Section "Device"
Identifier"Standard VGA"
Driver "vga"
VendorName"Unknown"
BoardName "Unknown"
EndSection
Section "Device"
#VideoRam 32000
# Insert Clocks lines here if appropriate
Identifier"NVIDIA"
Driver "nv"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA"
Monitor "PHILIPS"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
请大家帮忙看看到底问题出在哪里 我看不出来问题出在哪里:)
但是我可以给出两个建议:
1. 放弃redhat,使用mandrake。mandrake的默认配置就很好了。
2. 在网上查找“modeline calculator”字样。它会把你引导到一个计算
modeline的网页。只要你输入你要的数据(当然是你的显示器能承受的),
然后把算出的modeline加入到XF86config文件就好了。 http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=881
认认真真仔仔细细地看一遍 Section "Monitor"
Identifier "PHILIPS"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
"1024x768" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync +vsync
EndSection modeline "1024x768" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync
页:
[1]