如何让xrandr检测两个nvidia卡:2 x GTX480,三头?


10
  • 我正在运行Linux Mint 16(Petra)
  • 我正在运行发行版附带的默认驱动程序nvidia-319
  • 我有2张GTX480卡
  • 我有3个显示器
  • 使用Nvidia驱动程序,专有实用程序可以拾取所有显示器和GPU。

但是,类似于https://devtalk.nvidia.com/default/topic/719768/linux/304-121-ubuntu-14-04-xrandr-1-4-multi-gpu-not-being-detected上的报告/当我运行xrandr --listproviders时,只向我显示一个提供程序—第一张卡。我有xrandr 1.4,因此应该能够看到两者。如果我设置了一个单独的X屏幕,然后执行xrandr --listproviders --screen 1,则可以看到第二张卡片。但是,我不希望有多个X屏幕。我希望能够在监视器之间无缝地流动。

我不想运行xinerama,因为它设置起来很麻烦,应该由xrandr取代。

使用nouveau驱动程序,我可以完全按照我的意愿使用所有三个屏幕,但是性能并不理想。

因此,我有几个问题:

1.)这种行为是设计使然还是错误?我在http://uk.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html上注意到,该驱动程序仅支持Source Output功能。这会阻止我仅在xrandr中看到两个不同的卡提供商吗?

2)如果前者是正确的,我有办法解决这个问题吗?

3.)我玩过各种基本马赛克选项,但无济于事

我尝试的最后一个配置是:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VS247"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics W2243"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "AOC LM720/LM720A"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 480"
    BusID          "PCI:1:0:0"
EndSection

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

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 480"
    BusID          "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"       
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "BaseMosaic" "True"
    Option         "MetaModes" "GPU-1.CRT-0: 1280x1024+0+0, GPU-0.CRT-0: 1920x1080+1280+0, GPU-0.DFP-2: 1920x1080+3200+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"       
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "BaseMosaic" "True"
    Option         "MetaModes" "GPU-1.CRT-0: 1280x1024+0+0, GPU-0.CRT-0: 1920x1080+1280+0, GPU-0.DFP-2: 1920x1080+3200+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"       
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "BaseMosaic" "True"
    Option         "MetaModes" "GPU-1.CRT-0: 1280x1024+0+0, GPU-0.CRT-0: 1920x1080+1280+0, GPU-0.DFP-2: 1920x1080+3200+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

没有配置运行时的X日志是:

[     6.896] 
X.Org X Server 1.14.5
Release Date: 2013-12-12
[     6.896] X Protocol Version 11, Revision 0
[     6.896] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[     6.896] Current Operating System: Linux theoria 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64
[     6.896] Kernel command line: BOOT_IMAGE=/vmlinuz-3.11.0-12-generic root=UUID=3a6b3275-5e15-40c7-8de6-9eea1c63ebe1 ro quiet splash acpi_enforce_resources=lax
[     6.896] Build Date: 17 December 2013  10:06:15AM
[     6.896] xorg-server 2:1.14.5-1ubuntu2~saucy1 (For technical support please see http://www.ubuntu.com/support) 
[     6.896] Current version of pixman: 0.30.2
[     6.896]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     6.896] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.896] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr  9 07:12:33 2014
[     6.897] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.897] (==) No Layout section.  Using the first Screen section.
[     6.897] (==) No screen section available. Using defaults.
[     6.897] (**) |-->Screen "Default Screen Section" (0)
[     6.897] (**) |   |-->Monitor "<default monitor>"
[     6.898] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[     6.899] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[     6.899] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[     6.899] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     6.899] (II) Loader magic: 0x7fe4b0739d20
[     6.899] (II) Module ABI versions:
[     6.899]    X.Org ANSI C Emulation: 0.4
[     6.899]    X.Org Video Driver: 14.1
[     6.899]    X.Org XInput driver : 19.1
[     6.899]    X.Org Server Extension : 7.0
[     6.900] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.900] (II) xfree86: Adding drm device (/dev/dri/card1)
[     6.901] (--) PCI:*(0:1:0:0) 10de:06c0:10de:075f rev 163, Mem @ 0xf4000000/33554432, 0xe0000000/134217728, 0xe8000000/67108864, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     6.901] (--) PCI: (0:2:0:0) 10de:06c0:10de:075f rev 163, Mem @ 0xf0000000/33554432, 0xd0000000/134217728, 0xd8000000/67108864, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[     6.901] (II) Open ACPI successful (/var/run/acpid.socket)
[     6.901] Initializing built-in extension Generic Event Extension
[     6.901] Initializing built-in extension SHAPE
[     6.901] Initializing built-in extension MIT-SHM
[     6.901] Initializing built-in extension XInputExtension
[     6.901] Initializing built-in extension XTEST
[     6.901] Initializing built-in extension BIG-REQUESTS
[     6.901] Initializing built-in extension SYNC
[     6.901] Initializing built-in extension XKEYBOARD
[     6.901] Initializing built-in extension XC-MISC
[     6.901] Initializing built-in extension SECURITY
[     6.901] Initializing built-in extension XINERAMA
[     6.901] Initializing built-in extension XFIXES
[     6.901] Initializing built-in extension RENDER
[     6.901] Initializing built-in extension RANDR
[     6.901] Initializing built-in extension COMPOSITE
[     6.901] Initializing built-in extension DAMAGE
[     6.901] Initializing built-in extension MIT-SCREEN-SAVER
[     6.901] Initializing built-in extension DOUBLE-BUFFER
[     6.901] Initializing built-in extension RECORD
[     6.901] Initializing built-in extension DPMS
[     6.901] Initializing built-in extension X-Resource
[     6.901] Initializing built-in extension XVideo
[     6.901] Initializing built-in extension XVideo-MotionCompensation
[     6.901] Initializing built-in extension SELinux
[     6.901] Initializing built-in extension XFree86-VidModeExtension
[     6.901] Initializing built-in extension XFree86-DGA
[     6.901] Initializing built-in extension XFree86-DRI
[     6.901] Initializing built-in extension DRI2
[     6.901] (II) "glx" will be loaded by default.
[     6.901] (WW) "xmir" is not to be loaded by default. Skipping.
[     6.901] (II) LoadModule: "dri2"
[     6.901] (II) Module "dri2" already built-in
[     6.901] (II) LoadModule: "glamoregl"
[     6.903] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     6.964] (II) Module glamoregl: vendor="X.Org Foundation"
[     6.964]    compiled for 1.14.3, module version = 0.5.1
[     6.964]    ABI class: X.Org ANSI C Emulation, version 0.4
[     6.964] (II) LoadModule: "glx"
[     6.964] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[     6.993] (II) Module glx: vendor="NVIDIA Corporation"
[     6.993]    compiled for 4.0.2, module version = 1.0.0
[     6.993]    Module class: X.Org Server Extension
[     6.993] (II) NVIDIA GLX Module  319.60  Wed Sep 25 14:24:11 PDT 2013
[     6.993] Loading extension GLX
[     6.993] (==) Matched nvidia as autoconfigured driver 0
[     6.993] (==) Matched nouveau as autoconfigured driver 1
[     6.993] (==) Matched nvidia as autoconfigured driver 2
[     6.993] (==) Matched nouveau as autoconfigured driver 3
[     6.993] (==) Matched nvidia as autoconfigured driver 4
[     6.993] (==) Matched nouveau as autoconfigured driver 5
[     6.993] (==) Matched vesa as autoconfigured driver 6
[     6.993] (==) Matched modesetting as autoconfigured driver 7
[     6.993] (==) Matched fbdev as autoconfigured driver 8
[     6.993] (==) Assigned the driver to the xf86ConfigLayout
[     6.993] (II) LoadModule: "nvidia"
[     6.994] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[     7.001] (II) Module nvidia: vendor="NVIDIA Corporation"
[     7.001]    compiled for 4.0.2, module version = 1.0.0
[     7.001]    Module class: X.Org Video Driver
[     7.002] (II) LoadModule: "nouveau"
[     7.002] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     7.004] (II) Module nouveau: vendor="X.Org Foundation"
[     7.004]    compiled for 1.14.2.901, module version = 1.0.9
[     7.004]    Module class: X.Org Video Driver
[     7.004]    ABI class: X.Org Video Driver, version 14.1
[     7.004] (II) LoadModule: "vesa"
[     7.004] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     7.005] (II) Module vesa: vendor="X.Org Foundation"
[     7.005]    compiled for 1.14.1, module version = 2.3.2
[     7.005]    Module class: X.Org Video Driver
[     7.005]    ABI class: X.Org Video Driver, version 14.1
[     7.005] (II) LoadModule: "modesetting"
[     7.005] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     7.006] (II) Module modesetting: vendor="X.Org Foundation"
[     7.006]    compiled for 1.14.1, module version = 0.8.0
[     7.006]    Module class: X.Org Video Driver
[     7.006]    ABI class: X.Org Video Driver, version 14.1
[     7.006] (II) LoadModule: "fbdev"
[     7.006] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[     7.007] (II) Module fbdev: vendor="X.Org Foundation"
[     7.007]    compiled for 1.14.1, module version = 0.4.3
[     7.007]    Module class: X.Org Video Driver
[     7.007]    ABI class: X.Org Video Driver, version 14.1
[     7.007] (II) NVIDIA dlloader X Driver  319.60  Wed Sep 25 14:04:14 PDT 2013
[     7.007] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     7.007] (II) NOUVEAU driver Date:   Wed Jul 31 10:51:03 2013 +1000
[     7.007] (II) NOUVEAU driver for NVIDIA chipset families :
[     7.007]    RIVA TNT        (NV04)
[     7.007]    RIVA TNT2       (NV05)
[     7.007]    GeForce 256     (NV10)
[     7.007]    GeForce 2       (NV11, NV15)
[     7.007]    GeForce 4MX     (NV17, NV18)
[     7.007]    GeForce 3       (NV20)
[     7.007]    GeForce 4Ti     (NV25, NV28)
[     7.007]    GeForce FX      (NV3x)
[     7.008]    GeForce 6       (NV4x)
[     7.008]    GeForce 7       (G7x)
[     7.008]    GeForce 8       (G8x)
[     7.008]    GeForce GTX 200 (NVA0)
[     7.008]    GeForce GTX 400 (NVC0)
[     7.008] (II) VESA: driver for VESA chipsets: vesa
[     7.008] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     7.008] (II) FBDEV: driver for framebuffer: fbdev
[     7.008] (++) using VT number 7

