当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [分享]成功调整外接投影仪分辨率
帖子发表于 : 2008-08-02 23:09 

注册: 2008-06-28 14:53
帖子: 28
送出感谢: 0 次
接收感谢: 0 次
用本本外接投影机,用Nvidia驱动设置后,发现投影分辨率始终是640X480,无法改变,运行xrandr也只能认到一个显示器。后来发现运行displayconfig-gtksk可以识别到投影,为投影手动设置一个显示器后,可以投影,但桌面和投影都成了640X480。手动修改xorg.conf中分辨率后,终于可以本本上显示1280X800,投影显示1024X768.

修改文件后按ctrl+alt+f1进入终端后输入:
sudo /etc/init.d/gdm stop
sudo /etc/init.d/gdm start
即可看到修改的效果

以下是我的xorg.conf,请参考其中提示修改文件:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder58) Thu Jun 5 00:09:03 PDT 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Jun 5 00:08:24 PDT 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.
#
# 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 "Default Layout"
screen 0 "Screen0" 0 0
screen 1 "screen1" rightof "Screen0"
Inputdevice "Generic Keyboard" "CoreKeyboard"
Inputdevice "Configured Mouse"
Inputdevice "Synaptics Touchpad"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "Monitor0"
Vendorname "Unknown"
Modelname "CRT-0"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
Gamma 1.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

Section "Device"
Identifier "Videocard0"
Boardname "nvidia"
Busid "PCI:1:0:0"
Driver "nvidia"
Screen 0
EndSection


Section "Screen"

# Removed Option "metamodes" "CRT: 1024x768_60 +0+0, DFP: 1024x768_60 +0+0"
# Removed Option "metamodes" "CRT: 1024x768 +0+0, DFP: nvidia-auto-select +0+0; CRT: 1024x768 +0+0, DFP: 1280x800 +0+0"
Identifier "Screen0"
Device "Videocard0"
# 默认是使用 "monitor0",要改成后面的“monitor1"
Monitor "monitor1"
Defaultdepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"

# metamodes中CRT 是控制投影显示
Option "metamodes" "CRT: 1024x768_60 +0+0, DFP: nvidia-auto-select +0+0; CRT: NULL, DFP: nvidia-auto-select +0+0; CRT: NULL, DFP: 1280x800 +0+0"
SubSection "Display"
Depth 24

#这里是控制桌面分辨率
Virtual 1280 800
Modes "1280x800@50"
EndSubSection
EndSection

Section "device" #
Identifier "device1"
Boardname "nvidia"
Busid "PCI:1:0:0"
Driver "nvidia"
Screen 1
EndSection
Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
SubSection "Display"
Depth 24
Modes "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor1"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1024x768"
Horizsync 31.5-48.0
Vertrefresh 56.0 - 65.0
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
Gamma 1.0
EndSection


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-08-02 23:15 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
记得不需要这样麻烦的。
nvidia-settings ?


_________________
● 鸣学


页首
 用户资料  
 
3 楼 
 文章标题 : Re: [分享]成功调整外接投影仪分辨率
帖子发表于 : 2011-08-28 18:58 

注册: 2006-04-25 17:07
帖子: 370
送出感谢: 0 次
接收感谢: 0 次
先手藏,学习学习。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译