Основная задача сделать второй монитор с независимым Рабочим Столом.
***
Тестовая машина…
— Intel® Core™ i5 3.00 — 2320 x4
— Overclock CPU to 3.6 ghz
— DDR3 (1600) — 16GB (Dual).
— openSUSE 13.2 x-86_64.
— Kernel 3.16
— Nvidia GTX-650 ddr5 1024 mb / 128 bit.
— Drivers 352.21
— Display resolution 1360×768 (VGA).
— Display resolution 1920×1080 (HDMI).
***
Анализ мониторов…
$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920×1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
1920×1080 60.00*+ 59.94 50.00 29.97 25.00 23.97 60.05 60.00 50.04
1360×768 60.02
1280×1024 60.02
1280×720 60.00 59.94 50.00
1152×864 60.00
1024×768 60.00
800×600 60.32
720×576 50.00 50.08
720×480 59.94
640×480 59.95 59.94 59.93
***
Для единого Рабочего Стола, можем выполнить например…
$ xrandr —auto —output HDMI-0 —mode 1920×1080 —right-of DVI-D-0
Или…
В nvidia-settings указать все мониторы как Screen0, тогда TwinView получит единый рабочий стол.
***
Рабочий X configuration file:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 352.21 (buildmeister@swio-display-x64-rhel04-13) Tue Jun 9 22:42:41 PDT 2015
Section «ServerLayout»
# Removed Option «Xinerama» «0»
# Removed Option «Xinerama» «1»
Identifier «Layout0»
Screen 0 «Screen0» 0 0
Screen 1 «Screen1» 1920 0
InputDevice «Keyboard0» «CoreKeyboard»
InputDevice «Mouse0» «CorePointer»
Option «Xinerama» «0»
EndSection
Section «Files»
EndSection
Section «InputDevice»
# generated from data in «/etc/sysconfig/mouse»
Identifier «Mouse0»
Driver «mouse»
Option «CorePointer»
Option «Protocol» «ExplorerPS/2»
Option «Device» «/dev/input/mice»
Option «Buttons» «7»
Option «ZAxisMapping» «4 5»
Option «Resolution» «3200»
EndSection
Section «InputDevice»
# generated from default
Identifier «Keyboard0»
Driver «kbd»
EndSection
Section «Monitor»
Identifier «Monitor0»
VendorName «Unknown»
ModelName «LG Electronics LG TV»
HorizSync 30.0 — 83.0
VertRefresh 58.0 — 62.0
Option «DPMS»
Option «DPI» «96 x 96»
EndSection
Section «Monitor»
Identifier «Monitor1»
VendorName «Unknown»
ModelName «Samsung SyncMaster»
HorizSync 30.0 — 61.0
VertRefresh 56.0 — 75.0
EndSection
Section «Device»
Identifier «Device0»
Driver «nvidia»
VendorName «NVIDIA Corporation»
BoardName «GeForce GTX 650»
Option «NoLogo» «true»
Option «TwinView» «True»
Option «TwinViewOrientation» «TV Clone DFP-1»
#Option «ConnectedMonitor» «DFP-1, TV»
Option «UseDisplayDevice» «DFP-1, TV»
BusID «PCI:1:0:0»
Screen 0
EndSection
Section «Device»
Identifier «Device1»
Driver «nvidia»
VendorName «NVIDIA Corporation»
BoardName «GeForce GTX 650»
BusID «PCI:1:0:0»
Screen 1
EndSection
Section «Screen»
# Removed Option «metamodes» «nvidia-auto-select +0+0»
# Removed Option «metamodes» «VGA-0: nvidia-auto-select +1920+0, HDMI-0: nvidia-auto-select +0+0»
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» «Off»
Option «BaseMosaic» «off»
SubSection «Display»
Depth 24
EndSubSection
EndSection
Section «Screen»
Identifier «Screen1»
Device «Device1»
Monitor «Monitor1»
DefaultDepth 24
Option «Stereo» «0»
Option «nvidiaXineramaInfoOrder» «CRT-0»
Option «metamodes» «VGA-0: nvidia-auto-select +0+0»
Option «SLI» «Off»
Option «MultiGPU» «Off»
Option «BaseMosaic» «off»
SubSection «Display»
Depth 24
EndSubSection
EndSection
Section «Extensions»
Option «Composite» «Disable»
#Option «RENDER» «Enable»
EndSection
***
Как видим Samsung SyncMaster, имеет отдельную конфигурацию как Screen1, с личным рабочим столом.
Автор: AugustuS Karro
Дата публикации: 2015-06-26T18:00:00.000+07:00