Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFree86 -scanpci not able to detect second graphic card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Tue Jan 21, 2003 7:54 am    Post subject: XFree86 -scanpci not able to detect second graphic card Reply with quote

hi there,

well, in fact running 'XFree86 -scanpci' does not create any output..

I have two graphic cards installed: one Matrox Millenium G400 over agp and another S3 Virge over pci. I am running X perfectly on the matrox.

But I wanted multimonitor support, so I read this:
http://www.tldp.org/HOWTO/Xinerama-HOWTO/

to manually configure the second card, it says to run 'XFree86 -scanpci' and go on according to the output. but there is none...

any ideas?

regards
/christian
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Tue Jan 21, 2003 8:05 am    Post subject: Reply with quote

try this:
Code:
XFree86 -scanpci -verbose
Back to top
View user's profile Send private message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Tue Jan 21, 2003 4:11 pm    Post subject: Reply with quote

thanls! that helped.
but now I'm in front of some new problems.

I edited my XF86Config as stated at the bottom of this post.
when I start X with this configuration, the secondary monitor (ATI Mach64/15er) initializes, then the X server collapses.
leaving the secondary monitor on displaying the name of the gfx card (ATI264...).
Following error message occurs:

<snap>
(WW) VGA: No matching device section for instance (BusID: PCI:1:0:0) found

Fatal Error:
AddScreen/ScreenInit failed for driver 1
</snap>

this makes me wonder, since the agp card (1:0:0) alone works very well.

regards
/christian


// XF86Config.multi
<snap>
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
# This loads the GLX module
# Load "glx"
EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
Option "Xinerama" "true"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "de"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
Identifier "Logitech iFeel MouseMan optical"
Driver "mouse"
Option "Protocol" "imps/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "ChordMiddle"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
Identifier "VideoSeven N110"
HorizSync 75-110
VertRefresh 40-150
EndSection

Section "Monitor"
Identifier "15er"
HorizSync 75
VertRefresh 50-80
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
Identifier "ATI Mach64"
Driver "vga"
BusID "PCI:0:14:0"
EndSection

Section "Device"
Identifier "Matrox Millennium G400"
Driver "mga"
VideoRam 16384
# BusID "PCI:1:0:0"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
Identifier "Screen 1"
Device "Matrox Millennium G400"
Monitor "VideoSeven N110"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "640x480" "800x600" "1024x768"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 2"
Device "ATI Mach64"
Monitor "15er"
DefaultDepth 16

Subsection "Display"
Depth 16
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
Screen "Screen 2" RightOf "Screen 1"
InputDevice "Logitech iFeel MouseMan optical" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

</snap>
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Wed Jan 22, 2003 12:40 am    Post subject: Reply with quote

I am not sure, but I think you should un-comment the line that says:
# BusID "PCI:1:0:0"
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Thu Jan 23, 2003 6:22 am    Post subject: Reply with quote

I just saw, that somehow the line with the agp bus id is commented out.
that's a mistake I made in the post but not within my config file.
(it doesn't work either)

this id is taken from 'X -sf86config -verbose' 's output. so it should be right.

regards
/christian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum