LINUX.ORG.RU

Dualhead


0

0

Пытаюсь подключить к одному компьютеру две мыши/клавиатуры/монитора.

Вот мой конфиг xorg.conf:

Section "InputDevice"
Identifier "Keyboard 1"
Driver "evdev"
Option "Phys" "isa0060/serio0/input0"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection


Section "InputDevice"
Identifier "Keyboard 2"
Driver "evdev"
Option "Phys" "isa0060/serio1/input0"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection


Section "InputDevice"
Identifier "Mouse 1"
Driver "mouse"
Option "CorePointer"
# Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/by-path/pci-0000:00:02.0-usb-0:4:1.0-mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Mouse 2"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/by-path/pci-0000:00:02.0-usb-0:3:1.0-mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection


Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
Identifier "GeForce 8600 GT out1"
Driver "nvidia"
Busid "PCI:2:0:0"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
Screen 0
EndSection

Section "Device"
Identifier "GeForce 8600 GT out2"
Driver "nvidia"
Busid "PCI:2:0:0"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
Screen 1
EndSection

Section "Monitor"
Identifier "Samsung 173P+"
Option "DPMS"
Horizsync 30-70
Vertrefresh 50-160
EndSection

Section "Monitor"
Identifier "Samsung Other"
Option "DPMS"
Horizsync 30-70
Vertrefresh 50-160
EndSection

Section "Screen"
Identifier "Screen 1"
Device "GeForce 8600 GT out1"
Monitor "Samsung 173P+"
Defaultdepth 24
EndSection

Section "Screen"
Identifier "Screen 2"
Device "GeForce 8600 GT out2"
Monitor "Samsung Other"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Inputdevice "Keyboard 1"
Inputdevice "Mouse 1"
Screen 0 "Screen 1" 0 0
# Screen 1 "Screen 2" LeftOf "Screen 1"

EndSection

Section "ServerLayout"
Identifier "Seat2"
Inputdevice "Keyboard 2"
Inputdevice "Mouse 2"
Screen 1 "Screen 2" 0 0
EndSection


Section "Module"
Load "glx"
EndSection


Если раскоментировать "Screen 1 "Screen 2" LeftOf "Screen 1"", то оба монитора включаются, и второй является продолжением первого. Но если попытаться запустить только второй монитр (второй видеовыход - Seat2), то появляется сообщение об ошибке:

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.3)
Current Operating System: Linux irinka 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64
Build Date: 18 January 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Feb 25 13:37:53 2008
(==) Using config file: "/etc/X11/xorg.conf"

(WW) NVIDIA: No matching Device section for instance (BusID PCI:2:0:0) found
(II) Module already built-in
(EE) Screen 0 deleted because of no matching config section.
(EE) Device(s) detected, but none match those in the config file.

Fatal server error:
no screens found


В чем может быть проблема?


Так...немного разобрался.

Странно, но заработало после того, как везде проставил Screen 0.0 и Screen 0.1 вместо Screen 0 и Screen 1 соответственно.

Теперь другая задача. Как это все можно вместе запустить одновременно, чтобы получился полноценный multiseat?

/etc/kde3/kdm/kdmrc:

[General]
ConfigVersion=2.3
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
ReserveServers=:2,:3
ServerVTs=-7,-8
StaticServers=:0,:1
...
...
...
[X-:0-Core]
ServerArgsLocal=-nolisten tcp -layout Seat1

[X-:1-Core]
ServerArgsLocal=-nolisten tcp -layout Seat2

Эта конфигурация работает, но не так как я мечтал. Отдельная сессия Х запущена в 7 и в 9-м vt, по ним можно переключаться по Alt+Ctrl+7 и Alt+Ctrl+9. Но одновременно работать они не хотят.

Пробовал добавлять параметры -novtswitch и -sharevts - не помогло (думаю и не должно было...).
Если указать "ServerVT=7" для каждого Х-сервера, то работает только один монитор/клавиатура/мышка.

Был бы благодарен за подсказку, что я делаю не так.

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

Начал немного расстраиваться...вообще возможно создать такую конфигурацию на одной видеокарте с двумя выходами?

Как я понял с двумя видеокартами проблем особых нет...

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

Видимо придется поменять материнскую плату, чтобы SLI поддерживала. Остальные варианты чем-то да не устраивают. Думаю вопрос закрыт.

FHunter
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.