Tux

...making Linux just a little more fun!

Talkback:124/smith.html

[ In reference to "Build a Six-headed, Six-user Linux System" in LG#124 ]

Thiago [mascc2 at gmail.com]
Wed, 6 Dec 2006 15:09:19 -0200

Good afternoon

I've been trying to get multihead to work for 2 months now. I saw several different solutions for the problem but no that meet my needs. I'm trying to run a two seat gaming station. I proved that it is actually possible since i could run a dual head with xinerama and one game in each screen ( but only one keyboard controlling both screens ). I'm running on two nvidia video cards, with nvidia drivers :

00:09.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4
MX 4000 AGP 8x] (rev c1)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX
5200] (rev a1)
Thanks to the at nvclock i could do some tweaking to get reasonable speed. My problem is altough i could run it with xinerama, when i try to separate the seats- put one keyboard, one mouse, one video card for each seat - the system does not show the second screen. I tried with both gdm and kdm to get the thing to work. When i try to start each head individually i can, but i cannot separate each mouse and keyboard: they work as if they were the same.

That problem has keep me up several nights. My xorg.conf follows so you would point up were i screwd up or if i didn't :

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
EndSection
  
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection
 
Section "InputDevice"
     Identifier     "Keyboard1"
     Driver         "kbd"
     Option         "XkbRules" "xorg"
     Option         "XkbModel" "abnt2"
     Option         "XkbLayout" "br"
     Option 	    "Dev Phys"  "isa0060/serio0/input0"
EndSection
 
Section "InputDevice"
     Identifier     "Keyboard2"
     Driver         "kbd"
     Option         "XkbRules" "xorg"
     Option         "XkbModel" "abnt2"
     Option         "XkbLayout" "br"
     Option 	    "Dev Phys"  "usb-0000:00:10.0-1/input1"
EndSection
 
Section "InputDevice"
     Identifier     "Mouse1"
     Driver         "mouse"
     Option         "Protocol" "ImPS/2"
     Option         "Dev Phys" "isa0060/serio1/input0"
     Option         "ZAxisMapping" "4 5"
EndSection
 
Section "InputDevice"
     Identifier     "Mouse2"
     Driver         "mouse"
     Option         "Protocol" "ImPS/2"
     Option         "Dev Phys" "usb-0000:00:10.1-2/input0"
     Option         "ZAxisMapping" "4 5"
EndSection
 
Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corp."
    BoardName      "GeForce FX 5200"
    BusID          "PCI:1:0:0"
EndSection
 
Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corp."
    BoardName      "GeForce4 MX 4000"
    BusID          "PCI:0:9:0"
EndSection
 
Section "Monitor"
    Identifier     "Monitor1"
    # HorizSync source: edid, VertRefresh source: edid
    VendorName     "Unknown"
    ModelName      "hp 5500"
    HorizSync       30.0 - 54.0
    VertRefresh     50.0 - 120.0
    Option         "DPMS"
EndSection
 
Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection
 
Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBGLXVisuals" "true"
    Option         "DisableGLXRootClipping" "True"
EndSection
 
Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBGLXVisuals" "true"
    Option         "DisableGLXRootClipping" "True"
EndSection
 
Section "ServerLayout"
    Identifier     "Seat1"
    Screen      0  "Screen1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection
 
Section "ServerLayout"
    Identifier     "Seat2"
    Screen      1  "Screen2" 0 0
    InputDevice    "Mouse2" "CorePointer"
    InputDevice    "Keyboard2" "CoreKeyboard"
EndSection
 
############################################################################
I would like to thank you guys in advance for the attention and sorry if i was so stupid that i couldn't figure it out.


Top    Back