[lug] XF86 multi-vid cards
Paul Nowosielski
paul at danamusic.com
Mon Dec 30 09:13:40 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
On Sun, 2002-12-29 at 17:00, D. Stimits wrote:
> Paul Nowosielski wrote:
>
> > Hi all,
> >
> > I'm try to set up multiple moniters/vid cards on my system.
> > I'm using an NVIDIA GF-2 and an S3 card.
> > Either card works fine independently BUT when I try to start them
> > together it freezes X, keyboard, and mouse.One monitor goes black and
> > the other will start the standard xinit screen.
> >
> > I have to SSH from another machine and kill X or do a hard restart to
> > get the system functioning again.
>
> If you can ssh in, you should be able to do (this is Redhat runlevel
> numbers, don't know what distro you have, check runlevels for your
> distro) an "init 3" to go to console-only multi-user mode, then "init 5"
> to get back (assuming you are using a login manager like xdm/gdm/kdm) to
> graphical mode without rebooting (it'd have to be a pretty serious
> problem to be able to ssh in but not restart graphical mode this way).
>
> >
> > the Nvidia card is AGP and the S3 is PCI. I've tried switching between
> > the two cards in the bios with similar results.
> >
> > I would like to run them as two separate monitors/windows managers and
> > not use the xinerama option.
> >
> > Also the Nvidia card has a TV out which I do not use, but I don't tell
> > X this in the config file and don't think it has any thing to do with
> > the problem, just thought I'd mention that.
> >
> > Does anyone have experience with duel monitor support who could advise
> > me??
> >
> > Thanks!
> >
> > Paul Nowosielski
>
> One suggestion when figuring it out, make sure hardware accel OpenGL is
> disabled. Getting it working without any hardware accel features prior
> to trying this...add accel after. Make sure all screen saver preferences
> are for non-OpenGL versions while testing. Also, disable any Xinerama
> features until you have it working without.
>
> On top of what Steve mentioned on lspci, use lspci -v and see what
> possible IRQ or other conflicts could exist for the two video cards,
> compared side-by-side (AGP is a PCI device, and all PCI devices should
> be able to share IRQ, but in reality this does not seem to be entirely
> the way it is with all PCI devices, especially video card). You might
> even look at IRQ of NIC's or anything else that could be a problem.
>
> You might also post the config file, Steve was mentioning PCI bus
> settings, it might be useful to see what else you have configured. E.G.,
> two video cards requires displays 0:0.0 and 1:0.0 (meaning display 0 of
> server 0 and server 1), as opposed to 0:0.0 and 0:0.1 (meaning two
> displays of a single server).
>
> D. Stimits, stimits AT attbi DOT com
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
-------------- next part --------------
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