LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual Monitor Problems (https://www.linuxquestions.org/questions/linux-newbie-8/dual-monitor-problems-133592/)

Sheriff 01-11-2004 02:56 AM

Dual Monitor Problems
 
Distribution: Slackware LInux 9.1, 2.4.24.
Display Device: Nvidia Geforce 4 Ti4800 SE 128mb

Problem: No Screen(s) Found when starting X when trying to setup Dual Monitors

XF86Config File
Quote:

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

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Monitor0"

# 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.5 - 64.3

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# 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 40-150

EndSection

Section "Monitor"

Identifier "Monitor1"

# 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 30.0 - 62.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# 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 - 90.0

EndSection


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

# Any number of graphics device sections may be present

# Standard VGA Device:

#Section "Device"
#Identifier "Standard VGA"
#VendorName "Unknown"
#BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

#Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "nvidia0"
Driver "nvidia"
# Edit the BusID with the location of your graphics card
#BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
Identifier "nvidia1"
Driver "nvidia"
# Edit the BusID with the location of your graphics card
#BusId "PCI:2:0:0"
Screen 1
EndSection


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

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "Monitor1"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

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

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen 0 "Screen0"
Screen 1 "Screen1" leftOf "Screen0"
Any suggestions, help is appreciated! :)

Zero-0-Effect 01-11-2004 10:46 AM

Wthout looking at anything else I found a error under your graphics device section:
You have End Section left uncommented out.

Code:

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "nvidia0"
Driver "nvidia"

You did not start a section but are tring to end one!
This could be causeing X not to read the rest of the config file.
Remove or comment out this line and try again.


*Edit*
When using more than one graphics device YOU MUST specify BUSID with each card, otherwise X does not know which goes to which and will not start.
Taken from Xf86Config man page:
Quote:

This information can usually be found by running the X server with the -scanpci command line option.
PCI:1:0:0 refers to a agp card while PCI:0:1:0 refers to a pci card. - replace the 1 with correct values.

Everything else looks good and "should" work!

acid_kewpie 01-11-2004 02:55 PM

Quote:

When using more than one graphics device YOU MUST specify BUSID with each card, otherwise X does not know which goes to which and will not start.
Despite the capital letters, that's not true. If you have two seperate graphics, using different chipsets then each driver will only attach to one card... that's what it does with any other card. it will look for a pci card that identifies itself to be using the correct chipset, otherwise X would attempt to load your modem or whatever as a grpahics device. :D i used to have a dual head with a sis 6326 and a gf2 400mx, without bus ID's and they worked fine, indeed i would hopefully expect two identical cards to be reliably picked up by a first come first served basis in terms of card numbering. but i've not tested that...

The problem that *I* see is that you are using a dual head Geforce card, as am i right now. And you have not defined which internal screen you wish to use. my config says this:
Code:

Section "Device"
    Identifier "nvidia0"
    Driver "nvidia"
    BusID "PCI:2:0:0"
    Screen 0
EndSection

Section "Device"
    Identifier "nvidia1"
    Driver "nvidia"
    BusID "PCI:2:0:0"
    Screen 1
EndSection

hth

Zero-0-Effect 01-11-2004 03:11 PM

Thanks for correcting me acid, from what I read in the manual for the cofig file that was what I was lead on to believe. But in practice on my system with a ati tuner card and a sis graphics card I had to specify busid for it to work.


All times are GMT -5. The time now is 10:19 AM.