新手请教显示器设置和分辨率设置问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
cannednyf
帖子: 6
注册时间: 2008-11-29 13:24

新手请教显示器设置和分辨率设置问题

#1

帖子 cannednyf » 2008-12-03 9:40

我在ubuntu 8.1下安装了nvidia的驱动(for linux-x86-177.82) 问题是nvidia xserver setting 总是把我的显示器认成ctr, 屏幕大小只能是1024*768(我的显示器是 hp w2207) 我在xcorg.conf中修改了分辨率1680*1050 屏幕显示变成了超大的桌面 (就像1024*768 在 1680*1050里面游动) 请问怎么能够把显示器设置设置正确阿?
西贝土方木点
帖子: 243
注册时间: 2008-09-13 16:34

Re: 新手请教显示器设置和分辨率设置问题

#2

帖子 西贝土方木点 » 2008-12-03 14:38

应用程序--其他--显示器和显卡 在这里改
cannednyf
帖子: 6
注册时间: 2008-11-29 13:24

Re: 新手请教显示器设置和分辨率设置问题

#3

帖子 cannednyf » 2008-12-03 16:57

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Mon Nov 3 08:46:46 UTC 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "LCD"
EndSection

Section "Monitor"

#VendorName "Unknown"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LCD"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
EndSection

Section "Device"
Identifier "LCD"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GSO"
EndSection

Section "Screen"
Identifier "LCD"
Device "LCD"
Monitor "LCD"
DefaultDepth 24
EndSection

Section "Screen"

# Removed Option "TwinViewXineramaInfoOrder" "LCD"
# Removed Option "metamodes" "nvidia-auto-select @1680x1050 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "LCD"
Option "metamodes" "1024x768 @1024x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

xong文件内容如上 小弟应该怎么改 才能让显示器变成液晶的 分辨率是1680x1050呢?
头像
kelen
帖子: 734
注册时间: 2008-05-02 19:50

Re: 新手请教显示器设置和分辨率设置问题

#4

帖子 kelen » 2008-12-06 16:01

.....(省略)
Section "Monitor"
....(中间的省略)
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
.....(省略)
SubSection “Display”
Depth 16
Modes “1280×1024″ “1024×768″ “832×624″ “800×600″ “720×400″ “640×480″ (添加你要的分辨率)
EndSubSection

SubSection “Display”
Depth 24
Modes “1280×1024″ “1024×768″ “832×624″ “800×600″ “720×400″ “640×480″ (添加你要的分辨率)
......(省略)
EndSubSection
In a world without walls who needs Windows?
ws860513
帖子: 57
注册时间: 2008-11-25 19:07

Re: 新手请教显示器设置和分辨率设置问题

#5

帖子 ws860513 » 2008-12-06 16:03

Xorg无法找到你的显示器支持哪些分辨率
我遇到一种情况,在我使用一台显示器(gnr ts902)时Xorg只提供了640x480和320x480选项,显然这不是我想要的。将

Load "dpms"

加到xorg.conf的"Module" Section使我可以将LCD设置为(1280x1024为最佳模式)1024x768等分辨率。如果我早点发现这点的话,就用不着花好几天功夫尝试其他人的类似(和不类似)的解决方法...

代码: 全选

rm  -rd /
cannednyf
帖子: 6
注册时间: 2008-11-29 13:24

Re: 新手请教显示器设置和分辨率设置问题

#6

帖子 cannednyf » 2008-12-06 16:38

谢了 现在设置成功了
配置如下
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Mon Nov 3 08:46:46 UTC 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "dpms"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 30.0 - 110.0
VertRefresh 40.0 - 150.0
Option "dpms"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GSO"
EndSection

Section "Screen"

# Removed Option "metamodes" "nvidia-auto-select @1680x1050 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "1680x1050_60 +0+0; nvidia-auto-select @1680x1050 +0+0; 1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
回复