Post Reply

Forums -> Multiple monitors -> RedHat 8.0 with two cards
0ctane   2002-11-15 02:29
I have read through all available information in the forums and on this site regarding two monitors in Linux. I have a working RedHat 8.0 dual monitor configuraton using a Radeon 8500 (dual head). However, on a second computer with two video cards I cannot get two monitors to run.
Setup: Dual P3@450MHz, 256Mb RAM, AGP ATI Radeon VE, PCI "Powered By ATI" Radeon 7500. The DVI output from both cards go through "DVIator"s so that I can use 2, 15" Mac Studio Displays.
This configuration works fine in WinXP. So my question is, how does one setup the XF86Config file to recognise two cards? lspci gives me the address of the PCI card (PCI:0:16:0), and I use this in the device configuration. The log file however says XFree86 cannot find an appropriate device. I can get either card working individually, but not both at once.
Can someone post a working XF86Config file for 4.2.0 that has both a AGP and PCI cad working? Thanks.

jjw3@uark.edu
DeaconLew   2002-11-19 20:36
I have 2 PCI cards working. I am not sure if this will help, but here is my XF86Config.
Specs: PIII 550 w/ 256MB RAM Dual Matrox Mill MGA PCI Cards HP Ergo 1600 (21") Dell Flat Screen (21") Monitors RedHat 8.0
--------------------------
# File generated by anaconda.

Section "ServerLayout"
Identifier "Double"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "Xinerama" "on"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:7100"

EndSection

Section "Module"
Load "GLcore"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"

# Option "AutoRepeat" "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# 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" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-95.0
VertRefresh 50.0-160.0
Option "dpms"

# -- 1400x1050 --
# 1400x1050 @ 60Hz, 65.8 kHz hsync
Modeline "1400x1050" 129 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 70Hz, 76.8 kHz hsync
Modeline "1400x1050" 151 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 75Hz, 82.3 kHz hsync
Modeline "1400x1050" 162 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 85Hz, 93.2 kHz hsync
Modeline "1400x1050" 184 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-80
VertRefresh 56-76
Option "dpms"
EndSection

Section "Device"
# no known options
Identifier "Matrox Millennium"
Driver "mga"
VendorName "Matrox Millennium"
BoardName "Matrox Millennium"

BusID "PCI:0:15:0"
EndSection

Section "Device"
# no known options
Identifier "Matrox Millennium-"
Driver "mga"
VendorName "Matrox Millennium"
BoardName "Matrox Millennium"

BusID "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Matrox Millennium"
Monitor "Monitor0"
DefaultDepth 16

Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

Section "Screen"
Identifier "Screen1"
Device "Matrox Millennium-"
Monitor "Monitor1"
DefaultDepth 16

Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

Section "DRI"
Mode 0666
EndSection
----------------------

DeaconLew - Former Microsoft Bigot
r0gu3   2002-11-21 16:00
Hey Instead of trying to put the xf86config together yourself... why not let xfree86 try to do it for you.. at least to get you started :)

as root

XFree86 -configure

it writes an xf86config into your root's home dir and they you can use that as a working base :)...

if you wanna see a larger xf86config look at http://r0gu3.codices.net/?XF86Config
0ctane   2003-01-14 04:42
The problem with using the PCI Radeon 7500 seems to come from the definition of the card in XFree86. While XFree86 loads, the 7500 is listed as being AGP, there is no driver for the PCI 7500. Since only one AGP card possible, the definition diables one card or the other. Hopefully in the next XFree86 release (4.3) this will be fixed to include the PCI version of the card.
Forums -> Multiple monitors -> RedHat 8.0 with two cards

Post Reply