LinuxSir.cn,穿越时空的Linuxsir!

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

使用esting或者sid 的贴一下你们的 xorg.conf吧

[复制链接]
发表于 2008-5-13 22:58:43 | 显示全部楼层 |阅读模式
快被 分辨率给搞死了,
装了这么多次的debian,
这几天郁闷死了

apt-get install x-window-system
之后没有出现 选择分辨率的选项,
装完gnome-core之后,startx就提示显示 超出显现范围

dpkg-reconfigure xserver-xorg  也没有用
没有装显卡之前是800x600,装上显卡之后只能选320x240,640x480  

这是我的xorg.conf,大家帮忙看看是那里出了问题吧  
说明 :Modes           "1024x768" 里面四个都是我自己添加的

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Thu Feb 14 18:20:37 PST 2008

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/etc/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    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"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "glx"
    Load           "xtrap"
    Load           "extmod"
    Load           "record"
    Load           "dbe"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "rotocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "FlatPanel"                  # [<bool>]
        #Option     "FPDither"                   # [<bool>]
        #Option     "CrtcNumber"                 # <i>
        #Option     "FPScale"                    # [<bool>]
        #Option     "FPTweak"                    # <i>
        #Option     "DualHead"                   # [<bool>]
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "GeForce 6100 nForce 405"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
        Modes           "1024x768"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
        Modes           "1024x768"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes           "1024x768"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes           "1024x768"
    EndSubSection
EndSection
 楼主| 发表于 2008-5-14 07:08:44 | 显示全部楼层
开始时 是 debian testing,后来升级到 sid

都不能调节分辨率。显卡驱动没有问题,
源用的 cn99的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2008-5-14 08:46:54 | 显示全部楼层
配置文件中
monitor一段没有刷新率
screen一段没有分辨率

试试dpkg-reconfigure xorg 或 dpkg-reconfigure xserver

我是菜鸟
回复 支持 反对

使用道具 举报

发表于 2008-5-14 09:42:18 | 显示全部楼层
apt-get install x-window-system 建议改成apt-get install xorg
楼主的显示器是?
显卡驱动正确安装后可以自动生成xorg.conf的,楼主的xorg.conf是怎么生成的?
再把/var/log/Xorg.0.log贴出来看看
回复 支持 反对

使用道具 举报

发表于 2008-5-14 12:20:02 | 显示全部楼层
#/etc/X11/xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Tue Jan 22 19:54:38 PST 2008

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

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

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "rotocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       30.0 - 75.0
    VertRefresh     50-75
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
        ModelName    "Dell P1130"
        HorizSync    30.0 - 130.0
        VertRefresh  48.0 - 170.0
        Modeline "1280x800"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync

        Option            "IgnoreEDID" "1"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce4 4200 Go"
    BusID          "CI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce4 4200 Go"
    BusID          "CI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard0"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1024x768 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard1"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1280x800 +0+0; DFP: 800x600 +0+0; DFP: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2008-5-14 14:31:15 | 显示全部楼层
用 nvidia 二进制驱动自带的 nvidia-xconfig 可以自己生成 xorg.conf

我的 xorg.conf 被我改过一些,仅供参考:
  1. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  2. # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Tue Jan 22 19:53:46 PST 2008
  3. Section "ServerLayout"
  4.     Identifier     "Layout0"
  5.     Screen      0  "Screen0"
  6.     InputDevice    "Keyboard0" "CoreKeyboard"
  7.     InputDevice    "Mouse0" "CorePointer"
  8.     Option        "AIGLX"        "true"
  9. EndSection
  10. Section "Files"
  11.     RgbPath         "/usr/X11R6/lib/X11/rgb"
  12. EndSection
  13. Section "Module"
  14.     Load           "dbe"
  15.     Load           "extmod"
  16.     Load           "type1"
  17.     Load           "freetype"
  18.     Load           "glx"
  19. EndSection
  20. Section "InputDevice"
  21.     # generated from default
  22.     Identifier     "Mouse0"
  23.     Driver         "mouse"
  24.     Option         "Protocol" "auto"
  25.     Option         "Device" "/dev/input/mice"
  26.     Option         "Emulate3Buttons" "no"
  27.     Option         "ZAxisMapping" "4 5"
  28. EndSection
  29. Section "InputDevice"
  30.     # generated from default
  31.     Identifier     "Keyboard0"
  32.     Driver         "keyboard"
  33. EndSection
  34. Section "Monitor"
  35.     Identifier     "Monitor0"
  36.     VendorName     "Philips"
  37.     ModelName      "150S5"
  38.     HorizSync       30.0 - 61.0
  39.     VertRefresh     56.0 - 76.0
  40.     Option         "DPMS"
  41.         modeline  "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
  42.         modeline  "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
  43.         modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  44. EndSection
  45. Section "Device"
  46.     Identifier     "Device0"
  47.     Driver         "nvidia"
  48.     VendorName     "NVIDIA Corporation"
  49.     Option "AllowGLXWithComposite" "true"
  50.     Option "RenderAccel" "true"
  51.         Option "HWCursor" "true"
  52.         Option "DynamicTwinView" "false"
  53.         Option "UseEvents" "false"
  54.         Option "DamageEvents" "true"
  55.         Option "BackingStore" "true"
  56.         #Option "TripleBuffer" "true"
  57.         Option "NoLogo" "True"
  58.         Option "ConnectedMonitor" "CRT"
  59. EndSection
  60. Section "Screen"
  61.     Identifier     "Screen0"
  62.     Device         "Device0"
  63.     Monitor        "Monitor0"
  64.     DefaultDepth    24
  65.     SubSection     "Display"
  66.         Depth       24
  67.         Modes      "1024x768" "800x600" "640x480"
  68.     EndSubSection
  69.     Option "XAANoOffscreenPixmaps" "true"
  70.     Option "AddARGBGLXVisuals" "true"
  71. EndSection
  72. Section "Extensions"
  73.         Option "Composite" "Enable"
  74. EndSection
复制代码

我的 nvidia settings 的同样的 tab 根本就不能用,提示如下:
Error while loading X Server Display Configuration:

Dynamic TwinView is disabled on screen 0.
我都是用 gnome 自带的 gnome-display-properties 调分辨率的
回复 支持 反对

使用道具 举报

发表于 2008-5-14 16:16:00 | 显示全部楼层
其实只要安装x-window-system-core和gnome-core就可以了。至于xorg.conf文件,一般情况下,可以使用Xorg -config 命令,再把生成的xorg.conf.new中的部分内容复制到/etc/X11/xorg.conf中就可以了。对了,安装完xserver-xorg后,应该先使用dpkg-reconfig xserver-xorg命令配置该软件包。
回复 支持 反对

使用道具 举报

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

本版积分规则

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