如何在 Linux Mint 15 上运行 3 个显示器(2 个视频卡)?

如何在 Linux Mint 15 上运行 3 个显示器(2 个视频卡)?

我正在尝试将我的 PC 从 Windows 切换到 Linux Mint 15。我有三个显示器,它们在 Windows 下运行良好。安装 Mint 后(发现它自然只使用 1 个显示器),我尝试使用“显示”添加另外两个显示器;但是,这样做并不能利用我的两个 Nvidia GeForce 9600 显卡。屏幕反复闪烁,整个系统变慢。我已使用sudo apt-get install nvidia-current 并下载并运行 Nvidia 提供的“NVidia...run”文件安装了 nvidia 驱动程序。然后,使用 nvidia Server x 配置启用了另外两个显示器。每当我执行此操作并重新启动 x 服务时,所有三个显示器都会启用,但 Cinnamon 会反复崩溃(留下一个奇怪的、无法使用的桌面,其中所有托盘图标和菜单在主显示器上重复三遍)。

我怎样才能让所有 3 个显示器工作(一个桌面跨越三个显示器)?

我尝试过到处搜索,虽然很多地方都多次讨论过这个问题,但这些讨论都不是最新和全面的(而少数接近的讨论也导致了上述结果)。

我将添加该问题所需的任何信息。

信息:

返回自inxi -Gx

Graphics:  Card-1: NVIDIA G94 [GeForce 9600 GT] bus-ID: 01:00.0 
           Card-2: NVIDIA G94 [GeForce 9600 GT] bus-ID: 02:00.0 
           X.Org: 1.13.3 driver: nvidia Resolution: 4320x900 
           GLX Renderer: GeForce 9600 GT/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 304.88 Direct Rendering: Yes

返回自cinnamon --version
Cinnamon 1.8.8

这是一个在职的Nvidia 为单身的屏幕:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.88  (buildmeister@swio-display-x86-rhel47-06)  Wed Mar 27 15:32:58 PDT 2013

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

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    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      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

这是不工作Nvidia 生成的 xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.88  (buildd@lamiak)  Wed Apr 10 16:20:15 UTC 2013

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

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HannStar Display Corp Hanns.G HW191"
    HorizSync       30.0 - 83.0
    VertRefresh     49.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "HannStar Display Corp Hanns.G HW191"
    HorizSync       0.0 - 0.0
    VertRefresh     0.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600 GT"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600 GT"
    BusID          "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1440+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

答案1

我花了几个星期尝试在我的机器(HP XW8400,配有 2 张相同的 NVS 290 卡)上实现这个功能,但无济于事。最后我切换到了 KDE,一切正常。我肯定这不是你想听到的,但请试一试:

在 NVIDIA 工具中,您需要启用所有 3 个显示器。您目前只能使用单独的 X Screen 启用它们,并选中 Xinerama。这实际上不会得到您想要的结果,但它将允许以下命令工作。

sudo nvidia-xconfig --separate-x-screens --render-accel --xinerama

如果出现错误,请确保三个命令选项前面有双破折号。输出应如下所示:

user@host:~$ sudo nvidia-xconfig --separate-x-screens --render-accel --xinerama

Using X configuration file: "/etc/X11/xorg.conf".
Option "RenderAccel" "True" added to Screen "Screen0".
Option "RenderAccel" "True" added to Screen "Screen1".
Option "RenderAccel" "True" added to Screen "Screen2".

WARNING: The Composite X extension does not currently interact well with the
         Xinerama option; the Composite X extension will be disabled.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

再次,我无法让它在 Cinnamon 上运行(即启动到“故障回复模式”)。试一试,看看会发生什么。

相关内容