[     7.021] (II) Loading sub module "fb"
[     7.021] (II) LoadModule: "fb"
[     7.021] (II) Loading /usr/lib/xorg/modules/libfb.so
[     7.022] (II) Module fb: vendor="X.Org Foundation"
[     7.022]    compiled for 1.14.5, module version = 1.0.0
[     7.022]    ABI class: X.Org ANSI C Emulation, version 0.4
[     7.022] (WW) Unresolved symbol: fbGetGCPrivateKey
[     7.022] (II) Loading sub module "wfb"
[     7.022] (II) LoadModule: "wfb"
[     7.022] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     7.024] (II) Module wfb: vendor="X.Org Foundation"
[     7.024]    compiled for 1.14.5, module version = 1.0.0
[     7.024]    ABI class: X.Org ANSI C Emulation, version 0.4
[     7.024] (II) Loading sub module "shadow"
[     7.024] (II) LoadModule: "shadow"
[     7.024] (II) Loading /usr/lib/xorg/modules/libshadow.so
[     7.025] (II) Module shadow: vendor="X.Org Foundation"
[     7.025]    compiled for 1.14.5, module version = 1.1.0
[     7.025]    ABI class: X.Org ANSI C Emulation, version 0.4
[     7.025] (II) Loading sub module "ramdac"
[     7.025] (II) LoadModule: "ramdac"
[     7.025] (II) Module "ramdac" already built-in
[     7.026] (EE) [drm] KMS not enabled
[     7.026] (WW) Falling back to old probe method for vesa
[     7.026] (WW) Falling back to old probe method for modesetting
[     7.026] (WW) Falling back to old probe method for fbdev
[     7.026] (II) Loading sub module "fbdevhw"
[     7.026] (II) LoadModule: "fbdevhw"
[     7.026] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     7.027] (II) Module fbdevhw: vendor="X.Org Foundation"
[     7.027]    compiled for 1.14.5, module version = 0.0.2
[     7.027]    ABI class: X.Org Video Driver, version 14.1
[     7.027] (EE) open /dev/fb0: No such file or directory
[     7.027] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[     7.027] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     7.027] (==) NVIDIA(0): RGB weight 888
[     7.027] (==) NVIDIA(0): Default visual is TrueColor
[     7.027] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     7.027] (**) NVIDIA(0): Enabling 2D acceleration
[     7.627] (II) NVIDIA(GPU-0): Display (LG Electronics W2243 (CRT-0)) does not support NVIDIA
[     7.627] (II) NVIDIA(GPU-0):     3D Vision stereo.
[     7.656] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS247 (DFP-2)) does not
[     7.656] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[     7.657] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 480 (GF100) at PCI:1:0:0 (GPU-0)
[     7.657] (--) NVIDIA(0): Memory: 1572864 kBytes
[     7.657] (--) NVIDIA(0): VideoBIOS: 70.00.21.00.02
[     7.657] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     7.659] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 480 at PCI:1:0:0
[     7.659] (--) NVIDIA(0):     LG Electronics W2243 (CRT-0) (boot, connected)
[     7.659] (--) NVIDIA(0):     CRT-1
[     7.659] (--) NVIDIA(0):     DFP-0
[     7.659] (--) NVIDIA(0):     DFP-1
[     7.659] (--) NVIDIA(0):     Ancor Communications Inc ASUS VS247 (DFP-2) (connected)
[     7.659] (--) NVIDIA(0): LG Electronics W2243 (CRT-0): 400.0 MHz maximum pixel clock
[     7.659] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[     7.659] (--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
[     7.659] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[     7.659] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[     7.659] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[     7.659] (--) NVIDIA(0): Ancor Communications Inc ASUS VS247 (DFP-2): 330.0 MHz maximum pixel clock
[     7.659] (--) NVIDIA(0): Ancor Communications Inc ASUS VS247 (DFP-2): Internal Dual Link TMDS
[     7.659] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     7.659] (**) NVIDIA(0):     device LG Electronics W2243 (CRT-0) (Using EDID
[     7.659] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[     7.659] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     7.660] (**) NVIDIA(0):     device Ancor Communications Inc ASUS VS247 (DFP-2) (Using
[     7.660] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[     7.660] (**) NVIDIA(0):     devices.)
[     7.661] (==) NVIDIA(0): 
[     7.661] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[     7.661] (==) NVIDIA(0):     will be used as the requested mode.
[     7.661] (==) NVIDIA(0): 
[     7.661] (II) NVIDIA(0): Validated MetaModes:
[     7.661] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select{},DFP-2:nvidia-auto-select{}"
[     7.661] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 1080
[     7.681] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[     7.681] (--) NVIDIA(0):     option
[     7.681] (II) UnloadModule: "vesa"
[     7.681] (II) Unloading vesa
[     7.681] (II) UnloadModule: "fbdev"
[     7.681] (II) Unloading fbdev
[     7.681] (II) UnloadSubModule: "fbdevhw"
[     7.681] (II) Unloading fbdevhw
[     7.681] (--) Depth 24 pixmap format is 32 bpp
[     8.500] (II) NVIDIA(GPU-1): Found DRM driver nvidia-drm (20130102)
[     8.571] (II) NVIDIA(GPU-1): Display (AOC LM720/LM720A (CRT-0)) does not support NVIDIA 3D
[     8.571] (II) NVIDIA(GPU-1):     Vision stereo.
[     8.575] (II) NVIDIA(GPU-1): NVIDIA GPU GeForce GTX 480 (GF100) at PCI:2:0:0 (GPU-1)
[     8.575] (--) NVIDIA(GPU-1): Memory: 1572864 kBytes
[     8.575] (--) NVIDIA(GPU-1): VideoBIOS: 70.00.21.00.02
[     8.575] (II) NVIDIA(GPU-1): Detected PCI Express Link width: 16X
[     8.575] (--) NVIDIA(GPU-1): Valid display device(s) on GeForce GTX 480 at PCI:2:0:0
[     8.575] (--) NVIDIA(GPU-1):     AOC LM720/LM720A (CRT-0) (boot, connected)
[     8.575] (--) NVIDIA(GPU-1):     CRT-1
[     8.575] (--) NVIDIA(GPU-1):     DFP-0
[     8.575] (--) NVIDIA(GPU-1):     DFP-1
[     8.575] (--) NVIDIA(GPU-1):     DFP-2
[     8.575] (--) NVIDIA(GPU-1): AOC LM720/LM720A (CRT-0): 400.0 MHz maximum pixel clock
[     8.575] (--) NVIDIA(GPU-1): CRT-1: 400.0 MHz maximum pixel clock
[     8.575] (--) NVIDIA(GPU-1): DFP-0: 330.0 MHz maximum pixel clock
[     8.575] (--) NVIDIA(GPU-1): DFP-0: Internal Single Link TMDS
[     8.575] (--) NVIDIA(GPU-1): DFP-1: 165.0 MHz maximum pixel clock
[     8.575] (--) NVIDIA(GPU-1): DFP-1: Internal Single Link TMDS
[     8.575] (--) NVIDIA(GPU-1): DFP-2: 330.0 MHz maximum pixel clock
[     8.575] (--) NVIDIA(GPU-1): DFP-2: Internal Single Link TMDS
[     8.575] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[     8.575] (II) NVIDIA:     access.
[     8.579] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select{},DFP-2:nvidia-auto-select{}"
[     8.662] Loading extension NV-GLX
[     8.755] (==) NVIDIA(0): Disabling shared memory pixmaps
[     8.755] (==) NVIDIA(0): Backing store disabled
[     8.755] (==) NVIDIA(0): Silken mouse enabled
[     8.755] (==) NVIDIA(0): DPMS enabled
[     8.756] Loading extension NV-CONTROL
[     8.756] Loading extension XINERAMA
[     8.756] (II) Loading sub module "dri2"
[     8.756] (II) LoadModule: "dri2"
[     8.756] (II) Module "dri2" already built-in
[     8.756] (II) NVIDIA(0): [DRI2] Setup complete
[     8.756] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     8.756] (--) RandR disabled
[     8.759] (II) SELinux: Disabled on system
[     8.759] (II) Initializing extension GLX
[     8.771] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[     8.776] (II) config/udev: Adding drm device (/dev/dri/card0)
[     8.776] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[   666.012] (II) NVIDIA(GPU-0): Display (LG Electronics W2243 (CRT-0)) does not support NVIDIA
[   666.012] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   666.012] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   666.012] (**) NVIDIA(0):     device LG Electronics W2243 (CRT-0) (Using EDID
[   666.012] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[   666.043] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS247 (DFP-2)) does not
[   666.043] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[   666.043] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   666.043] (**) NVIDIA(0):     device Ancor Communications Inc ASUS VS247 (DFP-2) (Using
[   666.043] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[   666.043] (**) NVIDIA(0):     devices.)
[   666.204] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DVI-I-3: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[   666.236] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DVI-I-3: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[   666.345] (II) NVIDIA(GPU-0): Display (LG Electronics W2243 (CRT-0)) does not support NVIDIA
[   666.345] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   666.345] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   666.345] (**) NVIDIA(0):     device LG Electronics W2243 (CRT-0) (Using EDID
[   666.345] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[   666.376] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS247 (DFP-2)) does not
[   666.376] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[   666.376] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   666.376] (**) NVIDIA(0):     device Ancor Communications Inc ASUS VS247 (DFP-2) (Using
[   666.376] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[   666.376] (**) NVIDIA(0):     devices.)
[   667.413] (II) NVIDIA(GPU-0): Display (LG Electronics W2243 (CRT-0)) does not support NVIDIA
[   667.413] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   667.413] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   667.413] (**) NVIDIA(0):     device LG Electronics W2243 (CRT-0) (Using EDID
[   667.413] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[   667.444] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS247 (DFP-2)) does not
[   667.444] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[   667.444] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   667.444] (**) NVIDIA(0):     device Ancor Communications Inc ASUS VS247 (DFP-2) (Using
[   667.444] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[   667.444] (**) NVIDIA(0):     devices.)
[   667.560] (II) XKB: reuse xkmfile /var/lib/xkb/server-7996F6726817F73651B9DE0FDA11E35FC4524568.xkm
[   667.568] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.724] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.727] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.730] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.733] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.736] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.739] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   668.742] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
[   687.505] (II) NVIDIA(GPU-0): Display (LG Electronics W2243 (CRT-0)) does not support NVIDIA
[   687.505] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   687.505] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   687.505] (**) NVIDIA(0):     device LG Electronics W2243 (CRT-0) (Using EDID
[   687.505] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[   687.536] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS247 (DFP-2)) does not
[   687.536] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[   687.536] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   687.536] (**) NVIDIA(0):     device Ancor Communications Inc ASUS VS247 (DFP-2) (Using
[   687.536] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[   687.536] (**) NVIDIA(0):     devices.)
[  1212.601] (II) evdev: Eee PC WMI hotkeys: Close
[  1212.601] (II) UnloadModule: "evdev"
[  1212.601] (II) evdev: USB USB Keykoard: Close
[  1212.601] (II) UnloadModule: "evdev"
[  1212.601] (II) evdev: USB USB Keykoard: Close
[  1212.601] (II) UnloadModule: "evdev"
[  1212.601] (II) evdev: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM): Close
[  1212.601] (II) UnloadModule: "evdev"
[  1212.601] (II) evdev: Power Button: Close
[  1212.601] (II) UnloadModule: "evdev"
[  1212.601] (II) evdev: Power Button: Close
[  1212.601] (II) UnloadModule: "evdev"
[  1212.860] (EE) Server terminated successfully (0). Closing log file.

