LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2004, 02:56 AM   #1
Sheriff
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
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!
 
Old 01-11-2004, 10:46 AM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
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!

Last edited by Zero-0-Effect; 01-11-2004 at 11:01 AM.
 
Old 01-11-2004, 02:55 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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. 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
 
Old 01-11-2004, 03:11 PM   #4
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual monitor problems babag Mandriva 1 10-10-2005 01:27 AM
Dual Monitor problems with XFree86 aegbert SUSE / openSUSE 0 10-03-2005 11:33 AM
Dual Monitor problems CypherBeginner Red Hat 2 08-23-2005 10:14 AM
Problems with Dual Monitor SoSlack Linux - Hardware 6 04-29-2005 12:03 PM
dual monitor problems SlackDude Slackware 6 11-11-2004 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration