1440x900's conf for intel i810 driver in winxp and ubuntu

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
头像
manytigers
帖子: 31
注册时间: 2006-08-22 16:50
来自: beijing
送出感谢: 0
接收感谢: 0

1440x900's conf for intel i810 driver in winxp and ubuntu

#1

帖子 manytigers » 2007-05-24 23:47

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
xufund
帖子: 184
注册时间: 2007-05-06 2:11
送出感谢: 0
接收感谢: 0

#2

帖子 xufund » 2007-05-26 7:18

老大,按你的设置我的分辨率只能达到1125*800
求救呀
头像
manytigers
帖子: 31
注册时间: 2006-08-22 16:50
来自: beijing
送出感谢: 0
接收感谢: 0

#3

帖子 manytigers » 2007-05-26 18:07

xufund 写了:老大,按你的设置我的分辨率只能达到1125*800
求救呀
xorg.conf貼出来阿
xufund
帖子: 184
注册时间: 2007-05-06 2:11
送出感谢: 0
接收感谢: 0

#4

帖子 xufund » 2007-05-26 19:10

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

请老大看看哪里有问题?多谢!
头像
manytigers
帖子: 31
注册时间: 2006-08-22 16:50
来自: beijing
送出感谢: 0
接收感谢: 0

#5

帖子 manytigers » 2007-05-27 11:08

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

i think your problems:
Identifier "通用显示卡"
1.你的video card没有hw?,sw(driver)装的对吗,参考:http://wiki.cchtml.com/index.php/Ubuntu ... tion_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。
xufund
帖子: 184
注册时间: 2007-05-06 2:11
送出感谢: 0
接收感谢: 0

#6

帖子 xufund » 2007-05-27 20:13

thanks
回复

回到 “常用硬件支持”