LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-21-2006, 02:42 PM   #1
woms14
LQ Newbie
 
Registered: Sep 2006
Posts: 29

Rep: Reputation: 15
Dual Monitors Dual Video Cards


Hi,

I'm running fedora/redhat right now, I have 2 video cards,
an onboard via/s3g unichrome igp, and a nvidia geforce tnt2 riva pci card. The via onboard is default and picked up by the computer, how do I install the second video card to get dual display?
 
Old 09-21-2006, 03:24 PM   #2
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
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 09-21-2006, 03:28 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by woms14
Hi,

I'm running fedora/redhat right now, I have 2 video cards,
an onboard via/s3g unichrome igp, and a nvidia geforce tnt2 riva pci card. The via onboard is default and picked up by the computer, how do I install the second video card to get dual display?
You need to modify you X configuration file to have two sections for the driver, monitor and screen sections like my file below.

Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/local/share/fonts/truetype"
        FontPath        "/usr/share/fonts/truetype"
        FontPath        "/var/lib/deforma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/share/fonts/X11/misc"
#       FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
        Load    "xtrap"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
#       Option          "Buttons"               "9"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "3"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
        Option      "DPI" "100x100"
#       Option      "IgnoreEDID"  "on"
        Option      "IgnoreDisplayDevices"  "TV"
#       Option      "NoBandWidthTest" "1"
#       Option      "AllowGLXWithComposite" "true"
        Screen       0
        VendorName  "PNY"
        BoardName   "Verto 5900SE NV35 [GeForce FX 5900SE]"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card1"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "3"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
        Option      "DPI" "100x100"
#       Option      "IgnoreEDID" "on"
#       Option      "NoBandWidthTest" "1"
#       Option      "AllowGLXWithComposite" "true"
        Screen      1
        Option      "IgnoreDisplayDevices"  "TV"
        VendorName  "PNY"
        BoardName   "Verto 5900SE NV35 [GeForce FX 5900SE]"
        BusID       "PCI:1:0:0"
EndSection


# NEC P1250 +
Section "Monitor"
       DisplaySize      384   288     # mm
       Identifier   "Monitor0"
       VendorName   "NEC"
       ModelName    "P1250 +"
       HorizSync    31-110 # DDC-probed
       VertRefresh  55-160 # DDC-probed
       Option       "DPMS"  "true"
       Option       "BackingStore" "On"
EndSection

# Samsung 955DF
Section "Monitor"
        DisplaySize       360   270     # mm
        Identifier   "Monitor1"
        VendorName   "OEC"
        ModelName    "15db"
        HorizSync   30-85    #30-69
        VertRefresh 50-160   #40-120
        Option      "DPMS"
        Option      "BackingStore" "On"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth  24
        SubSection "Display"
                Depth     24
                Modes     "1600x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth 24
        SubSection "Display"
                Depth     24
                Modes     "1280x1024" "800x600"
        EndSubSection
EndSection



Section "ServerLayout"
        Identifier      "DualHead"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

You need to get the BusID "PCI:1:0:0" sections for your cards using either lspci -X or looking into the /var/log/Xorg.0.log (XFree86.0.log if using Xfree) for lines like this.

Code:
(--) PCI:*(1:0:0) nVidia Corporation NV35 [GeForce FX 5900XT] rev 161, Mem @ 0xf8000000/24, 0xf0000000/27
Use my file for a template when altering yours and if you cannot figure it out post the log file mentioned and your current X config file details about the monitors would be nice as well. BTW you should only post a question once it is consider rude to do otherwise.
 
Old 09-21-2006, 06:54 PM   #4
YellowPlague
LQ Newbie
 
Registered: Sep 2006
Distribution: ubuntu (kubuntu)
Posts: 10

Rep: Reputation: 0
I'm having a similar problem

I've gone through and done this. Yet still having a similar problem, can you see anything wrong with my setup?

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
# Load "freetype"
Load "dbe"
# Load "v4l"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Video0"
Driver "nvidia"
BusID "PCI:5:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Video1"
Driver "nvidia"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
HorizSync 30-97
VertRefresh 50-180
EndSection

Section "Monitor"
Identifier "Monitor1"
Option "DPMS"
HorizSync 30-97
VertRefresh 50-180
EndSection

Section "Screen"
Identifier "Screen0"
Device "Video0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Video1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "ServerFlags"
Option "Xinerama"
Endsection



