LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-22-2007, 09:42 PM   #1
jsurles
Member
 
Registered: Feb 2007
Location: Katy, TX
Distribution: gentoo, slackware, centos, ESX, gnu/linux
Posts: 34

Rep: Reputation: 15
Unable to get dual monitor to work.


Hello,

This is my first real originating thread on here, so be gentle. I'm posting this in the slackware forum because everything I found is for ubuntu or just about every other system I'm not using on this machine. I've tried bits and pieces from some of these to no avail.

I'm running slack 11.0 running X 6.9.0 and an ATI and an nVidia in it. The primary card (nvidia) is AGP and the one that actually works. :P. I added in the PCI ATI and hooked up a second monitor and have gotten nothing.

I did my xorg.conf with xorgcfg which detected both cards correctly. It wrote it all to the xorg.conf file, which I'm currently using. I've seen to put Xinerama in ServerLayout and ServerFlags which is why you see it in two spots (one commented out).

I guess I'm looking for some input as far as the following:

1. Can I use an AGP and a PCI card?
2. Can I use an ATI and an nVidia?
3. Can someone tell me what the hell I'm missing?

Any advise will be appreciated..

Thanks in advance,

Jim

Code:
root@arsenic:~# cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0"
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "Xinerama"
EndSection

#Section "ServerFlags"
#       Option "Xinerama" "On"
#EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "dbe"
        Load  "dri"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

        #DisplaySize      320   240     # mm
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "PGS"
        ModelName    "Ultra 75"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 150.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
 ### Comment all HorizSync and VertSync values to use DDC:
#       HorizSync    31.5 - 48.5
#       VertRefresh  40.0 - 150.0
EndSection

Section "Device"

        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 MX 420]"
        BusID       "PCI:1:0:0"
        Screen  0
        Option "DPMS"
        Option "DDCMode" "True"
        Option "MonitorLayout" "CRT, CRT"
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "ati"
        VendorName  "ATI"
        BoardName   "3D Rage II+ 215GTB [Mach64 GTB]"
        ChipSet     "ati"
        ChipId      0x4755
        ChipRev     0x9a
        BusID       "PCI:00:0b:0"
        Screen  1
        Option "DPMS"
        Option "DDCMode" "True"
        Option "MonitorLayout" "CRT, CRT"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group        0
EndSection
 
Old 02-23-2007, 01:36 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Most of the video cards recently have dual outputs, usually a VGA and a DVI connector. You can run dual monitors with a single card that has these outputs fairly easily. I have an nVidia PCIe card, and two monitors (one running a normal desktop with 4 pages, the other running Beryl OpenGl desktop with 4 sides - kind of cool). The displays are completely independant of each other, except that I can move the focus from one screen to the other just by sliding the mouse.


I currently run Mandriva 2007, but Xorg is Xorg in all distros (paths may be different).
Here's my Xorg.conf:

# File generated by XFdrake (rev 62599)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"

# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
#Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "monitor0"
VendorName "Plug'n Play"
ModelName "Acer AL1916W"
HorizSync 30-82
VertRefresh 56-76

# Monitor preferred modeline (59.9 Hz vsync, 55.9 kHz hsync, ratio 16/10)
ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934 +hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1440x900_120" 229.75 1440 1552 1712 1984 900 901 904 965 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1440x900_100" 187.55 1440 1544 1704 1968 900 901 904 953 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1440x900_85" 156.79 1440 1536 1696 1952 900 901 904 945 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1440x900_75" 136.49 1440 1536 1688 1936 900 901 904 940 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1440x900_60" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1440x900_50" 87.41 1440 1512 1664 1888 900 901 904 926 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1280x800_120" 181.21 1280 1376 1520 1760 800 801 804 858 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1280x800_100" 147.89 1280 1376 1512 1744 800 801 804 848 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1280x800_85" 123.38 1280 1368 1504 1728 800 801 804 840 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1280x800_75" 107.21 1280 1360 1496 1712 800 801 804 835 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1280x800_60" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1280x800_50" 68.56 1280 1336 1472 1664 800 801 804 824 -HSync +Vsync
EndSection

Section "monitor"
Identifier "monitor1"
VendorName "Viewsonic"
ModelName "P810"
HorizSync 30-95
VertRefresh 50-160
EndSection

Section "Device"
Identifier "device0"
BoardName "NVIDIA GeForce 7 Series"
Driver "nvidia"
Option "DPMS"
Option "RenderAccel" "True"
Option "DisableGLXRootClipping" "true"
Option "BackStoring" "True"
Busid "PCI:01:00:0"
screen 0
EndSection

Section "Device"
Identifier "device1"
BoardName "NVIDIA GeForce 7 Series"
Driver "nvidia"
Busid "PCI:01:00:0"
Option "DPMS"
Option "RenderAccel" "True"
Option "DisableGLXRootClipping" "true"
Option "BackStoring" "True"
screen 1
EndSection

Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultColorDepth 24
Option "AddARGBGLXVisuals" "True"

Subsection "Display"
Depth 8
Modes "1440x900" "1280x800"
EndSubsection

Subsection "Display"
Depth 15
Modes "1440x900" "1280x800"
EndSubsection

Subsection "Display"
Depth 16
Modes "1440x900" "1280x800"
EndSubsection

Subsection "Display"
Depth 24
Modes "1440x900" "1280x800"
EndSubsection
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Option "AddARGBGLXVisuals" "True"

Subsection "Display"
Depth 8
Modes "1280x1024"
EndSubsection

Subsection "Display"
Depth 15
Modes "1280x1024"
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x1024"
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen 0 "screen0" 0 0
Screen 1 "screen1" rightof "screen0"
EndSection

As to dual video cards, I have done it before, but it has been a while. I once had 4 monitors running off of 2 PCI video cards with dual outputs each (several years ago when I was employed and had lots of toys).
 
Old 02-24-2007, 11:42 AM   #3
jsurles
Member
 
Registered: Feb 2007
Location: Katy, TX
Distribution: gentoo, slackware, centos, ESX, gnu/linux
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for the input, however this doesn't really help me as I am trying to use 2 separate cards to accomplish this. Is there anyone else who may be able to shed some light?
 
Old 02-24-2007, 12:06 PM   #4
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Actually, all the information you need is there. If you look, there are two Device sections. In mine, they both use the same Driver, and both point to the same BusID. You should be able to get yours to work by changing the BusID and Driver as needed. Everything else should just work (Monitor settings may need to be changed too of course).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 does not seem to work with compaq armada m700 (fc4) taylorchase Linux - Hardware 0 03-21-2006 05:55 PM
Issue trying to dual monitor with Dell 2005FPW LCD monitor damg Linux - Hardware 2 12-05-2005 10:13 AM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM
Unable to start XFree86 server on new dual monitor system gothgeek84 Linux - Hardware 1 02-21-2004 07:35 PM
Need help trying to get dual monitor to work please l2ich84 Linux - Newbie 9 02-10-2004 10:56 AM

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

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