LinuxSir.cn,穿越时空的Linuxsir!

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

xorg.conf中ServerLayout设置

[复制链接]
发表于 2007-10-30 11:50:11 | 显示全部楼层 |阅读模式
其中Screen x  “Screen0” 0 0 中的数字x代表什么意思啊?

我想双屏独立显示,应该怎么弄?

貌似有个什么multihead 具体忘了,请高手指点

还有就是我这样设置有什么问题,为什么只有一个显示,另一个指示灯亮但无显示。并且报错说什么Screen0  not dri  capable

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

EndSection

Section "ServerLayout"
        Identifier        "Seat2"
        Screen       1 "Screen1"
        InputDevice        "Mouse2" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "unix/:7100"
        FontPath     "built-ins"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "GLcore"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "vnc"
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 "InputDevice"
        Identifier   "Mouse2"
        Driver       "mouse"
        Option       "rotocol" "auto"
        Option        "Device" "/dev/input/mouse2"
        Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        #DisplaySize          340   270        # mm
        Identifier   "Monitor0"
        VendorName   "DEL"
        ModelName    "DELL E176FP"
        HorizSync    31.0 - 80.0
        VertRefresh  56.0 - 75.0
        Option            "DPMS"
EndSection

Section "Monitor"
        #DisplaySize          310   230        # mm
        Identifier   "Monitor1"
        VendorName   "BNQ"
        ModelName    "BENQ FP557s"
        HorizSync    31.0 - 63.0
        VertRefresh  56.0 - 75.0
        Option            "DPMS"
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     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "ColorKey"                   # <i>
        #Option     "CacheLines"                 # <i>
        #Option     "Dac6Bit"                    # [<bool>]
        #Option     "DRI"                        # [<bool>]
        #Option     "NoDDC"                      # [<bool>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "XvMCSurfaces"               # <i>
        #Option     "ageFlip"                   # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82945G/GZ Integrated Graphics Controller"
        BusID       "CI:0:2:0"
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     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "Dac6Bit"                    # [<bool>]
        #Option     "Dac8Bit"                    # [<bool>]
        #Option     "BusType"                    # [<str>]
        #Option     "CPPIOMode"                  # [<bool>]
        #Option     "CPusecTimeout"              # <i>
        #Option     "AGPMode"                    # <i>
        #Option     "AGPFastWrite"               # [<bool>]
        #Option     "AGPSize"                    # <i>
        #Option     "GARTSize"                   # <i>
        #Option     "RingSize"                   # <i>
        #Option     "BufferSize"                 # <i>
        #Option     "EnableDepthMoves"           # [<bool>]
        #Option     "EnablePageFlip"             # [<bool>]
        #Option     "NoBackBuffer"               # [<bool>]
        #Option     "DMAForXv"                   # [<bool>]
        #Option     "FBTexPercent"               # <i>
        #Option     "DepthBits"                  # <i>
        #Option     "AccelDFS"                   # [<bool>]
        #Option     "anelOff"                   # [<bool>]
        #Option     "DDCMode"                    # [<bool>]
        #Option     "MonitorLayout"              # [<str>]
        #Option     "IgnoreEDID"                 # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "MergedFB"                   # [<bool>]
        #Option     "CRT2HSync"                  # [<str>]
        #Option     "CRT2VRefresh"               # [<str>]
        #Option     "CRT2Position"               # [<str>]
        #Option     "MetaModes"                  # [<str>]
        #Option     "MergedDPI"                  # [<str>]
        #Option     "MergedXinerama"             # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"         # [<bool>]
        #Option     "MergedNonRectangular"         # [<bool>]
        #Option     "MergedMouseRestriction"         # [<bool>]
        #Option     "DisplayPriority"            # [<str>]
        #Option     "anelSize"                  # [<str>]
        #Option     "ForceMinDotClock"           # <freq>
        #Option     "ColorTiling"                # [<bool>]
        #Option     "VideoKey"                   # <i>
        #Option     "RageTheatreCrystal"         # <i>
        #Option     "RageTheatreTunerPort"         # <i>
        #Option     "RageTheatreCompositePort"         # <i>
        #Option     "RageTheatreSVideoPort"         # <i>
        #Option     "TunerType"                  # <i>
        #Option     "RageTheatreMicrocPath"         # <str>
        #Option     "RageTheatreMicrocType"         # <str>
        #Option     "RenderAccel"                # [<bool>]
        #Option     "SubPixelOrder"              # [<str>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "DynamicClocks"              # [<bool>]
        #Option     "BIOSHotkeys"                # [<bool>]
        #Option     "VGAAccess"                  # [<bool>]
        #Option     "ReverseDDC"                 # [<bool>]
        #Option     "LVDSProbePLL"               # [<bool>]
        #Option     "AccelMethod"                # <str>
        #Option     "ConstantDPI"                # [<bool>]
        Identifier  "Card1"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "CI:4:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
 楼主| 发表于 2007-10-30 12:12:00 | 显示全部楼层
