LinuxSir.cn,穿越时空的Linuxsir!

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

Matrox G400双显配置问题求教

[复制链接]
发表于 2005-11-7 16:12:26 | 显示全部楼层 |阅读模式
想在debian下面配置双显,按照matrox提供的驱动说明文档安装并修改了/etc/X11/xorg.conf,如下:

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "record"
        Load        "type1"
        Load        "v4l"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        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                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "MGA G400 1"
        Driver                "mga"
        BusID                "CI:1:0:0"
        VideoRam        32000
EndSection

Section "Device"
        Identifier        "MGA G400 2"
        Driver                "mga"
        BusID                "CI:1:0:0"
        VideoRam        32000
EndSection

Section "Monitor"
        Identifier        "Artmedia A-750T Monitor"
        Option                "DPMS"
        HorizSync        30-96
        VertRefresh        50-160
EndSection

Section "Monitor"
        Identifier        "DELL P793 Monitor"
        Option                "DPMS"
        HorizSync        30-96
        VertRefresh        50-160
EndSection

Section "Screen"
        Identifier        "Screen 1"
        Device                "MGA G400 1"
        Monitor                "Artmedia A-750T Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "Screen 2"
        Device                "MGA G400 2"
        Monitor                "DELL P793 Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Screen 1" RightOf “Screen 2”
        Screen          "Screen 2"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection


改完之后Gnome启动不了,说有两个device,哪位高人给咱指点指点。多谢了
没改过的/etc/X11/xorg.conf如下

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "record"
        Load        "type1"
        Load        "v4l"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        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                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "MGA G400"
        Driver                "mga"
        BusID                "CI:1:0:0"
        VideoRam        32000
EndSection

Section "Monitor"
        Identifier        "Artmedia A-750T Monitor"
        Option                "DPMS"
        HorizSync        30-96
        VertRefresh        50-160
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "MGA G400"
        Monitor                "Artmedia A-750T Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection
发表于 2005-11-7 21:23:34 | 显示全部楼层
以前配置过ATI的双头,不太成功
两个BusID似乎应该是不同的
回复 支持 反对

使用道具 举报

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

本版积分规则

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