We help IT Professionals succeed at work.

dual head display in fedora

gmacmaster
gmacmaster asked
on
26,272 Views
Last Modified: 2013-12-27
I have Fedora Core 1 installed and I have a Nvidia 5200 V-card that supports dual head configs.  I have install the latest drivers from Nvidia running them the cli as instructed. After reboot the Nvidia splash screen comes up. I enable dual-head in system-settings ==> displays but after a reboot one one monitor works... below is my Xfree86 config file:

# XFree86 4 configuration created by redhat-config-xfree86
 
Section "ServerLayout"
        Identifier     "Multihead layout"
        Screen      0  "Screen0" LeftOf "Screen1"
        Screen      1  "Screen1" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option      "Xinerama" "off"
        Option      "Clone" "on"
EndSection
 
Section "Files"
 
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection
 
Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
#       Load  "dri"
EndSection
 
Section "InputDevice"
 
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection
 
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection
 
Section "InputDevice"
 
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection
 
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Sony CPD-420GS/GST/19GS2"
        DisplaySize  370        270
        HorizSync    30.0 - 96.0
        VertRefresh  48.0 - 120.0
        Option      "dpms"
EndSection
 
Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Sony CPD-420GS/GST/19GS2"
        HorizSync    30.0 - 96.0
        VertRefresh  48.0 - 120.0
        Option      "dpms"
EndSection
 
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
EndSection
 
Section "Device"
        Identifier  "Videocard1"
        Driver      "nv"
        VendorName  "Videocard Vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
        BusID       "PCI:1:0:0"
EndSection
 
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Sony CPD-420GS/GST/19GS2"
        DisplaySize  370        270
        HorizSync    30.0 - 96.0
        VertRefresh  48.0 - 120.0
        Option      "dpms"
EndSection
 
Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Sony CPD-420GS/GST/19GS2"
        HorizSync    30.0 - 96.0
        VertRefresh  48.0 - 120.0
        Option      "dpms"
EndSection
 
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
EndSection
 
Section "Device"
        Identifier  "Videocard1"
        Driver      "nv"
        VendorName  "Videocard Vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
        BusID       "PCI:1:0:0"
EndSection
 
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
 
Section "Screen"
        Identifier "Screen1"
        Device     "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768"
        EndSubSection
EndSection


Any help would be a help. thanks.
gmac
Comment
Watch Question

Top Expert 2015

Commented:
did it work with nv driver ???
Gns

Commented:
Um hopefully the file actually don't look like that... It has multiple sections with the same Identifier strings... Or is that just cut-n-paste mania?

-- Glenn
Top Expert 2015

Commented:

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
EndSection
 
Section "Device"
        Identifier  "Videocard1"
        Driver      "nv"
        VendorName  "Videocard Vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
        BusID       "PCI:1:0:0"
EndSection
Gns

Commented:
Yes, and Screen0 and Monitor0 too. Could be very confusing when one starts to edit the file...:).

-- Glenn
Gns

Commented:
Sorry, Monitor1, not Monitor0.
The use of two drivers probably don't help either.

-- Glenn

Commented:
you haven't enable nvidia twinview

look in your
/usr/share/doc/NVIDIA...../XF86Config.example file
It has a dual monitor set up inside of it.

Author

Commented:
OKay Willy I read that example and worked on enabling twinview. I get a blinking color screen on my second monitor when running X, but at the CLI its a mirror of my first monitor  now I have this in XFree86:


# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"

      Identifier     "Multihead"
      Screen        "Screen0" LeftOf "Screen1"
      Screen        "Screen1" 0 0
      InputDevice    "Mouse0" "CorePointer"
      InputDevice    "Keyboard0" "CoreKeyboard"
#      Option          "Xinerama" "on"
#      Option          "Clone" "off"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
      RgbPath      "/usr/X11R6/lib/X11/rgb"
      FontPath     "unix/:7100"
EndSection

Section "Module"
      Load  "dbe"
      Load  "extmod"
      Load  "fbdevhw"
      Load  "glx"
      Load  "record"
      Load  "freetype"
      Load  "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#      Option      "Xleds"            "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#      Option      "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#      Option      "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#      Option      "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#      Option      "XkbLayout"      "de"
# or:
#      Option      "XkbLayout"      "de"
#      Option      "XkbVariant"      "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#      Option      "XkbOptions"      "ctrl:swapcaps"
# Or if you just want both to be control, use:
#      Option      "XkbOptions"      "ctrl:nocaps"
#
      Identifier  "Keyboard0"
      Driver      "keyboard"
      Option          "XkbRules" "xfree86"
      Option          "XkbModel" "pc105"
      Option          "XkbLayout" "us"
EndSection

Section "InputDevice"
      Identifier  "Mouse0"
      Driver      "mouse"
      Option          "Protocol" "IMPS/2"
      Option          "Device" "/dev/input/mice"
      Option          "ZAxisMapping" "4 5"
      Option          "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
      Identifier  "DevInputMice"
      Driver      "mouse"
      Option          "Protocol" "IMPS/2"
      Option          "Device" "/dev/input/mice"
      Option          "ZAxisMapping" "4 5"
      Option          "Emulate3Buttons" "no"
EndSection

Section "Monitor"
      Identifier   "Monitor0"
      VendorName   "Monitor Vendor"
      ModelName    "Sony CPD-420GS/GST/19GS2"
      DisplaySize  370      270
      HorizSync    30.0 - 96.0
      VertRefresh  48.0 - 120.0
      Option          "dpms"
EndSection

Section "Monitor"
      Identifier   "Monitor1"
      VendorName   "Monitor Vendor"
      ModelName    "Sony CPD-420GS/GST/19GS2"
      HorizSync    30.0 - 96.0
      VertRefresh  48.0 - 120.0
      Option          "dpms"
EndSection

Section "Device"
      Identifier  "Videocard0"
      Driver      "nv"
      VendorName  "Videocard vendor"
      BoardName   "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
      Identifier "Screen0"
      Device     "Videocard0"
      Monitor    "Monitor0"
      DefaultDepth     16
      SubSection "Display"
            Depth     16
            Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
      EndSubSection
EndSection

Section "Screen"
      Identifier "Screen1"
      Device     "Videocard0"
      Monitor    "Monitor1"
      DefaultDepth     16
      SubSection "Display"
            Depth     16
            Modes    "1280x1024" "1280x960" "1152x864" "800x600"
      EndSubSection
EndSection

Again, thanks for all your help.

gmac
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2015

Commented:
Normally you configure same driver and same BusID twice, and read "nvidia" driver README file, just like I did, to find that TwinView is a bit better than that.

Author

Commented:
Thanks for all your help, this is the winning config.

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"         BoardName   "NVIDIA GeForce FX (generic)"
        Option      "nvidia"
        Option      "DPMS"
        Option      "TwinView" "on"
        Option      "SecondMonitorHorizSync" "30-96"
        Option      "SecondMonitorVertRefresh" "48-120"
        Option      "TwinViewOrientation" "RightOf"
        Option      "MetaModes" "1024x768, 1024x768"
        Option      "ConnectedMonitor" "crt,crt"
                                                                               
EndSection

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.