任何帮助将不胜感激。


我已摘录了一些日志以保持字符数
马丁夏娃

Answers:


3

马丁-我的设置非常相似,除了一对nvidia GT9800之外-大约在2008年!也是板载Intel HD4000(在BIOS中禁用)。xrandr仅显示1 gpu,尽管所有其他与sys相关的工具均正确报告了这两种情况。Ubuntu 14.04 LTS Beta 2,Nvidia 331.28专有

昨晚对我来说,圣杯的修复方法是:基础马赛克!空的xorg.conf,nvidia x服务器设置->启用基本镶嵌,然后启用每个检测到的显示。一切都正常!带有1个xscreen的快速无缝多GPU多头多显示器设置!我的3台显示器具有不同的分辨率,其中一个是旋转人像。甚至ubuntu设置-正确显示所有3台显示器。

我建议升级到nvidia 331.28专有驱动程序,删除xorg.conf,然后再次尝试建立Mosaic。

-乍得

➜〜nvidia-xconfig --query-gpu-info

Number of GPUs: 2
GPU #0:
  Name      : GeForce 9800 GT
  UUID      : GPU-56281125-01c7-ee85-b8b9-b3e5cf94b7c5
  PCI BusID : PCI:1:0:0
  Number of Display Devices: 1
  Display Device 0 (CRT-0):
      EDID Name             : Samsung SyncMaster
      Minimum HorizSync     : 30.000 kHz
      Maximum HorizSync     : 81.000 kHz
      Minimum VertRefresh   : 56 Hz
      Maximum VertRefresh   : 75 Hz
      Maximum PixelClock    : 146.250 MHz
      Maximum Width         : 1680 pixels
      Maximum Height        : 1050 pixels
      Preferred Width       : 1680 pixels
      Preferred Height      : 1050 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 470 mm
      Physical Height       : 300 mm
