LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-27-2005, 10:00 AM   #1
dburlone
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
dual monitor


I can't seem to get ubuntu to correctly recognize the the two graphics devices which I'd like to use to get dual monitors working.

my primary graphics device is a savage video card, and for my secondary card I am trying to use the integrated onboard graphics controller (intel 810e). Upon boot-up I get an error message refering to the Intel graphics device.

My XF86Config-4 File is a bit messy, but here it is in its entirety:

# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "v4l"
Load "vbe"
Load "xtt"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

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

Section "Device"
Identifier "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Driver "i810"
#Driver "i810"
#BusID "PCI:0:1:0"
Screen 1
EndSection

Section "Device"
Identifier "S3 Savage 4"
Driver "savage"
Screen 0
EndSection

Section "Monitor"
Identifier "DELL E770s"
HorizSync 30-70
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Viewsonic"
HorizSync 30-70
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
# Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Device "S3 Savage 4"
Monitor "DELL E770s"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Secondary Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Viewsonic"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

#Section "ServerFlags"
# Option "Xinerama" "True"
#EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen"
Screen 1 "Secondary Screen" RightOf "Default Screen"
Option "Xinerama" "True"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

any input is appriciated, thanks!
 
Old 03-27-2005, 11:34 AM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
I'm not sure of your motherboard specs, but I know a good portion of mothers disable the onboard video device when a video card is found in the the system. I suggest trying a second video card and leaving the crappy on-board video disabled.
 
Old 03-27-2005, 02:27 PM   #3
dburlone
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
well I know that the onboard is not disabled, it works in windows. I would just use two graphics cards, but the computer seems to choke since they would both be PCI (I have no AGP slot).
 
Old 03-29-2005, 11:55 AM   #4
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
For what it's worth here's the relevant bits of a working dual monitor XF86Config-4. There was some trial and error as you can see.
I would start with one screen and one monitor and get it working. Live distros can be helpful. Just boot a live cd of your choice and make a copy of that XF86Config. After you have one working, do the same with the other and copy the second XF86Config. Now you have the specs for each one monitor. For a dual screen XF86Config you have to name each monitor and each vid card at their respective 'Identifier' line. In each Screen section you must associate the right video card with the right monitor, then you will have defined two screens from there you should be able to figure out the Server Layout section.
Dual screens are the way to go.
Code:
 cat /etc/X11/XF86Config-4
#As a note:  this is a working XF86Config-4 for xinerama with two monitors
#a samsung 955df on the left and an old gateway vx900 (a rebadged something)
#Vid cards are an older ati and an nvidia fx5200 ( a piece of crap but had 
#what I needed for the right price).  The nvidia has twinview output with the mo
#monitor and an s-video out which can be played out to the tv and placing the 
#picture quality bottleneck back on the the compression format instead of the 
#video card itself.  
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Option          "Xinerama" "true"
        Screen          "Screen0" 
        Screen          "Screen1" RightOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Configured Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
        Option "Xinerama" "true"
EndSection
Code:
Section "Module"
        Load  "ddc"  # ddc probing of monitor
#       Load  "GLcore"
        Load  "dbe"
 #      Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
        Load  "speedo"
        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection
Code:
Section "Monitor"
        Identifier      "Monitor0"
        Option  "DPMS"  "true"
        VendorName      "SAM"
        ModelName       "SAM413b"
        HorizSync 30 - 85 # DDC-probed
        VertRefresh 50 - 160 # DDC-probed
        # These are the DDC-probed settings reported by your monitor.
        # 1600x1200, 65.0Hz; hfreq=81.25, vfreq=65.00
        ModeLine "1600x1200"    175.50 1600 1664 1856 2160 1200 1201 1204 1250 +
hsync +vsync
        # 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
        ModeLine "1280x1024"    135.00 1280 1296 1440 1688 1024 1025 1028 1066 +
hsync +vsync
        # 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
        ModeLine "1280x1024"    135.00 1280 1296 1440 1688 1024 1025 1028 1066 +
hsync +vsync
        # 1024x768, 85.0Hz; hfreq=68.68, vfreq=85.00
        ModeLine "1024x768"      94.50 1024 1072 1168 1376  768  769  772  808 +
