当前位置: 技术问答>linux和unix
xvidtune调整显示器定位后XF86Config文件出错,郁闷
来源: 互联网 发布时间:2015-03-04
本文导语: NVIDIA TNT2 32M显卡,PHILIPS 17'显示器 在windows下调好的显示器 在linux下出现偏移 用xvidtune调整后 得到一组数据: "1024x768" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync +vsync 将其加入XF86Config的...
NVIDIA TNT2 32M显卡,PHILIPS 17'显示器
在windows下调好的显示器
在linux下出现偏移
用xvidtune调整后
得到一组数据:
"1024x768" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync
+vsync
将其加入XF86Config的“Section "Monitor"”中,startx出现错误(以前曾经成功过几次,现在不知怎么不行了),
XFree86.0.log日志文件如下:
Module Loader present
OS Kernel: Linux version 2.4.18-14 (bhcompile@astest.test.redhat.com)
(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
VertRefresh 50.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 768 769 772
808 +hsync +vsync的代码后的错误的XF86Config文件:
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
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
请大家帮忙看看到底问题出在哪里
在windows下调好的显示器
在linux下出现偏移
用xvidtune调整后
得到一组数据:
"1024x768" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync
+vsync
将其加入XF86Config的“Section "Monitor"”中,startx出现错误(以前曾经成功过几次,现在不知怎么不行了),
XFree86.0.log日志文件如下:
Module Loader present
OS Kernel: Linux version 2.4.18-14 (bhcompile@astest.test.redhat.com)
(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
VertRefresh 50.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 768 769 772
808 +hsync +vsync的代码后的错误的XF86Config文件:
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
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 768 769 772 808 +hsync +vsync前面加上ModelName即变为
ModelName "1024x768 94.50 1024 1088 1184 1376 768 769 772 808 +hsync +vsync"
ModelName "1024x768 94.50 1024 1088 1184 1376 768 769 772 808 +hsync +vsync"
|
"1024x768" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync +vsync这行开头是"1024x768" ,而错误信息表示"1024x768" 不是有效的section。仔细看看XF86Config的说明
|
看你的好像是换了行吧。
|
错误信息表示配置文件在266行有问题,检查下吧
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。