当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 1440x900's conf for intel i810 driver in winxp and ubuntu
帖子发表于 : 2007-05-24 23:47 
头像

注册: 2006-08-22 16:50
帖子: 31
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
google了几天,我的宽屏终于可以显示正常了in xp and ubuntu。

配置
monitor: Hanns.G HW173A(wide)
device: Intel 865G
os: ubuntu6.10 and windows xp sp2

问题
xp下宽屏可以完整显示,最高1440x900_60,可是ubuntu下没有1440x900可选,在网上找了半天,终于有了这个选项,可屏幕有偏移现象,god,somebody help me!,不过我还是解决了,哈。

思路
915resolution or xserver-xorg-video-intel

解决方法
1.修改/etc/X11/xorg.conf的monitor section和screen section
2.install 915resolution
3.用915reolution添加1440x900
4.restart x window,如果屏幕偏移,改掉3中的mode参数
5.修改/etc/default/915resolution和/etc/init.d/915resolution,添加两个参数到915resolution中。
6.reboot, yes, everything is ok.

代码(红色为添加):
1. xorg.conf

Section "Monitor"
Identifier "Hanns.G HW17"
Displaysize 408 255
HorizSync 30.0-80.0
VertRefresh 55.0-75.0

Option "DPMS"
Option "DDC" "false"
Modeline "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934


#Modeline 参考/var/log/Xorg.0.log

EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82865G Integrated Graphics Controller"
Monitor "Hanns.G HW17"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection


2./etc/default/915resolution

#MODE=auto
MODE=54
#note: if屏幕偏移,换个mode试试

#
# and set resolutions for the mode.
# e.g. use XRESO=1024 and YRESO=768
XRESO=1440
YRESO=900
#
# We can also set the pixel mode.
# e.g. use BIT=32
# Please note that this is optional,
# you can also leave this value blank.
BIT=32


HTOTAL=1904
VTOTAL=934


3./etc/init.d/915...(add two parameters:HTOTAL, VTOTAL)
$PROG $MODE $XRESO $YRESO $BIT $HTOTAL $VTOTAL

4.915添加mode:
sudo 915resolution 54 1440 900 32 1904 934


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-05-26 7:18 

注册: 2007-05-06 2:11
帖子: 184
送出感谢: 0 次
接收感谢: 0 次
老大,按你的设置我的分辨率只能达到1125*800
求救呀


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-05-26 18:07 
头像

注册: 2006-08-22 16:50
帖子: 31
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
xufund 写道:
老大,按你的设置我的分辨率只能达到1125*800
求救呀


xorg.conf貼出来阿


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-05-26 19:10 

注册: 2007-05-06 2:11
帖子: 184
送出感谢: 0 次
接收感谢: 0 次
manytigers 写道:
xufund 写道:
老大,按你的设置我的分辨率只能达到1125*800
求救呀


xorg.conf貼出来阿


我的xorg.conf内容如下:
# /etc/X11/xorg.conf (xorg 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(5) 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 "Files"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/usr/share/fonts/X11/cyrillic"
Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/Type1"
Fontpath "/usr/share/fonts/X11/100dpi"
Fontpath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

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

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
Identifier "通用显示卡"
Driver "fglrx"
Busid "PCI:1:5:0"
EndSection

Section "Monitor"
Identifier "通用显示器"
Displaysize 408 255
Horizsync 30.0-80.0
Vertrefresh 55.0-75.0
Option "DPMS"
Option "DDC" "false"
modeline "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934
Horizsync 28-51
Vertrefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "通用显示卡"
Monitor "通用显示器"
Defaultdepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection

请老大看看哪里有问题?多谢!


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-05-27 11:08 
头像

注册: 2006-08-22 16:50
帖子: 31
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
引用:
Driver "fglrx"

brother,ati的resolution不是我的方向阿,哈。

i think your problems:
引用:
Identifier "通用显示卡"

1.你的video card没有hw?,sw(driver)装的对吗,参考:http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide

引用:
Horizsync 30.0-80.0
Vertrefresh 55.0-75.0
Option "DPMS"
Option "DDC" "false"
modeline "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934
Horizsync 28-51
Vertrefresh 43-60

2.Horizsync,Vertrefresh出现两此!?,写你的就可以拉。

引用:
Modes "1440x900"
Modes "1024x768" "800x600" "640x480"

3.Modes多行写可以吗,参见man xorg.conf。

try:
1.xorg.conf用下面cmd生成。
sudo dpkg-reconfigure xserver-xorg

2.modeline用gtf or cvt(不记得where了,你google)试试。
gtf 1440 900 60

3.ati不知道DDC是否false,试试enable。


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-05-27 20:13 

注册: 2007-05-06 2:11
帖子: 184
送出感谢: 0 次
接收感谢: 0 次
thanks


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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