GPU #1:
  Name      : GeForce 9800 GT
  UUID      : GPU-cbc59e3f-e8c1-a347-a069-b62f6b885f7d
  PCI BusID : PCI:2:0:0
  Number of Display Devices: 2
  Display Device 0 (CRT-0):
      EDID Name             : Samsung SyncMaster
      Minimum HorizSync     : 30.000 kHz
      Maximum HorizSync     : 81.000 kHz
      Minimum VertRefresh   : 56 Hz
      Maximum VertRefresh   : 75 Hz
      Maximum PixelClock    : 140.000 MHz
      Maximum Width         : 1280 pixels
      Maximum Height        : 1024 pixels
      Preferred Width       : 1440 pixels
      Preferred Height      : 900 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 410 mm
      Physical Height       : 270 mm

  Display Device 1 (DFP-1):
      EDID Name             : Ancor Communications Inc ASUS VH242H
      Minimum HorizSync     : 30.000 kHz
      Maximum HorizSync     : 85.000 kHz
      Minimum VertRefresh   : 55 Hz
      Maximum VertRefresh   : 75 Hz
      Maximum PixelClock    : 160.000 MHz
      Maximum Width         : 1920 pixels
      Maximum Height        : 1080 pixels
      Preferred Width       : 1920 pixels
      Preferred Height      : 1080 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 520 mm
      Physical Height       : 290 mm

