无法使 Matrox 四头工作

无法使 Matrox 四头工作

我新安装了 xubuntu 13.04。我试图让我的 Matrox M9148 gpu 工作。我必须创建并编辑一个 xorg.conf 文件,现在卡输出到所有显示器,但没有程序窗口显示,即使它们在那里,我可以与它们交互。就好像它们的 alpha 设置为 0。甚至登录屏幕窗口也消失了,只有背景图像存在,如果我登录,还有桌面图标。此外,鼠标将移动到另一台显示器,但会变成一个 X,并且光标在屏幕 0 上重复为一个 X。

我在用手机,或者我会附加 xorg.conf 文件。我会在可以的时候这样做。

===================================================

这是 xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen3"
    Screen      3  "Screen3" Below "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    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"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "glx"
EndSection

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "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 "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

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

Section "Monitor"
    Identifier   "Monitor3"
    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",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "Independent"           # [<bool>]
        #Option     "UseKernelModule"       # [<bool>]
        #Option     "mon0_forcedvi"         # [<bool>]
        #Option     "mon1_forcedvi"         # [<bool>]
        #Option     "mon2_forcedvi"         # [<bool>]
        #Option     "mon3_forcedvi"         # [<bool>]
        #Option     "ICDOP1"                # [<bool>]
        #Option     "ICDOP2"                # [<bool>]
    Identifier  "Card0"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
        Screen      0
        Option      "Independent"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "kmsdev"                # <str>
        #Option     "ShadowFB"              # [<bool>]
    Identifier  "Card1"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
        Screen      1
        Option      "Independent"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "Rotate"                # <str>
        #Option     "fbdev"                 # <str>
        #Option     "debug"                 # [<bool>]
    Identifier  "Card2"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
        Screen      2
        Option      "Independent"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
        #Option     "ModeSetClearScreen"    # [<bool>]
    Identifier  "Card3"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
        Screen      3
        Option      "Independent"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
EndSection

Section "Screen"
    Identifier "Screen2"
    Device     "Card2"
    Monitor    "Monitor2"
EndSection

Section "Screen"
    Identifier "Screen3"
    Device     "Card3"
    Monitor    "Monitor3"
EndSection

答案1

好吧,我让它工作了,但不是我想要的那样。我在 ~/.xprofile 中使用 xrandr 来设置登录时的屏幕,这很好,但我不明白为什么它在 xorg.conf 中不起作用。

这是我的.xprofile:

xrandr --output mon0 --pos 528x0
xrandr --output mon1 --right-of mon0
xrandr --output mon2 --below mon1
xrandr --output mon3 --left-of mon2 

以下是我在 xorg.conf 中得到的结果:

    Section "Files"
    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"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "glx"
EndSection

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "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 "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
#   Option "RightOf" "Monitor0"
EndSection

Section "Monitor"
    Identifier   "Monitor2"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
#   Option  "Below" "Monitor1"
EndSection

Section "Monitor"
    Identifier   "Monitor3"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
#   Option "Below" Monitor0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "Independent"           # [<bool>]
        #Option     "UseKernelModule"       # [<bool>]
        #Option     "mon0_forcedvi"         # [<bool>]
        #Option     "mon1_forcedvi"         # [<bool>]
        #Option     "mon2_forcedvi"         # [<bool>]
        #Option     "mon3_forcedvi"         # [<bool>]
        #Option     "ICDOP1"                # [<bool>]
        #Option     "ICDOP2"                # [<bool>]
    Identifier  "Card0"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
#   Option      "Independent"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "kmsdev"                # <str>
        #Option     "ShadowFB"              # [<bool>]
    Identifier  "Card1"
#   Driver      "modesetting"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
#   Option "Independent"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "Rotate"                # <str>
        #Option     "fbdev"                 # <str>
        #Option     "debug"                 # [<bool>]
    Identifier  "Card2"
#   Driver      "fbdev"
    Driver "m9x"
    BusID       "PCI:1:0:0"
#   Option "Independent"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
        #Option     "ModeSetClearScreen"    # [<bool>]
    Identifier  "Card3"
    Driver      "m9x"
    BusID       "PCI:1:0:0"
#   Option      "Independent"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    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
        Modes   "1680x1050" "1600x1200" "1400x900" "1280x800" "1280x768" "1152x864" "1024x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    DefaultDepth 24
    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
        Modes   "1680x1050" "1600x1200" "1400x900" "1280x800" "1280x768" "1152x864" "1024x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen2"
    Device     "Card2"
    Monitor    "Monitor2"
    DefaultDepth 24
    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
        Modes   "1680x1050" "1600x1200" "1400x900" "1280x800" "1280x768" "1152x864" "1024x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen3"
    Device     "Card3"
    Monitor    "Monitor3"
    DefaultDepth 24
    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
        Modes   "1680x1050" "1600x1200" "1400x900" "1280x800" "1280x768" "1152x864" "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier     "QuadScreen"
    Screen      0  "Screen0" 528 0
    Screen      1  "Screen1" 1681 0
    Screen      2  "Screen2" 1681 865
    Screen      3  "Screen3" 0 865
    Option      "Xinerama"   "true"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

我希望我可以让 X 自行工作而不需要 xrandr 的东西,但是在登录屏幕上,看起来所有的屏幕都在那里,但只是堆叠在一起并在所有显示器上镜像/复制。

现在没有什么大问题,因为它正在工作,但如果有人有任何线索,我很乐意听到......

答案2

这是我的 xorg.conf,在 10.04 上与 Matrox M9140 配合使用。我尝试在 13.04 上使用它,它有效。我使用的是 gdm(不是 lightgdm)。我的显示器的物理排列如下:

[2][3]
[1][4]

这是我的 /etc/X11/xorg.conf:

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

Section "Files"
        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"
        FontPath     "built-ins"
EndSection

Section "Module"
        Load  "record"
        Load  "dri"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
        Load  "dri2"
EndSection

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

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

Section "Monitor"
        Identifier   "monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection
Section "Monitor"
        Identifier   "monitor2"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option          "Above" "monitor1"
EndSection
Section "Monitor"
        Identifier   "monitor3"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option          "RightOf" "monitor2"
EndSection
Section "Monitor"
        Identifier   "monitor4"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option          "Below" "monitor3"
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     "Independent"               # [<bool>]
        Option     "UseKernelModule" "On"       # [<bool>]
        #Option     "mon0_forcedvi"             # [<bool>]
        #Option     "mon1_forcedvi"             # [<bool>]
        #Option     "mon2_forcedvi"             # [<bool>]
        #Option     "mon3_forcedvi"             # [<bool>]
        #Option     "ICDOP1"                    # [<bool>]
        #Option     "ICDOP2"                    # [<bool>]
        Identifier  "Card0"
        Driver      "m9x"
        VendorName  "Matrox Graphics, Inc."
        BoardName   "M91XX"
        BusID       "PCI:1:0:0"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        Option          "monitor-mon0" "monitor1"
        Option          "monitor-mon1" "monitor2"
        Option          "monitor-mon2" "monitor3"
        Option          "monitor-mon3" "monitor4"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Section "Extensions"
  Option "Composite" "true"
EndSection

相关内容