[lug] XF86 multi-vid cards

Paul Nowosielski paul at danamusic.com
Mon Dec 30 11:38:46 MST 2002


Ok this is what I've done so far.
Taken out all the modules, changed IRQ's, and changed from the Nvidia
driver to the NV driver which does not load openGL mods.

 Now when I type xinit both screens initialize and I can use the
keyboard.
 But if I type in anything but a simple command the box locks up.
bash$ ls -l 
is fine but
bash$ vi /etc/X11/XFree86-4
locks the box up.

I can launch the blackbox WM on one moniter 0:0.0 but not on 0:0.1 .
When it is running on 0:0.1 it fills 1 monitor and the second one has a
little bit of the WM.
When I touch the mouse to the right side of the screen everything locks,
when I launch an app every thing locks.
So.. I think this may just be a hardware problem.
The S3 is very old and the nvidia is new but I am including my config if
any one wants to take a look.

Thanks for all your help suggestions!

Paul

##XFree86-4 config

Section "Files"
    FontPath "unix/:-1"
EndSection

Section "Module"
    #Load "dbe" # Double-Buffering Extension
    #Load "v4l" # Video for Linux
    #Load "extmod"
    #Load "type1"
    #Load "freetype"
    #Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc101"
    Option "XkbLayout" "us"
    Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection
##
##MONITORS
##
Section "Monitor"
    Identifier "monitor2"
    VendorName "Plug'n Play"
    HorizSync 30-70
    VertRefresh 50-160
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494 
563 -hsync -vsync
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595 
630
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590 
616
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 70 Hz"
    HorizSync 31.5-57.0
    VertRefresh 50-70
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494 
563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595 
630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590 
616
EndSection
##
##DEVICES
##
Section "Device"
    Identifier "device1"
    VendorName "S3 Inc."
    BoardName "S3 Trio64 (generic)"
    Driver "s3"
    VideoRam 2048
    BusID "PCI:0:11:0"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nv"
    BusID "PCI:1:0:0"
EndSection
##
##SCREENS
##
Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 16
	Subsection "Display"
	    Depth 8
	    Modes "1152x864" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
	    Depth 15
	    Modes "1152x864" "1024x768" "800x600" "640x480"
        EndSubsection
	Subsection "Display"
	    Depth 16
	    Modes "1152x864" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
	    Depth 24
	    Modes "1152x864" "1024x768" "800x600" "640x480"
	EndSubsection
EndSection
														
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
##
##SERVER LAYOUT
##
Section "ServerLayout"
    Identifier "Layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen 2"
    Screen "screen1" RightOf "screen2"
    Option "Xinerama"
EndSection
#Section "ServerLayout"
#    Identifier "Layout2"
#    InputDevice "Keyboard1" "CoreKeyboard"
#    InputDevice "Mouse1" "CorePointer"
#    Screen "screen1"
#EndSection








More information about the LUG mailing list