3-monitors » История » Версия 3
  Рамиль Абдулбяров, 2012-10-11 18:49 
  
| 1 | 2 | Рамиль Абдулбяров | h1. Схема подключения 3 мониторов (Xorg server). | 
|---|---|---|---|
| 2 | |||
| 3 | /etc/X11/xorg.conf | ||
| 4 | |||
| 5 | Сущности: | ||
| 6 | |||
| 7 | *Device* определение устройства. Свойства: | ||
| 8 | * Identifier - имя, label устройства | ||
| 9 | * Driver - тип драйвера (производитель драйвера) | ||
| 10 | * BusID - ID на шине (lspci) | ||
| 11 | * Option - (если на видеокарте несколько выходов, указываем тип порта) | ||
| 12 | * screen - номер на видеокарте. | ||
| 13 | |||
| 14 | *Monitor* можно задать разрешение экрана | ||
| 15 | * Identifier - label устройства | ||
| 16 | |||
| 17 | *Screen* Экран, строится на объединении сущностей Device и Monitor | ||
| 18 | * Identifier - label устройства | ||
| 19 | * Monitor - указываем ранее определённый monitor | ||
| 20 | * Device - указываем ранее определённый device | ||
| 21 | |||
| 22 | *ServerLayout* j,obq | ||
| 23 | 3 | Рамиль Абдулбяров | |
| 24 | <pre> | ||
| 25 | Section "ServerFlags" | ||
| 26 | Option "xinerama" "True" | ||
| 27 | EndSection | ||
| 28 | |||
| 29 | Section "ServerFlags" | ||
| 30 | Option "DontZap" "false" | ||
| 31 | EndSection | ||
| 32 | |||
| 33 | Section "Device" | ||
| 34 | Identifier "VideoDeviceNvidia-VGA" | ||
| 35 | Driver "nouveau" | ||
| 36 | BusID "PCI:1:0:0" | ||
| 37 | Option "ZaphodHeads" "VGA-2" | ||
| 38 | screen 0 # положение на видеокарте | ||
| 39 | EndSection | ||
| 40 | |||
| 41 | Section "Device" | ||
| 42 | Identifier "VideoDeviceNvidia-DVI" | ||
| 43 | Driver "nouveau" | ||
| 44 | BusID "PCI:1:0:0" | ||
| 45 | Option "ZaphodHeads" "DVI-I-1" | ||
| 46 | screen 1 | ||
| 47 | EndSection | ||
| 48 | |||
| 49 | Section "Device" | ||
| 50 | Identifier "VideoDeviceIntel" | ||
| 51 | Driver "intel" | ||
| 52 | BusID "PCI:0:2:0" | ||
| 53 | screen 0 | ||
| 54 | EndSection | ||
| 55 | |||
| 56 | Section "InputClass" | ||
| 57 | Identifier "Keyboard Defaults" | ||
| 58 | MatchIsKeyboard "yes" | ||
| 59 | Option "XkbLayout" "us,ru" | ||
| 60 | Option "XkbOptions" "grp:shift_toggle,grp_led:scroll" | ||
| 61 | Option "XkbVariant" ",winkeys" | ||
| 62 | EndSection | ||
| 63 | |||
| 64 | Section "Extensions" | ||
| 65 | Option "Composite" "Enable" | ||
| 66 | EndSection | ||
| 67 | |||
| 68 | Section "Monitor" | ||
| 69 | Identifier "Configured Monitor center" | ||
| 70 | EndSection | ||
| 71 | |||
| 72 | Section "Monitor" | ||
| 73 | Identifier "Configured Monitor left" | ||
| 74 | EndSection | ||
| 75 | |||
| 76 | Section "Monitor" | ||
| 77 | Identifier "Configured Monitor right" | ||
| 78 | EndSection | ||
| 79 | |||
| 80 | Section "Screen" # связывает монитор с конкретным выходом видеокарты | ||
| 81 | Identifier "Screen center" | ||
| 82 | Monitor "Configured Monitor center" | ||
| 83 | Device "VideoDeviceIntel" | ||
| 84 | EndSection | ||
| 85 | |||
| 86 | Section "Screen" | ||
| 87 | Identifier "Screen left" | ||
| 88 | Monitor "Configured Monitor left" | ||
| 89 | Device "VideoDeviceNvidia-VGA" | ||
| 90 | EndSection | ||
| 91 | |||
| 92 | Section "Screen" | ||
| 93 | Identifier "Screen right" | ||
| 94 | Monitor "Configured Monitor right" | ||
| 95 | Device "VideoDeviceNvidia-DVI" | ||
| 96 | EndSection | ||
| 97 | |||
| 98 | Section "ServerLayout" | ||
| 99 | Identifier "Default Layout" | ||
| 100 | Screen "Screen center" | ||
| 101 | Screen "Screen left" LeftOf "Screen center" | ||
| 102 | Screen "Screen right" RightOf "Screen center" | ||
| 103 | Option "Xinerama" "on" | ||
| 104 | Option "Clone" "off" | ||
| 105 | EndSection | ||
| 106 | |||
| 107 | |||
| 108 | Section "DRI" | ||
| 109 | Mode 0666 | ||
| 110 | EndSection | ||
| 111 | </pre> |