01.08.2009

Настройка трех мониторов

В дополнение к 22" монитору, появились в распоряжении еще два 17" и валялись бесхозными пара видеокарт S3Virge.
Почему бы их не использовать, игрухи все равно не играю, с 3D не работаю.

p.s. пришлось настраивать руками, т.к. в Xorg сервере на текущий момент какая-то бага, и Yast не может настроить "многоголовый"(несколько мониторов) режим.

Так же необходимо учесть, чтобы видеокарта для 22" монитора поддерживала разрешение 1680x1050

Исходные данные:
- Материнка со встроенным видео (далее будет нюанс)
- Видеокарта Nvidia GeForce2 MX/MX 400 (AGP интерфейс)
- Две старые видеокарты S3Virge (PCI интерфейс)
- Два 17" монитора Philips 170S4,170S
- Один 22" widescreen монитор PHILIPS 220WS

Есть одна подводная грабля в настройке такой конфигурации - встроенное видео на материнской плате надо выключить (в BIOS-е), т.к. для работы такой конфигурации требуются не встроенные видеокарты с интерфейсами PCI,AGP,PCIe.

Конфиг xorg.conf:
# SaX generated X11 config file
# Created on: 2009-05-18T16:17:12+0400.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us,ru"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbRules" "xfree86"
Option "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Name" "ImExPS/2 Logitech Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 474 296
HorizSync 30-93
Identifier "Monitor[0]"
ModelName "PHILIPS PHILIPS 220WS"
Option "DPMS"
Option "PreferredMode" "1680x1050"
VendorName "PHL"
VertRefresh 43-76
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1680x1050" 146.00 1680 1784 1960 2240 1050 1053 1059 1089
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "GeForce2 MX/MX 400"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVIDIA"
EndSection

Section "Monitor"
DisplaySize 345 259
HorizSync 29-82
Identifier "Monitor[1]"
ModelName "PHILIPS PHILIPS 170S4"
Option "DPMS"
VendorName "PHL"
VertRefresh 50-76
UseModes "Modes[1]"
EndSection

Section "Monitor"
DisplaySize 345 259
HorizSync 29-82
Identifier "Monitor[2]"
ModelName "PHILIPS PHILIPS 170S"
Option "DPMS"
VendorName "PHL"
VertRefresh 50-76
UseModes "Modes[1]"
EndSection

Section "Modes"
Identifier "Modes[1]"
Modeline "1024x768" 83.00 1024 1080 1192 1360 768 769 772 803
Modeline "1024x768" 76.89 1024 1080 1192 1360 768 769 772 800
Modeline "1024x768" 70.07 1024 1080 1184 1344 768 769 772 798
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
Modeline "1024x600" 64.04 1024 1080 1184 1344 600 601 604 627
Modeline "1024x600" 58.65 1024 1072 1176 1328 600 601 604 625
Modeline "1024x600" 54.05 1024 1072 1176 1328 600 601 604 623
Modeline "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
Modeline "800x600" 50.32 800 840 928 1056 600 601 604 627
Modeline "800x600" 45.93 800 840 920 1040 600 601 604 625
Modeline "800x600" 42.33 800 840 920 1040 600 601 604 623
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622
Modeline "768x576" 46.12 768 808 888 1008 576 577 580 602
Modeline "768x576" 42.06 768 800 880 992 576 577 580 600
Modeline "768x576" 38.82 768 800 880 992 576 577 580 599
Modeline "768x576" 34.96 768 792 872 976 576 577 580 597
Modeline "640x480" 31.13 640 664 728 816 480 481 484 502
Modeline "640x480" 28.83 640 664 728 816 480 481 484 500
Modeline "640x480" 26.60 640 664 728 816 480 481 484 499
Modeline "640x480" 23.86 640 656 720 800 480 481 484 497
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[1]"
Identifier "Screen[1]"
Monitor "Monitor[1]"
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[2]"
Identifier "Screen[2]"
Monitor "Monitor[2]"
EndSection

Section "Device"
BoardName "86c325"
BusID "2:10:0"
Driver "s3virge"
Identifier "Device[1]"
VendorName "S3"
EndSection

Section "Device"
BoardName "86c325"
BusID "2:11:0"
Driver "s3virge"
Identifier "Device[2]"
VendorName "S3"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "on"
Screen "Screen[1]" RightOf "Screen[0]"
Screen "Screen[2]" LeftOf "Screen[0]"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
# Option "Composite" "on"
EndSection

Если какой-то из мониторов не в той части рабочего стола как хотелось бы, надо поиграть параметрами выделенные жирным:
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "on"
Screen "Screen[1]" RightOf "Screen[0]"
Screen "Screen[2]" LeftOf "Screen[0]"
Screen "Screen[0]"

EndSection

Получается примерно следующее:

Читать далее...

Настройка 22" widescreen монитора

Необходимо учесть, чтобы видеокарта для 22" монитора поддерживала разрешение 1680x1050

Сначала стОит настроить монитор с помощью Yast или другим инструментом, если Вы не в OpenSUSE. Если не получится по каким-либо причинам, то тогда вручную, конфиг ниже.


(Для начинающих пользователей, создаем файл xorg.conf под пользователем root в /etc/X11/, копируем текст, который ниже, в этот файл и сохраняем. Перезагружаем ПК.)
Данная настройка скорей всего подойдет для большинства 22" мониторов.

#cat /etc/X11/xorg.conf
# /.../
# SaX generated X11 config file
# Created on: 2009-05-18T16:17:12+0400.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us,ru"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbRules" "xfree86"
Option "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Name" "ImExPS/2 Logitech Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 474 296
HorizSync 30-93
Identifier "Monitor[0]"
ModelName "PHILIPS 220WS"
Option "DPMS"
Option "PreferredMode" "1680x1050"
VendorName "PHL"
VertRefresh 43-76
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1680x1050" 146.00 1680 1784 1960 2240 1050 1053 1059 1089
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "GeForce2 MX/MX 400"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVIDIA"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
Option "Composite" "on"
EndSection

Обратить внимание, что в моём случае используется видеокарта Nvidia с проприетарным драйвером (выделено жирным шрифтом):

Section "Device"
BoardName "GeForce2 MX/MX 400"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVIDIA"
EndSection

соответственно у вас должен быть установлен пакет nvidia-gfx...-kmp-.....
Как его установить описано тут: http://ru.opensuse.org/NVIDIA

Если не нужна поддержка 3D, то можно использовать драйвер по умолчанию. Тогда секцию в xorg.conf привести к виду:

Section "Device"
BoardName "GeForce2 MX/MX 400"
BusID "1:0:0"
Driver "nv"
Identifier "Device[0]"
VendorName "NVIDIA"
EndSection

Читать далее...