其中Screen x  “Screen0” 0 0 中的数字x代表什么意思啊?

我想双屏独立显示,应该怎么弄?

貌似有个什么multihead 具体忘了,请高手指点

还有就是我这样设置有什么问题,为什么只有一个显示,另一个指示灯亮但无显示。并且报错说什么Screen0  not dri  capable

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

EndSection

Section "ServerLayout"
        Identifier        "Seat2"
        Screen       1 "Screen1"
        InputDevice        "Mouse2" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "unix/:7100"
        FontPath     "built-ins"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "GLcore"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "vnc"
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 "InputDevice"
        Identifier   "Mouse2"
        Driver       "mouse"
        Option       "rotocol" "auto"
        Option        "Device" "/dev/input/mouse2"
        Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        #DisplaySize          340   270        # mm
        Identifier   "Monitor0"
        VendorName   "DEL"
        ModelName    "DELL E176FP"
        HorizSync    31.0 - 80.0
        VertRefresh  56.0 - 75.0
        Option            "DPMS"
EndSection

Section "Monitor"
        #DisplaySize          310   230        # mm
        Identifier   "Monitor1"
        VendorName   "BNQ"
        ModelName    "BENQ FP557s"
        HorizSync    31.0 - 63.0
        VertRefresh  56.0 - 75.0
        Option            "DPMS"
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     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "ColorKey"                   # <i>
        #Option     "CacheLines"                 # <i>
        #Option     "Dac6Bit"                    # [<bool>]
        #Option     "DRI"                        # [<bool>]
        #Option     "NoDDC"                      # [<bool>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "XvMCSurfaces"               # <i>
        #Option     "ageFlip"                   # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82945G/GZ Integrated Graphics Controller"
        BusID       "CI:0:2:0"
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     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "Dac6Bit"                    # [<bool>]
        #Option     "Dac8Bit"                    # [<bool>]
        #Option     "BusType"                    # [<str>]
        #Option     "CPPIOMode"                  # [<bool>]
        #Option     "CPusecTimeout"              # <i>
        #Option     "AGPMode"                    # <i>
        #Option     "AGPFastWrite"               # [<bool>]
        #Option     "AGPSize"                    # <i>
        #Option     "GARTSize"                   # <i>
        #Option     "RingSize"                   # <i>
        #Option     "BufferSize"                 # <i>
        #Option     "EnableDepthMoves"           # [<bool>]
        #Option     "EnablePageFlip"             # [<bool>]
        #Option     "NoBackBuffer"               # [<bool>]
        #Option     "DMAForXv"                   # [<bool>]
        #Option     "FBTexPercent"               # <i>
        #Option     "DepthBits"                  # <i>
        #Option     "AccelDFS"                   # [<bool>]
        #Option     "anelOff"                   # [<bool>]
        #Option     "DDCMode"                    # [<bool>]
        #Option     "MonitorLayout"              # [<str>]
        #Option     "IgnoreEDID"                 # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "MergedFB"                   # [<bool>]
        #Option     "CRT2HSync"                  # [<str>]
        #Option     "CRT2VRefresh"               # [<str>]
        #Option     "CRT2Position"               # [<str>]
        #Option     "MetaModes"                  # [<str>]
        #Option     "MergedDPI"                  # [<str>]
        #Option     "MergedXinerama"             # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"         # [<bool>]
        #Option     "MergedNonRectangular"         # [<bool>]
        #Option     "MergedMouseRestriction"         # [<bool>]
        #Option     "DisplayPriority"            # [<str>]
        #Option     "anelSize"                  # [<str>]
        #Option     "ForceMinDotClock"           # <freq>
        #Option     "ColorTiling"                # [<bool>]
        #Option     "VideoKey"                   # <i>
        #Option     "RageTheatreCrystal"         # <i>
        #Option     "RageTheatreTunerPort"         # <i>
        #Option     "RageTheatreCompositePort"         # <i>
        #Option     "RageTheatreSVideoPort"         # <i>
        #Option     "TunerType"                  # <i>
        #Option     "RageTheatreMicrocPath"         # <str>
        #Option     "RageTheatreMicrocType"         # <str>
        #Option     "RenderAccel"                # [<bool>]
        #Option     "SubPixelOrder"              # [<str>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "DynamicClocks"              # [<bool>]
        #Option     "BIOSHotkeys"                # [<bool>]
        #Option     "VGAAccess"                  # [<bool>]
        #Option     "ReverseDDC"                 # [<bool>]
        #Option     "LVDSProbePLL"               # [<bool>]
        #Option     "AccelMethod"                # <str>
        #Option     "ConstantDPI"                # [<bool>]
        Identifier  "Card1"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "CI:4:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

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

本版积分规则

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