LINUX.ORG.RU

xorg.conf 3 монитора 2 видеокарты?

 ,


1

1

Не могу сообразить как переписать xorg.conf для работы 3 мониторов.

uname -a
Linux job0 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

Видеокарты

lspci |grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
01:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1)

Xorq -configure

Получил xorg.conf.new

cp /root/xorg.conf.new /etc/X11/xorg.conf
startX
gnome 3 запустился но на 1 мониторе (intel) и очень странно. Уводишь мышь за правый борт она появляется слева.

В логе ошибки =(

в xorg.conf.new файле указано 4 секции Section «Device» почитал man и мне кажится их должно быть 3 причем 1 с BusID «PCI:0:2:0» два с BusID «PCI:1:0:0» но разными Screen

Вообщем помогите пожалуйста составить рабочий xorg.conf на 3 монитора



Последнее исправление: cetjs2 (всего исправлений: 2)

Ответ на: комментарий от aeX1pu2b

Вы уверены ?

Здесь, здесь да и тут говорят обратное

Да и в man xorg.conf намек есть

 BusID  "bus-id"
              This  specifies  the  bus location of the graphics card.  For PCI/AGP cards, the
              bus-id string has the form PCI:bus:device:function (e.g., “PCI:1:0:0”  might  be
              appropriate  for  an  AGP  card).  This field is usually optional in single-head
              configurations when using the primary graphics card.  In  multi-head  configura‐
              tions,  or  when using a secondary graphics card in a single-head configuration,
              this entry is mandatory.  Its main purpose is to make an unambiguous  connection
              between  the  device section and the hardware it is representing.  This informa‐
              tion can usually be found by running the pciaccess tool scanpci.

djorem
() автор топика

Я как - то делал так: X -configure, там во всяком случае получался правильный id, потом правил файлик, все работало.

one117 ★★★★★
()
Ответ на: комментарий от soomrack

lxrandr

в графическом интерфейсе видит только 1 монитор сохраняет конфиг в /root/.config/autostart/lxrandr-autostart.desktop

[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=xrandr --output VGA1 --mode 1280x1024 --rate 75.0
OnlyShowIn=LXDE
djorem
() автор топика
Ответ на: lxrandr от djorem

Мой конфиг:


Section "DRI"
	Mode 0666
EndSection


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

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    ModulePath      "/usr/lib64/opengl/xorg-x11/extensions/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/cyrillic/"
    FontPath        "/usr/share/fonts/dejavu/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/urw-fonts/"
    FontPath        "/usr/share/fonts/default/"
    FontPath        "/usr/share/fonts/encodings/"
    FontPath        "/usr/share/fonts/terminus/"
    FontPath        "/usr/share/fonts/util/"
EndSection

Section "Module"
    Load	   "mouse"
    Load	   "kbd"
    Load           "dri2"
    Load           "extmod"
    Load           "glx"
    Load           "dbe"
    Load           "record"
EndSection

Section "ServerFlags"
    Option         "AutoAddDevices" "false"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option	   "Protocol"   "Standart"
    Option	   "XkbRules"   "XFree86"
    Option	   "XkbModel"   "pc105"
    Option	   "XkbLayout"  "us,ru"
    Option	   "XkbVariant" ",winkeys"
    Option         "XkbOptions" "grp:caps_toogle"
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     "Unknown"
    ModelName      "Philips FTV"
    HorizSync       15.0 - 50.0
    VertRefresh     48.0 - 62.0
    Option         "DPMS" "on"
    Option          "DPI" "128 x 128"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DFP-1"
    Option         "DPMS" "on"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
    Option         "DPI" "128 x 128"
    BusID          "PCI:8:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Card1"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
    Option         "DPI" "96x96"
    BusID          "PCI:8:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 480"
EndSection

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "RenderAccel" "true"
#    Option         "TwinView" "0"
#    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Modes      "1024x768"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "RenderAccel" "true"
    SubSection     "Display"
        Modes      "1024x768"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
    Option         "RENDER" "Enable"
EndSection

soomrack ★★★★
()
Последнее исправление: soomrack (всего исправлений: 1)
Ответ на: комментарий от one117

также делаю ... крутил вертел этот сгенерированный xorg.conf.new но nvidia не как запускаться не хочет

djorem
() автор топика
Ответ на: комментарий от soomrack

насколько я понял у тебя одна GeForce GTX 480 и к ней подключён: монитор и Philips FTV (насколько я понимаю телик) используешь проприетарный драйвер nvideo

Отдельно на nvideo запустить два монитора или один на intel у меня получается Вопрос в том как их объединить и сделать 3 )

djorem
() автор топика
Ответ на: комментарий от djorem

Нет, Их две. К одной подключен выход hdmi, ко второй vga.

А, я понял, ты хочешь сделать «широкий экран» из нескольких видеокарт?

soomrack ★★★★
()
Ответ на: комментарий от djorem

Так. Смотри. Некоторые материнки не поддерживают одновременную работу встроенной видяхи в pci-ной. Проверь по описаниям.

Попробуй сначала добиться того, что все три монитора будут работать, хотя бы и на разных X-ах.

soomrack ★★★★
()
Последнее исправление: soomrack (всего исправлений: 1)
Ответ на: комментарий от djorem

lspci | grep -i vga

01:00.0 VGA compatible controller: NVIDIA Corporation GF100 [GeForce GTX 480] (rev a3)
08:00.0 VGA compatible controller: NVIDIA Corporation GF100 [GeForce GTX 480] (rev a3)

lspci

00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RD890 Northbridge only single slot PCI-e GFX Hydra part (rev 02)
00:00.2 IOMMU: Advanced Micro Devices [AMD] nee ATI RD990 I/O Memory Management Unit (IOMMU)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port B)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port D)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port E)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port F)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port G)
00:09.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port H)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (external gfx1 port A)
00:0b.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (NB-SB link)
00:0c.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890S PCI Express bridge for GPP2 port 1
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 41)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: NVIDIA Corporation GF100 [GeForce GTX 480] (rev a3)
01:00.1 Audio device: NVIDIA Corporation GF100 High Definition Audio Controller (rev a1)
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03)
07:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03)
07:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03)
08:00.0 VGA compatible controller: NVIDIA Corporation GF100 [GeForce GTX 480] (rev a3)
08:00.1 Audio device: NVIDIA Corporation GF100 High Definition Audio Controller (rev a1)
09:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 03)
0a:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0b:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
0b:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
soomrack ★★★★
()

А ручками, ручками прописать ты пробовал?

Вообщем помогите пожалуйста составить рабочий xorg.conf на 3 монитора

Дохрена ошибок, но ты хотя бы знаешь волшебное слово, поэтому помогу.

Тебе нужно

а) в секции ServerLayout указать свои экраны (screen), например у меня для двух экранов так

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Option         "Xinerama" "0"
EndSection
б) создать секции самих экранов, секция выглдяит примерно так
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "true"
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1600x900_60 +0+0"
    SubSection     "Display"
    Depth           24
    EndSubSection
EndSection
Здесь можно заметить, что кроме идентификатора самой секции (Screen0) в ней указаны идентификаторы соответствующих секций Device (Device0) и Monitor (Monitor0). В секции Device0 ожидается описание видеокарты, а в Monitor0 — физического экрана (монитора);

в) при этом для каждой секции ScreenX должна быть своя секция DeviceX, внутри которой будет строчка, указывающая на то, что эта секция DeviceX относится именно к ScreenX, а не к ScreenY

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 550 Ti"
    BusID          "PCI:3:0:0"
    Screen          0                     # ← 
EndSection
Строка Screen внутри секции Device может присутствовать только единожды и указывать только на одну секцию Screen;

г) в секции Monitor можно ничего не указывать, кроме идентификатора, но желательно ModelName, чтобы в настройках а-ля nvidia-settings их не путать

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Panasonic"
    ModelName      "Panasonic-TV"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 61.0
EndSection

http://rosental-book.ru

Deleted
()
Последнее исправление: fargred (всего исправлений: 5)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.