LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1359|回复: 11

求助:显示器分辨率问题

[复制链接]
发表于 2007-1-23 20:59:45 | 显示全部楼层 |阅读模式
我装有windows2003和suse linux 10 desktop 双系统。显示卡为板载intel 82845G/GL芯片,显示器为acer19寸液晶显示器(刚换的),最大分辨率为1440x900 75Hz 在windows2003下正常显示,分辨率可以达到1600x900,比显示器最大分辨率还高?在suse linux 10.1 中也可认出是i845,也可以启动xgl,但是分辨率只有1280x768,而且不能再升高,也没有高分辨率的选项。字体有些糊糊。请问如何解决?谢谢了!
我的/etc/X11/xorg.conf如下。
# /.../
# SaX generated X11 config file
# Created on: 2007-01-21T22:25:08+0800.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

Section "Module"
  Load         "freetype"
  Load         "type1"
  Load         "dbe"
  Load         "glx"
  Load         "extmod"
  Load         "v4l"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "rotocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "rotocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  409 256
  HorizSync    28-60
  Identifier   "Monitor[0]"
  ModelName    "1440X900@70HZ"
  VendorName   "--> LCD"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline         "1440x900" 102.81 1440 1520 1672 1904 900 901 904 931
  Modeline         "1366x768" 82.16 1368 1432 1576 1784 768 769 772 794
  Modeline         "1280x800" 80.58 1280 1344 1480 1680 800 801 804 827
  Modeline         "1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
  Modeline         "1280x768" 77.37 1280 1344 1480 1680 768 769 772 794
  Modeline         "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline         "1280x600" 58.78 1280 1328 1456 1632 600 601 604 621
  Modeline         "1024x600" 47.26 1024 1064 1168 1312 600 601 604 621
  Modeline         "800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline         "768x576" 33.74 768 792 872 976 576 577 580 596
  Modeline         "640x480" 23.06 640 656 720 800 480 481 484 497

EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576"
  EndSubSection
  SubSection "Display" 32位的这几行是我加的,DefaultDepth 32 不行。
   Depth       32
   Modes       "1440x900" "1366x760" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "i845"
  BusID        "0:2:0"
  Driver       "i810"
  Identifier   "Device[0]"
  Option       "DRI"
  Option       "NoDDC"
  Screen       0
  VendorName   "Intel"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection
发表于 2007-1-24 01:08:02 | 显示全部楼层
没装驱动,装一下驱动就行了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-24 09:24:50 | 显示全部楼层
我试过装显卡驱动的.到intel 网站中下了一个i845驱动程序包,解压后在没有启动Xwindows的情况下运行./setup安装,但好象有错误说不支持内核版本.装驱动失败.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-24 18:09:20 | 显示全部楼层

问题似乎很难解决

下载了一个IntelGraphics_060704.tar.gz解压后得到dripkg目录,./install.sh之后出现2错误:AGPpart不能编译。kernel模块不能编译。
回复 支持 反对

使用道具 举报

发表于 2007-1-24 18:16:02 | 显示全部楼层
试试下面一条命令,并重启X。看看能不能调。
PS:我不确定这样好用,只是给个建议。


  1. tmp1=`gtf 1440 900 75` ; tmp2=`cat /etc/X11/xorg.conf` ; echo "cat ${tmp2%%Section "Modes"*}Section "Modes"${tmp1}${tmp2##*Section "Modes"}" > /tmp/xorg.conf.new ; sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak ; sudo cp /tmp/xorg.conf.new /etc/X11/xorg.conf
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-26 09:24:43 | 显示全部楼层
谢谢linuxahah!我试过,但是不行
回复 支持 反对

使用道具 举报

发表于 2007-1-27 10:27:19 | 显示全部楼层
是不是没有安装kernel-source呀
回复 支持 反对

使用道具 举报

发表于 2007-1-27 11:28:30 | 显示全部楼层
我也是这种板载显卡,intel官方的那个不行,好像有一个第三方的驱动,当时我也编译安装了,后来我测试了好像还不如suse自动安装的显卡驱动呢(也许安装的不是很正确!),这种显卡我重来没有想过要开启xgl
回复 支持 反对

使用道具 举报

发表于 2007-1-27 12:58:24 | 显示全部楼层
SUSE对显卡、显示器这块的检测上都比较“变态”,俺有台14的HP显示器装了SUSE10.1后默认分辨率居然是1024*768,闪得死人。折腾N久后发现其实用不着驱动啊、X11下面改文件啊什么的。最简单的办法是在SAX2中手工降低显示器的同步频率,俺有台ViewSonic的G76f+就这样,把最高同步频率(水平和纵向)同步下降10%左右就好了。这个对显示器本身来说没有任何损伤,建议LZ试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-27 15:24:22 | 显示全部楼层
已经安装了内核source了,今天在重新编译内核(第一次),慢啊!我的显卡可以打开3D和xgl,效果还好,现在最大的问题是分辨率上不去,原来那台14寸显示器,这个分辨率足够了,但换了19寸后,字体不太清。sax2中显示器型号没有我的这种类型。左试右试都不行。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表