PDA

View Full Version : linux + 2video cards = baaaaaad


meloncully
01-21-2003, 11:41 AM
i have 2 vid cards installed, (gf4 ti4200, gf2 mx something or other) and i am running dual monitors, when i boot to linux, after a fresh install, it asks me if i want to configure my gf2, so i say ignore, and it messes my whole x server up. i cant start x or anything. just messes up.


anybody know how i can get dual monitors to work or linux to just not even configure the gf2 or even recognize it without me having to un plug it whenever i wanna use linux?

MCronin
01-21-2003, 02:03 PM
First of all, don't boot into X, just get to the console. Get the driver source from Nvidia's site and compile and install your drivers according to the readme. Back up your /etc/X11/XF86Config-4 if it exists, then edit your XF86Config-4 so you have two screens, two monitors, and a device for each card.

Here's an example of a barebones XF86Config-4 for An AGP GF3 with a PCI GF 2 MX

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "stylus" "AlwaysCore"
InputDevice "eraser" "AlwaysCore"
InputDevice "cursor" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
Load "/usr/X11R6/lib/modules/input/xf86Wacom.so"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
# Load "dri"
Load "extmod"
Load "pex5"
Load "record"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "XkbOptions" "ctrl:nocaps"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection

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

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Type" "stylus"
Option "Device" "/dev/ttyS0"
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Type" "eraser"
Option "Device" "/dev/ttyS0"
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Type" "cursor"
Option "Device" "/dev/ttyS0"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Sony"
ModelName "Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.0-65.0

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50.0-120.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Sony"
ModelName "Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.0-65.0

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50.0-120.0
EndSection


Section "Device"
### Available Driver options are:-
#Option "DigitalVibrance"
#Option "PageFlip"
#Option "Dac8Bit"
#Option "NoLogo"
#Option "Overlay"
#Option "UBB"
#Option "Stereo"
#Option "BlueLine"
#Option "WindowFlip"
#Option "SWcursor"
#Option "HWcursor"
#Option "VideoKey"
#Option "NvAGP"
#Option "PixmapCacheLines"
#Option "IgnoreEDID" "true"
#Option "NoDDC"
#Option "ConnectedMonitor"
#Option "ConnectedMonitors"
#Option "TVStandard"
#Option "TVOutFormat"
#Option "NoRenderAccel"
#Option "CursorShadow"
#Option "CursorShadowAlpha"
#Option "CursorShadowXOffset"
#Option "CursorShadowYOffset"
#Option "UseEdidFreqs"
#Option "FlatPanelProperties"
#Option "UseInt10Module"
#Option "SwapReady"
#Option "NoTwinViewXineramaInfo"
#Option "NoRenderExtension"
Identifier "Card1"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce2 MX"
BusID "PCI:0:10:0"
EndSection

Section "Device"
### Available Driver options are:-
#Option "DigitalVibrance"
#Option "PageFlip"
#Option "Dac8Bit"
#Option "NoLogo"
#Option "Overlay"
#Option "UBB"
#Option "Stereo"
#Option "BlueLine"
#Option "WindowFlip"
#Option "SWcursor"
#Option "HWcursor"
#Option "VideoKey"
#Option "NvAGP"
#Option "PixmapCacheLines"
#Option "IgnoreEDID"
#Option "NoDDC"
#Option "ConnectedMonitor"
#Option "ConnectedMonitors"
#Option "TVStandard"
#Option "TVOutFormat"
#Option "NoRenderAccel"
#Option "CursorShadow"
#Option "CursorShadowAlpha"
#Option "CursorShadowXOffset"
#Option "CursorShadowYOffset"
#Option "UseEdidFreqs"
#Option "FlatPanelProperties"
#Option "UseInt10Module"
#Option "SwapReady"
#Option "NoTwinViewXineramaInfo"
#Option "NoRenderExtension"
Identifier "Card0"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce3"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "800x600"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "800x600"
EndSubsection

EndSection

Section "DRI"
EndSection

You'll have to modify this one as it's set up to boot both monitors at 800x600x24. Since no modes are set for the monitors, it should just chose the optimal refrash rates provided your monitors aren't prehistoric.

CGTalk Moderation
01-14-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.