以下是我的xorg.conf-生成的所有x服务器设置。请注意,这非常简单,甚至都没有引用我的第二个GPU。

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 331.20  (buildd@roseapple)  Mon Feb  3 15:07:22 UTC 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

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

Section "Screen"

auto-select +3600+0 {rotation=right}, GPU-cbc59e3f-e8c1-a347-a069-b62f6b885f7d.GPU-1.DVI-I-3: nvidia-auto-select +1680+180"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "GPU-56281125-01c7-ee85-b8b9-b3e5cf94b7c5.GPU-0.DVI-I-0: nvidia-auto-select +0+180, GPU-cbc59e3f-e8c1-a347-a069-b62f6b885f7d.GPU-1.DVI-I-0: nvidia-auto-select +3600+0 {rotation=right}, GPU-cbc59e3f-e8c1-a347-a069-b62f6b885f7d.GPU-1.DVI-I-3: nvidia-auto-select +1680+180"
    Option         "MultiGPU" "Off"
    Option         "SLI" "off"
    Option         "BaseMosaic" "on"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

嗯 越来越近。谢谢您的帮助!我实施了类似的解决方案,但现在:[209.366](EE)NVIDIA(GPU-0):无法找到有效的基本镶嵌配置。[209.366](EE)NVIDIA(GPU-0):无效的基本镶嵌配置1 of 1:[209.366](EE)NVIDIA(GPU-0):GPU:[209.366](EE)NVIDIA(GPU-0):1 )PCI:1:0:0 [209.366](EE)的NVIDIA GPU(EE)NVIDIA(GPU-0):2)PCI:2:0:0 [209.366](EE)的NVIDIA GPU(EE)NVIDIA(GPU-0):错误:[209.366](EE)NVIDIA(GPU-0):-未检测到视频链接[209.366](EE)NVIDIA(GPU-0):-无法访问PCI Config空间
Martin Eve

