LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Dual Monitors Dual Video Cards (https://www.linuxquestions.org/questions/fedora-35/dual-monitors-dual-video-cards-485739/)

woms14 09-21-2006 02:42 PM

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?

acid_kewpie 09-21-2006 03:24 PM

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.

HappyTux 09-21-2006 03:28 PM

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.

YellowPlague 09-21-2006 06:54 PM

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

HappyTux 09-21-2006 07:26 PM

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.

YellowPlague 09-21-2006 08:07 PM

Still not working...
 
Still giving me the same problem.

What does xtrap do?

Thanks for the help. It's greatly appreciated.

HappyTux 09-21-2006 08:13 PM

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.

YellowPlague 09-21-2006 08:15 PM

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.


All times are GMT -5. The time now is 05:44 AM.