LinuxSir.cn,穿越时空的Linuxsir!

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

这样的xorg.conf还缺什么?

[复制链接]
发表于 2010-2-22 21:48:49 | 显示全部楼层 |阅读模式
刚换了nvidia显卡,用了闭源驱动。又用nvidia-settings生成了xorg.conf,现在是这个样子的。
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@localhost)  Mon Feb 22 21:07:31 CST 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Wed Dec  9 16:34:26 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

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

Section "InputDevice"

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL E196FP"
    HorizSync       31.0 - 80.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 220"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "nvidia-auto-select +0+0; 1280x1024_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

这样的配置文件有没有缺少什么?记得以前都有font文件的相关设定,还有一堆modules的,那些有用吗?
 楼主| 发表于 2010-2-23 21:19:39 | 显示全部楼层
查看/var/log/Xorg.0.log,发现警告的和错误的语句有下面这些:

(WW) The directory "/usr/share/fonts/TTF/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
        Entry deleted from font path.

(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0

(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)

(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support


尤其是dri的那个,怎样才能让它不出现呢?
回复 支持 反对

使用道具 举报

发表于 2010-2-24 05:05:44 | 显示全部楼层
  1. Section "Module"
  2. ...
  3.   Disable       "dri"
  4.   Disable       "dri2"
  5. ...
  6. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-26 17:44:30 | 显示全部楼层
多谢了,警告是没有了。
回复 支持 反对

使用道具 举报

发表于 2010-2-27 12:08:25 | 显示全部楼层
我的xorg.conf早被清空了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-28 15:06:50 | 显示全部楼层
闭源驱动还是不能不要xorg.conf的吧。
回复 支持 反对

使用道具 举报

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

本版积分规则

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