您是否安装了SLI桥接器(硬件)?
马丁前夕

非常感谢@chadical的帮助。我玩了一些之后,这终于起作用了:martineve.com/2014/04/15/…(您可能想更新您的答案,但我会奖励悬赏,因为它现在正在起作用!)
Martin Eve

0

该线程对我有很大帮助,但是比答案中描述的步骤多得多,因此我认为我将对适用于我的详细步骤发表评论。

  1. 使用“系统设置”中的“驱动程序管理器”应用程序选择“ nvidia-346”作为驱动程序(而不是“ nvidia-346-updates”)。点击“应用更改”。一旦应用程序完成处理,将不会发生任何事情(将不会安装任何东西,不会出现提示,也不会显示任何消息)。重新启动计算机(这是必需的,因为NVIDIA的驱动程序显然修改了内核,只有完全重新启动系统才能完成安装)。
  2. 重新启动后启动Linux Mint时,Cinnamon会损坏,只有2个显示器可以工作。不要打扰修复Cinnamon,这只会导致您走上无用安装的道路。
  3. 启动“终端”应用程序。当肉桂棒破裂时,这将非常棘手,因为任务栏的“应用程序”列表中神秘地缺少“端子”!并且在桌面上单击鼠标右键也已损坏。我发现启动它的唯一方法是使用在步骤1中创建的快捷方式,或使用键盘快捷键Alt + F2。当弹出窗口询问您键入要运行的命令时,请使用“ sudo ls”并选中“使用终端”复选框。终端启动时,使用Ctrl + Shift + T键盘快捷键打开一个新的终端选项卡。现在,您可以关闭等待sudo密码的原始选项卡。(您想在任何时候启动新的终端窗口时都需要这样做)。
  4. 在终端中,运行以下命令:

    sudo apt-add-repository ppa:xorg-edgers 
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install nvidia-346 nvidia-settings
    sudo apt-get --purge remove xserver-xorg-video-nouveau
    sudo apt-get autoremove
    
  5. 重新启动计算机。没有UI按钮可以执行此操作,因此您需要运行sudo reboot

  6. 重新启动计算机后,一切仍然会中断。我不确定第7步和第8步。可能不需要它们,但是我这样做是为了找出问题所在,因此以防万一。

  7. 接下来,运行sudo gedit /etc/default/grub。在编辑器中,找到定义的行GRUB_CMDLINE_LINUX_DEFAULT并将其更改为:

    GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
    
  8. 现在,在终端中运行以下命令:

    sudo update-initramfs -u
    sudo update-grub2
    sudo update-grub
    
  9. 现在用于sudo gedit /etc/X11/xorg.conf编辑X Config文件。这一步很烂,因为没有用于编辑此配置文件的漂亮GUI,并且如果您出错并损坏了此文件-下次重新启动时-您将不再具有GUI,甚至可能没有工作的控制台。首先备份此文件。备份后,您通常需要遵循此处概述的内容:https : //www.martineve.com/2014/04/15/enabling-a-triple-head-3-monitor-setup-on-linux-mint带有两张NVIDIA卡的-16-佩特拉/对我来说,我所做的更改是:

    • 确保“ ServerLayout”部分仅定义屏幕0。应该没有行定义“屏幕1”。如果您有这样一条线,请将其删除。
    • 在“屏幕”部分,确保:
      • MultiGPU已关闭
      • SLI已开启
      • SLIMosaic是真实的
      • BaseMosaic是真实的
  10. 最后一次重启。当您回来时,Cinnamon应该会再次工作,并且您所有的3台显示器都将再次工作。现在,您可以使用NVIDIA Settings GUI来设置分辨率和屏幕位置/旋转度等。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.