Xinerama模式双屏显示老是死机,各位兄弟救命啊

各种窗口管理器和美化相关
回复
zergxx
帖子: 29
注册时间: 2006-11-24 13:09

Xinerama模式双屏显示老是死机,各位兄弟救命啊

#1

帖子 zergxx » 2007-04-19 23:29

以下是我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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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/X11/fonts/misc"
   FontPath   "/usr/share/X11/fonts/cyrillic"
   FontPath   "/usr/share/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/X11/fonts/Type1"
   FontPath   "/usr/share/X11/fonts/100dpi"
   FontPath   "/usr/share/X11/fonts/75dpi"
   # path to defoma fonts
   FontPath    "/usr/share/fonts/yahei/"
   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   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
    Option         "Buttons" "7"
    Option         "ButtonMapping" "1 2 3 6 7"
EndSection

Section "InputDevice"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
   Option      "HorizScrollDelta"   "0"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "ati0"
        Driver      "ati"
        Option      "MonitorLayout"  "LVDS, TMDS"
        Screen      0
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "ati1"
        Driver      "ati"
        Option      "MonitorLayout"  "LVDS, TMDS"
        Screen      1
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ati0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes     "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "ati1"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes     "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        Option         "Xinerama"   "true"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice     "stylus" "SendCoreEvents"
   InputDevice     "cursor" "SendCoreEvents"
   InputDevice     "eraser" "SendCoreEvents"
   InputDevice   "Synaptics Touchpad"
EndSection

Section "DRI"
   Mode   0666
EndSection
zergxx
帖子: 29
注册时间: 2006-11-24 13:09

#2

帖子 zergxx » 2007-04-19 23:30

现在用MergedFB模式,倒是从来不会死机

但是两个显示器的分辨率有问题,我一个是T40本,1024×768,一个是19寸的1280×1024

试过下面的设置,但是还是19寸的那个不能以1280×1024来显示,有一部分是黑的

代码: 全选

Section "Device"
   Identifier   "ATI Technologies, Inc. Radeon Mobility M7 LW [Radeon Mobility 9000]"
   Driver      "ati"
   BusID      "PCI:1:0:0"
       Option  "MonitorLayout"                 "LCD, CRT"
        Option  "CRT2Position"                  "RightOf"
        Option  "MetaModes"                     "1280x1024-1024x768"
        Option  "MergedXinerama"                "on"
        Option  "MergedNonRectangular"          "true"
        Option  "MergedFB"                      "true"
EndSection
回复