Link to home
Create AccountLog in
Unix OS

Unix OS

--

Questions

--

Followers

Top Experts

Avatar of gmacmaster
gmacmaster

dual head display in fedora
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

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of gheistgheist🇧🇪

did it work with nv driver ???

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

Avatar of gheistgheist🇧🇪


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

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


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

-- Glenn

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

-- Glenn

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.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of gmacmastergmacmaster

ASKER

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

ASKER CERTIFIED SOLUTION
Avatar of willy134willy134

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of gheistgheist🇧🇪

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.

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

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Unix OS

Unix OS

--

Questions

--

Followers

Top Experts

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.