2

Недавно я получил 2-ую видеокарту для добавления 3-го монитора, но у меня были проблемы с отображением 3-го монитора. Конфигурации сервера nvidia x распознают 3-й монитор и 2-ю графическую карту. Когда я пытаюсь включить третий монитор через настройки nvidia и перезагружаюсь, он просто возвращается без изменений. Я открываю настройки nvidia и 3-й монитор снова отключен. Я попытался отредактировать файл xorg.conf вручную, чтобы попытаться добавить третий экран, но пока мне не повезло.

Я использую Linux Mint с 2 графическими картами Geforce 750ti. Насколько я понимаю, они не соответствуют SLI, но используют настройку MultiGPU, которую я включил в файл conf.

Вот мой файл конфигурации, расположенный в: /etc/X11/xorg.conf

Я попытался добавить Screen2, но это не имело никакого эффекта. Любая помощь в правильном направлении была бы отличной!

# 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     "Default Layout"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen1"
    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      "DELL U2414H"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL U2414H"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "HP LA2206"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 750 Ti"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 750 Ti"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "On"
    Option         "BaseMosaic" "On"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "On"
    Option         "BaseMosaic" "On"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "On"
    Option         "BaseMosaic" "On"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

/var/log/Xorg.0.log

[  7784.174] X Protocol Version 11, Revision 0
[  7784.174] Build Operating System: Linux 3.2.0-70-generic x86_64 Ubuntu
[  7784.174] Current Operating System: Linux pruitt 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
[  7784.174] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=8197c4cd-c723-4a49-86d5-4ecd04dccbd7 ro quiet splash
[  7784.174] Build Date: 10 December 2014  06:15:52PM
[  7784.174] xorg-server 2:1.15.1-0ubuntu2.6 (For technical support please see http://www.ubuntu.com/support)
[  7784.174] Current version of pixman: 0.30.2
[  7784.174]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  7784.174] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7784.174] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 20 23:54:46 2015
[  7784.174] (==) Using config file: "/etc/X11/xorg.conf"
[  7784.174] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  7784.174] (==) ServerLayout "Default Layout"
[  7784.174] (**) |-->Screen "Screen0" (0)
[  7784.174] (**) |   |-->Monitor "Monitor0"
[  7784.175] (**) |   |-->Device "Device0"
[  7784.175] (**) |-->Screen "Screen1" (1)
[  7784.175] (**) |   |-->Monitor "Monitor1"
[  7784.175] (**) |   |-->Device "Device1"
[  7784.175] (**) |-->Screen "Screen2" (2)
[  7784.175] (**) |   |-->Monitor "Monitor2"
[  7784.175] (**) |   |-->Device "Device2"
[  7784.175] (**) |-->Input Device "Keyboard0"
[  7784.175] (**) |-->Input Device "Mouse0"
[  7784.175] (**) Option "Xinerama" "0"
[  7784.175] (==) Automatically adding devices
[  7784.175] (==) Automatically enabling devices
[  7784.175] (==) Automatically adding GPU devices
[  7784.175] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  7784.175]    Entry deleted from font path.
[  7784.175] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  7784.175]    Entry deleted from font path.
[  7784.175] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  7784.175]    Entry deleted from font path.
[  7784.175] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  7784.175]    Entry deleted from font path.
[  7784.175] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  7784.175]    Entry deleted from font path.
[  7784.175] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[  7784.175] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[  7784.175] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  7784.175] (WW) Disabling Keyboard0
[  7784.175] (WW) Disabling Mouse0
[  7784.175] (II) Loader magic: 0x7f579b6e8d40
[  7784.175] (II) Module ABI versions:
[  7784.175]    X.Org ANSI C Emulation: 0.4
[  7784.175]    X.Org Video Driver: 15.0
[  7784.175]    X.Org XInput driver : 20.0
[  7784.175]    X.Org Server Extension : 8.0
[  7784.175] (II) xfree86: Adding drm device (/dev/dri/card0)
[  7784.175] (II) xfree86: Adding drm device (/dev/dri/card1)
[  7784.176] (--) PCI:*(0:1:0:0) 10de:1380:1043:84bb rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  7784.176] (--) PCI: (0:2:0:0) 10de:1380:1043:84bb rev 162, Mem @ 0xdc000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[  7784.176] Initializing built-in extension Generic Event Extension
[  7784.176] Initializing built-in extension SHAPE
[  7784.177] Initializing built-in extension MIT-SHM
[  7784.177] Initializing built-in extension XInputExtension
[  7784.177] Initializing built-in extension XTEST
[  7784.177] Initializing built-in extension BIG-REQUESTS
[  7784.177] Initializing built-in extension SYNC
[  7784.177] Initializing built-in extension XKEYBOARD
[  7784.177] Initializing built-in extension XC-MISC
[  7784.177] Initializing built-in extension SECURITY
[  7784.177] Initializing built-in extension XINERAMA
[  7784.177] Initializing built-in extension XFIXES
[  7784.177] Initializing built-in extension RENDER
[  7784.177] Initializing built-in extension RANDR
[  7784.177] Initializing built-in extension COMPOSITE
[  7784.177] Initializing built-in extension DAMAGE
[  7784.177] Initializing built-in extension MIT-SCREEN-SAVER
[  7784.177] Initializing built-in extension DOUBLE-BUFFER
[  7784.177] Initializing built-in extension RECORD
[  7784.177] Initializing built-in extension DPMS
[  7784.177] Initializing built-in extension Present
[  7784.177] Initializing built-in extension DRI3
[  7784.177] Initializing built-in extension X-Resource
[  7784.177] Initializing built-in extension XVideo
[  7784.177] Initializing built-in extension XVideo-MotionCompensation
[  7784.177] Initializing built-in extension SELinux
[  7784.177] Initializing built-in extension XFree86-VidModeExtension
[  7784.177] Initializing built-in extension XFree86-DGA
[  7784.177] Initializing built-in extension XFree86-DRI
[  7784.177] Initializing built-in extension DRI2
[  7784.177] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[  7784.177] (II) "glx" will be loaded by default.
[  7784.177] (WW) "xmir" is not to be loaded by default. Skipping.
[  7784.177] (II) LoadModule: "glx"
[  7784.177] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[  7784.185] (II) Module glx: vendor="NVIDIA Corporation"
[  7784.185]    compiled for 4.0.2, module version = 1.0.0
[  7784.186]    Module class: X.Org Server Extension
[  7784.186] (II) NVIDIA GLX Module  331.113  Mon Dec  1 20:24:35 PST 2014
[  7784.186] Loading extension GLX
[  7784.186] (II) LoadModule: "nvidia"
[  7784.186] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[  7784.186] (II) Module nvidia: vendor="NVIDIA Corporation"
[  7784.186]    compiled for 4.0.2, module version = 1.0.0
[  7784.186]    Module class: X.Org Video Driver
[  7784.186] (II) NVIDIA dlloader X Driver  331.113  Mon Dec  1 20:01:51 PST 2014
[  7784.186] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  7784.186] (++) using VT number 7

