Вопросы:
С включенным Optimus и включенным определением ОС в BIOS у меня есть 2 внешних монитора, подключенных к DVI (стыковка - карта Nvidia) и ЖК-дисплей ноутбука (карта Intel) для работы. У меня также работал VGA (карта Intel) на док-станции, но я не мог не использовать его в качестве клона ЖК-дисплея ноутбука.
Вот моя конфигурация xorg с включенной Xinerama:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "ScreenNvidia0" 0 0
Screen 1 "ScreenNvidia1" RightOf "ScreenNvidia0"
Screen 2 "ScreenIntel" RightOf "ScreenNvidia1"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "true"
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 "MonitorNvidia0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 63.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "MonitorNvidia1"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 63.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "MonitorIntel"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 63.0
Option "DPMS"
EndSection
Section "Device"
Identifier "DeviceNvidia0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "1:0:0"
Option "RegistryDwords" "EnableBrightnessControl=1"
Screen 0
EndSection
Section "Device"
Identifier "DeviceNvidia1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "1:0:0"
Option "RegistryDwords" "EnableBrightnessControl=1"
Screen 1
EndSection
Section "Device"
Identifier "DeviceIntel"
Driver "intel"
BusID "0:2:0"
Option "monitor-VGA1" "VGA1"
Option "monitor-TV" "TV"
Option "monitor-LVCD1" "LVCD1"
Option "Clone" "off"
EndSection
Section "Monitor"
Identifier "VGA1"
EndSection
Section "Monitor"
Identifier "LVCD1"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "TV"
Option "Ignore" "false"
EndSection
Section "Screen"
Identifier "ScreenNvidia0"
Device "DeviceNvidia0"
Monitor "MonitorNvidia0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenNvidia1"
Device "DeviceNvidia1"
Monitor "MonitorNvidia1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenIntel"
Device "DeviceIntel"
Monitor "MonitorIntel"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1900x1200"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection
В "DeviceIntel" "- это моя последняя попытка установить на карту Intel более одного монитора.
Вот отрывок из моего" lspci ":
$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation Device 1057 (rev a1)
Если вы не используете карту NVidia, вы сможете использовать только один порт VGA на своем ноутбуке. Даже если вы подключитесь к док-станции одновременно, порты DVI и дисплея не будут доступны, если вы не используете карту NVidia.