My video card is a dual head 6600GT and I have Identical Viewsonic G90fb monitors.
So the Monitor0 and Monitor1 sections are an exact copy of my working xorg.conf file which is only setup for one monitor.

It gets stuck when I tell it to restart the X-server (from the menu at the login screen) at the Kubuntu splash screen with no bar progress (which I don't think it should be showing) although the secondary monitor shows this same screen with messed up colors.

So I ctrl-alt-F1 it to a tty session and kill -9 the kdm. Then I copy my original xorg.conf back and do a kdm start command. (If I don't kill -9 it, I can't use restart. And plain old kill just takes me back to the stuck screen.) One I get back into my desktop, firefox loads and says the last session crashed, so I think it's actually running, just not updating video?

Any help will be appreciated.

--YellowPlague
 
Old 09-21-2006, 07:26 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by YellowPlague
I've gone through and done this. Yet still having a similar problem, can you see anything wrong with my setup?
Try the file below it is for two separate screens not Xinerama if this works then remove the Load "xtrap" from the Module section and re-enable the Xinerama at the bottom. Oh and I changed the upperVertRefresh rate on the monitor according to this page on the Viewsonic site it only does 50-160.

Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
#	Load	"freetype"
	Load	"dbe"
#	Load	"v4l"
	Load	"vbe"
        Load       "xtrap"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Video0"
	Driver		"nvidia"
	BusID		"PCI:5:0:0"
	Screen		0
EndSection

Section "Device"
	Identifier	"Video1"
	Driver		"nvidia"
	BusID		"PCI:5:0:0"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	Option		"DPMS"
	HorizSync	30-97
	VertRefresh	50-160
EndSection

Section "Monitor"
	Identifier	"Monitor1"
	Option		"DPMS"
	HorizSync	30-97
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Video0"
	Monitor		"Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"Video1"
	Monitor		"Monitor1"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen 0	"Screen0" 0 0
	Screen 1	"Screen1" RightOf "Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

#Section "ServerFlags"
#	Option "Xinerama"
#Endsection
Quote:
My video card is a dual head 6600GT and I have Identical Viewsonic G90fb monitors.
So the Monitor0 and Monitor1 sections are an exact copy of my working xorg.conf file which is only setup for one monitor.

It gets stuck when I tell it to restart the X-server (from the menu at the login screen) at the Kubuntu splash screen with no bar progress (which I don't think it should be showing) although the secondary monitor shows this same screen with messed up colors.

So I ctrl-alt-F1 it to a tty session and kill -9 the kdm. Then I copy my original xorg.conf back and do a kdm start command. (If I don't kill -9 it, I can't use restart. And plain old kill just takes me back to the stuck screen.) One I get back into my desktop, firefox loads and says the last session crashed, so I think it's actually running, just not updating video?

Any help will be appreciated.

--YellowPlague
You may want to post the /var/log/Xorg.0.log file in another thread you start then link to it in this one so we don't end up hijacking this thread copy the log to a backup before restarting X.
 
Old 09-21-2006, 08:07 PM   #6
YellowPlague
LQ Newbie
 
Registered: Sep 2006
Distribution: ubuntu (kubuntu)
Posts: 10

Rep: Reputation: 0
Still not working...

Still giving me the same problem.

What does xtrap do?

Thanks for the help. It's greatly appreciated.
 
Old 09-21-2006, 08:13 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by YellowPlague
Still giving me the same problem.

What does xtrap do?

Thanks for the help. It's greatly appreciated.
It allows you to move the mouse between the two screens you should start new thread for your problem with the log file posted in it then link here.
 
Old 09-21-2006, 08:15 PM   #8
YellowPlague
LQ Newbie
 
Registered: Sep 2006
Distribution: ubuntu (kubuntu)
Posts: 10

Rep: Reputation: 0
New thread posted...

Sorry, just realized I was in the wrong section when you told me that...

I posted a new thread, and the Xorg.0.log is posted there...

http://www.linuxquestions.org/questi...65#post2432765

Thanks and sorry.
 
  


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 Monitors Dual Video Cards woms14 Linux - Hardware 2 09-22-2006 12:18 AM
Dual monitors with 2 video cards dannyk1 Linux - Hardware 3 08-30-2005 05:01 AM
dual monitors, dual video cards, 1 X, 1 text 333333338 Linux - Hardware 0 04-17-2005 04:21 AM
Dual monitors/video cards??? erikcw Linux - General 16 05-04-2004 11:12 PM
Dual Video Cards? 3 Monitors? Dimitri Linux - Hardware 5 01-23-2004 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:43 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