run a second test xserver on a second video card

Björn Nilsson bni.swe at gmail.com
Mon Sep 12 02:39:29 PDT 2005


Hi,

You can use ctrl-alt-F1, and so on to switch to another VT then run:

Xorg -ac -nolisten tcp -screen Screen1 :1

And have a xorg.conf like this:

Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

#Section "Extensions"
# Option "Composite" "enable"
#EndSection

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "Device" "/dev/input/mice"
EndSection

Section "Device"
Identifier "Graphics0"
Driver "radeon"
#Option "RenderAccel" "true"
#Option "AccelMethod" "EXA"
EndSection

Section "Device"
Identifier "Graphics1"
Driver "vesa"
BusId "PCI:2:9:0"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "VP171s"
VendorName "ViewSonic"
EndSection

Section "Monitor"
Identifier "Monitor1"
ModelName "KV-32LS65E"
VendorName "SONY"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Graphics0"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Graphics1"
Monitor "Monitor1"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

This is one way to do it are probably other ways as well, just some
ideas. This is how I run a second X server that displays on my TV so I
can watch movies with xine. I have 2 radeon cards.

The second X server you run can be Xorg from CVS installed
into/usr/local/xorg, if you want to test new features for example.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20050912/b3985405/attachment.html>


More information about the xorg mailing list