LinuxSir.cn,穿越时空的Linuxsir!

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

有没有使用nvidia驱动和16:10宽屏液晶的?

[复制链接]
发表于 2006-3-9 12:30:01 | 显示全部楼层 |阅读模式
SaX2里面设定的分辨率设定好了1440X900但是根本不管用
配置文件也手工修改过只保留这个分辨率还是不管用
Xorg.log里面显示:
(II) NVIDIA(0): Not using mode "1440x900" (no mode of this name)

怀疑是nvidia驱动的问题,但是搞不明白为什么“no mode of this name”

nvidia-settings里面也没发现相关可设置的内容,用的全是缺省设置
 楼主| 发表于 2006-3-9 13:16:40 | 显示全部楼层
刚刚自己搞定了,呵呵,可以给大家借鉴一下:
非常感谢这个帖子,给我很大帮助http://www.linuxsir.cn/bbs/showthread.php?t=194091

首先使用gtf命令获得modeline

  1. linux:~ # gtf 1440 900 70

  2.   # 1440x900 @ 70.00 Hz (GTF) hsync: 65.59 kHz; pclk: 126.98 MHz
  3.   Modeline "1440x900_70.00"  126.98  1440 1536 1688 1936  900 901 904 937  -HSync +Vsync
复制代码

然后把这些内容加入到xorg.conf

  1. Section "Modes"
  2.   Identifier   "Modes[0]"
  3.   # 1440x900 @ 70.00 Hz (GTF) hsync: 65.59 kHz; pclk: 126.98 MHz
  4.   Modeline "1440x900_70.00"  126.98  1440 1536 1688 1936  900 901 904 937  -HSync +Vsync
  5. EndSection
复制代码

注意这一段原本内容是空的,所以会报错说没有这个mode
我们加入的内容是
  # 1440x900 @ 70.00 Hz (GTF) hsync: 65.59 kHz; pclk: 126.98 MHz
  Modeline "1440x900_70.00"  126.98  1440 1536 1688 1936  900 901 904 937  -HSync +Vsync

当然注释行可以没有,不过我习惯把注释写清楚,这是个好习惯

然后还要修改xorg.conf后面的内容

  1. Section "Screen"
  2.   DefaultDepth 24
  3.   SubSection "Display"
  4.     Depth      15
  5.     Modes      "1440x900_70.00"
  6.   EndSubSection
  7.   SubSection "Display"
  8.     Depth      16
  9.     Modes      "1440x900_70.00"
  10.   EndSubSection
  11.   SubSection "Display"
  12.     Depth      24
  13.     Modes      "1440x900_70.00"
  14.   EndSubSection
  15.   SubSection "Display"
  16.     Depth      32
  17.     Modes      "1440x900_70.00"
  18.   EndSubSection
  19.   SubSection "Display"
  20.     Depth      8
  21.     Modes      "1440x900_70.00"
  22.   EndSubSection
  23.   Device       "Device[0]"
  24.   Identifier   "Screen[0]"
  25.   Monitor      "Monitor[0]"
  26. EndSection
复制代码

就是把其余的Modes全部删掉,然后加入你刚才在Modeline命名的那个"1440x900_70.00"(当然本质上这个名字可以按照你自己的喜好随便起,我们这里保留gtf命令输出的那个默认的名字)

最后重启X,1440X900@70Hz的屏幕分辨率就生效了!
最后,把你修改好的xorg.conf保存一个副本,因为以后如果你启用Sax2的话很可能把你的配置文件给改掉,留一个备份以防不测;)
回复 支持 反对

使用道具 举报

发表于 2006-3-9 13:41:04 | 显示全部楼层
手动改xorg.conf应该也可以
我不大清楚N卡
回复 支持 反对

使用道具 举报

发表于 2006-4-6 03:43:41 | 显示全部楼层
我是intel(r) 845G集成显卡,按搂主的做法做了,不成功,进去还是1024x768

我的xorg.conf文件:

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/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
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 330 200
HorizSync 30-50
Identifier "Monitor[0]"
ModelName "LEW580"
VendorName "TCL"
VertRefresh 50-75
UseModes "Modes[0]"
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x768" 84.35 1280 1344 1480 1680 768 769 772 797
Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797
Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626
Modeline "800x600" 40.19 800 832 912 1024 600 601 604 623
Modeline "768x576" 43.52 768 800 880 992 576 577 580 601
Modeline "768x576" 37.37 768 800 880 992 576 577 580 598
Modeline "640x480" 29.84 640 664 728 816 480 481 484 501
Modeline "640x480" 25.10 640 656 720 800 480 481 484 498
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x800_60.00"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800_60.00"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800_60.00"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x800_60.00"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800_60.00"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "i845"
BusID "0:2:0"
Driver "i810"
Identifier "Device[0]"
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
回复 支持 反对

使用道具 举报

发表于 2006-4-7 09:23:13 | 显示全部楼层
我通过的楼主的 方法成功 改出来了  不过 光改xorg 是不行的  我市nvidia的7300GS
需要先装nvidia的驱动 才能 改出来1440*900
我的 xorg 配置:
# /.../
# SaX generated X11 config file
# Created on: 2006-03-26T18:31:38+0800.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# 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"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
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" "11"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Microsoft USB Wireless 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    "1024X768@60HZ"
  Option       "DPMS"
  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         "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         "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 16
  SubSection "Display"
    Depth      15
    Modes      "1440x900" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1440x900" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1440x900" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1440x900" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1440x900" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "Framebuffer Graphics"
  BusID        "4:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "VESA"
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
回复 支持 反对

使用道具 举报

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

本版积分规则

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