hsync +vsync
        # 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
        ModeLine "1024x768"      78.75 1024 1040 1136 1312  768  769  772  800 +
hsync +vsync
        # 1024x768, 70.0Hz; hfreq=56.48, vfreq=70.07
        ModeLine "1024x768"      75.00 1024 1048 1184 1328  768  771  777  806 -
hsync -vsync
        # 1024x768, 60.0Hz; hfreq=48.36, vfreq=60.00
        ModeLine "1024x768"      65.00 1024 1048 1184 1344  768  771  777  806 - 
End Section
Code:
#Monitor 1
Section "Monitor"
        Identifier      "Monitor1"
        Option  "DPMS"  "true"
        VendorName      "GWY"
        ModelName       "GWY0013"
        HorizSync 30 - 95 # DDC-probed
        VertRefresh 50 - 160 # DDC-probed
        # These are the DDC-probed settings reported by your monitor.
        # 1600x1200, 75.0Hz; hfreq=93.75, vfreq=75.00
        ModeLine "1600x1200"    202.50 1600 1664 1856 2160 1200 1201 1204 1250 +
hsync +vsync
        # 1280x1024, 85.0Hz; hfreq=91.15, vfreq=85.02
        ModeLine "1280x1024"    157.50 1280 1344 1504 1728 1024 1025 1028 1072 +
hsync +vsync
        # 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
        ModeLine "1280x1024"    135.00 1280 1296 1440 1688 1024 1025 1028 1066 +
hsync +vsync
        # 1024x768, 85.0Hz; hfreq=68.68, vfreq=85.00
        ModeLine "1024x768"      94.50 1024 1072 1168 1376  768  769  772  808 +
hsync +vsync
        # 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
        ModeLine "1024x768"      78.75 1024 1040 1136 1312  768  769  772  800 +
hsync +vsync
        # 1024x768, 70.0Hz; hfreq=56.48, vfreq=70.07
        ModeLine "1024x768"      75.00 1024 1048 1184 1328  768  771  777  806 -
End Section
Code:
Section "Device"
        ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
        Driver      "nvidia"
        #added for tvOut
        #black and white functional
        #added following two lines
        #Option "NoInt10" #added when clone didn't work. taken back out going wi
th earlier drivers EE
        Option "NvAGP" "3"  #changed from commented out
        #Option "IgnoreEDID" "1"
        #Boot didn't like'em
        Option "DPMS" "on"  #added on 230804
        Option "TwinView" "True"
        Option "SecondMonitorHorizSync"     "30-50"
        Option "SecondMonitorVertRefresh"   "60"
        Option "TwinViewOrientation" "Clone"
        Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"
        #Option "MetaModes" "1024x768,800x600"
        Option "TVStandard" "NTSC-M"
        Option "TVOutFormat" "SVIDEO" 
        #Option "ConnectedMonitor" "CRT,TV"
        #above was changed to SVIDEO from COMPOSITE 050804
        VendorName  "All"
        BoardName   "All"
        BusID       "PCI:2:0:0"
EndSection

#ati Card1
Section "Device"
        ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card1"
# The following line is auto-generated by KNOPPIX mkxf86config
        Driver      "ati"
        VendorName  "All"
        BoardName   "All"
        BusID       "PCI:1:9:0"
End Section
Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24

        SubSection "Display"
                Depth     1
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Code:
#Screen1
Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     1
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" 
"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" 
"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" 
"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" 
"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes  "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" 
"800x600" "640x480"
        EndSubSection
EndSection


Section "DRI"
        Mode 0666
EndSection
 
Old 03-29-2005, 11:58 AM   #5
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
I forgot one pitfall.

You must have the proper Bus ID for each video card.
lspci can be helpful for this.

Hope this helps
 
  


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
default monitor on nvidia / dual monitor setup fenderog SUSE / openSUSE 3 05-01-2009 05:36 PM
q: enlightenment dual monitor: one Desktop for each monitor ? steefje Linux - Software 2 02-07-2005 07:27 AM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM
RH 7.3, dual monitor, dual screensaver configuration a-wolfe Linux - Software 0 11-18-2003 09:05 AM
Dual Monitor, Can It Be Done? bripage Linux - Hardware 14 01-12-2003 02:10 PM

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

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