[  7784.198] (II) Loading sub module "fb"
[  7784.198] (II) LoadModule: "fb"
[  7784.198] (II) Loading /usr/lib/xorg/modules/libfb.so
[  7784.198] (II) Module fb: vendor="X.Org Foundation"
[  7784.198]    compiled for 1.15.1, module version = 1.0.0
[  7784.198]    ABI class: X.Org ANSI C Emulation, version 0.4
[  7784.198] (WW) Unresolved symbol: fbGetGCPrivateKey
[  7784.198] (II) Loading sub module "wfb"
[  7784.198] (II) LoadModule: "wfb"
[  7784.198] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  7784.198] (II) Module wfb: vendor="X.Org Foundation"
[  7784.198]    compiled for 1.15.1, module version = 1.0.0
[  7784.198]    ABI class: X.Org ANSI C Emulation, version 0.4
[  7784.198] (II) Loading sub module "ramdac"
[  7784.198] (II) LoadModule: "ramdac"
[  7784.198] (II) Module "ramdac" already built-in
[  7784.199] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  7784.199] (==) NVIDIA(0): RGB weight 888
[  7784.199] (==) NVIDIA(0): Default visual is TrueColor
[  7784.199] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  7784.199] (**) NVIDIA(0): Option "Stereo" "0"
[  7784.199] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-1"
[  7784.199] (**) NVIDIA(0): Option "SLI" "Off"
[  7784.199] (**) NVIDIA(0): Option "MultiGPU" "On"
[  7784.199] (**) NVIDIA(0): Option "BaseMosaic" "On"
[  7784.199] (**) NVIDIA(0): Stereo disabled by request
[  7784.199] (**) NVIDIA(0): NVIDIA SLI disabled.
[  7784.199] (**) NVIDIA(0): NVIDIA Multi-GPU auto-select rendering option.
[  7784.199] (**) NVIDIA(0): Option "MetaModes" "HDMI-0: nvidia-auto-select +0+0"
[  7784.199] (**) NVIDIA(0): Enabling 2D acceleration
[  7785.002] (WW) NVIDIA(GPU-0): Both the "MultiGPU" and "SLI" X configuration options were
[  7785.002] (WW) NVIDIA(GPU-0):     specified.  The "SLI" option will take precedence.  Please
[  7785.002] (WW) NVIDIA(GPU-0):     see Chapter 29: Configuring SLI and Multi-GPU
[  7785.002] (WW) NVIDIA(GPU-0):     FrameRendering for more information.
[  7785.002] (EE) NVIDIA(GPU-0): Failed to find a valid Base Mosaic configuration.
[  7785.002] (EE) NVIDIA(GPU-0): Invalid Base Mosaic configuration 1 of 1:
[  7785.002] (EE) NVIDIA(GPU-0): GPUs:
[  7785.002] (EE) NVIDIA(GPU-0):     1) NVIDIA GPU at PCI:1:0:0
[  7785.002] (EE) NVIDIA(GPU-0):     2) NVIDIA GPU at PCI:2:0:0
[  7785.002] (EE) NVIDIA(GPU-0): Errors:
[  7785.002] (EE) NVIDIA(GPU-0):     - The video link was not detected
[  7785.002] (EE) NVIDIA(GPU-0):     - Unsupported GPU
[  7785.002] (EE) NVIDIA(GPU-0):     - Chipset not approved for SLI
[  7785.002] (WW) NVIDIA(GPU-0): Failed to find a valid Base Mosaic configuration for the
[  7785.002] (WW) NVIDIA(GPU-0):     NVIDIA graphics device PCI:1:0:0. Please see Chapter 29:
[  7785.002] (WW) NVIDIA(GPU-0):     Configuring SLI and Multi-GPU FrameRendering in the README
[  7785.002] (WW) NVIDIA(GPU-0):     for troubleshooting suggestions.

2 ответа2

2

Несколько мониторов - это действительно то, что требует изящества. Мне понадобилось некоторое время, чтобы заставить Х играть хорошо. На первый взгляд кажется, что "Экран 1" не был добавлен в "ServerLayout"

Посмотрите на мой файл xorg.conf, который я использую для 4 мониторов. Физически это выглядит примерно так:

Screen2 - Screen 1 - Screen 3
             |
          Screen 0

Вот мой файл xorg.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 960 1024
    Screen      1  "Screen1" 1280 0
    Screen      2  "Screen2" LeftOf "Screen1"
    Screen      3  "Screen3" RightOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
    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 HZ251H"
    HorizSync       30.0 - 85.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Dell DEL 1708FPBLK"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Dell DEL 1708FPBLK"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor3"
    VendorName     "Unknown"
    ModelName      "Dell DEL 1708FPBLK"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 240"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-0: 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" "DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

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

Надеюсь, что это немного помогает

1

Глупый я. Я прочитал спецификации онлайн для этой видеокарты, и она может обрабатывать 4 дисплея самостоятельно. Просто нужно было получить конвертер для DVI, и он работает как шарм.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .